lin 4 лет назад
Родитель
Сommit
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">