소스 검색

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

lipenghui 1 개월 전
부모
커밋
999ef498b9
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      yudao-module-pms/yudao-module-pms-biz/src/main/resources/mapper/static/IotInspectRouteMapper.xml

+ 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!=''">
             and fin.device_code LIKE CONCAT('%',#{reqVO.deviceCode},'%')
         </if>
+        <if test="reqVO.routeName!=null and reqVO.routeName!=''">
+            and fin.route_name LIKE CONCAT('%',#{reqVO.routeName},'%')
+        </if>
         </where>
     </select>
 </mapper>