Browse Source

巡检计划添加路线名称查询条件

lipenghui 1 month ago
parent
commit
999ef498b9

+ 3 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/resources/mapper/static/IotInspectRouteMapper.xml

@@ -22,6 +22,9 @@
         <if test="reqVO.deviceCode!=null and reqVO.deviceCode!=''">
         <if test="reqVO.deviceCode!=null and reqVO.deviceCode!=''">
             and fin.device_code LIKE CONCAT('%',#{reqVO.deviceCode},'%')
             and fin.device_code LIKE CONCAT('%',#{reqVO.deviceCode},'%')
         </if>
         </if>
+        <if test="reqVO.routeName!=null and reqVO.routeName!=''">
+            and fin.route_name LIKE CONCAT('%',#{reqVO.routeName},'%')
+        </if>
         </where>
         </where>
     </select>
     </select>
 </mapper>
 </mapper>