lin 4 년 전
부모
커밋
0cf9871703
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      smart-city-platform/src/main/resources/mapper/DeviceMapper.xml

+ 1 - 0
smart-city-platform/src/main/resources/mapper/DeviceMapper.xml

@@ -519,6 +519,7 @@
         <if test="customerId != null"> and sd.customer_id = #{customerId}</if>
         <if test="valveStatus != null and valveStatus != 2"> and swmed.valve_status = #{valveStatus}</if>
         <if test="valveStatus != null and valveStatus == 2"> and sdt.is_valve = 0</if>
+        <if test="registerStatus != null"> and sd.register_status = #{registerStatus}</if>
         <if test="days != null">
             <choose>
                 <when test="days == 0">