瀏覽代碼

request.tenantId和request.deptIdList

tags/V1.3.3^2
suqin 11 月之前
父節點
當前提交
afa422cc6a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/IotEquipmentMapper.xml

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/resources/mapper/IotEquipmentMapper.xml 查看文件

@@ -59,8 +59,8 @@
<if test="request.tenantId != null and request.tenantId != ''"> and tenant_id = #{request.tenantId} </if>
<if test="request.deptIdList != null and request.deptIdList.size() > 0">
and dept_id in
<foreach item="deptId" collection="deptIdList" open="(" separator="," close=")">
#{request.deptId}
<foreach item="deptId" collection="request.deptIdList" open="(" separator="," close=")">
#{deptId}
</foreach>
</if>
</where>

Loading…
取消
儲存