소스 검색

修改设备详情的运行记录查询条件

lipenghui 1 주 전
부모
커밋
4877d827fb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      yudao-module-pms/yudao-module-pms-biz/src/main/resources/mapper/static/IotOpeationFillMapper.xml

+ 1 - 1
yudao-module-pms/yudao-module-pms-biz/src/main/resources/mapper/static/IotOpeationFillMapper.xml

@@ -266,7 +266,7 @@
             OR b.device_code LIKE CONCAT('%', #{orderName}, '%')
             OR b.device_name LIKE CONCAT('%', #{orderName}, '%'))
         </if>
-        <if test="orderStatus != null and orderStatus != ''">
+        <if test="orderStatus != null">
             AND a.order_status = #{orderStatus}
         </if>
         ORDER BY a.create_time DESC