瀏覽代碼

Merge remote-tracking branch 'origin/master' into mssw

sunjian 1 年之前
父節點
當前提交
4e8af25557
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      msss-gis/src/main/resources/mapper/custom/CustomDisplayMapper.xml

+ 9 - 0
msss-gis/src/main/resources/mapper/custom/CustomDisplayMapper.xml

@@ -2427,6 +2427,9 @@
         <if test="dto.type != null and dto.type.trim() != ''">
             AND c.TYPE = #{dto.type}
         </if>
+        <if test="dto.deviceType != null and dto.deviceType.trim() != ''">
+            AND c.device_type = #{dto.deviceType}
+        </if>
         <if test="dto.deviceId != null and dto.deviceId.size()>0 ">
             AND c.id in
             <foreach collection="dto.deviceId" item="index" open="(" close=")" separator=",">
@@ -2525,6 +2528,9 @@
         <if test="dto.type != null and dto.type.trim() != ''">
             AND c.TYPE = #{dto.type}
         </if>
+        <if test="dto.deviceType != null and dto.deviceType.trim() != ''">
+            AND c.device_type = #{dto.deviceType}
+        </if>
         <if test="dto.deviceId != null and dto.deviceId.size()>0 ">
             AND c.id in
             <foreach collection="dto.deviceId" item="index" open="(" close=")" separator=",">
@@ -2622,6 +2628,9 @@
         <if test="dto.type != null and dto.type.trim() != ''">
             AND c.TYPE = #{dto.type}
         </if>
+        <if test="dto.deviceType != null and dto.deviceType.trim() != ''">
+            AND c.device_type = #{dto.deviceType}
+        </if>
         <if test="dto.deviceId != null and dto.deviceId.size()>0 ">
             AND c.id in
             <foreach collection="dto.deviceId" item="index" open="(" close=")" separator=",">