谭斌 2 years ago
parent
commit
768f52cd9c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      device-api-service/src/main/resources/mapper/DeviceInfoMapper.xml

+ 1 - 0
device-api-service/src/main/resources/mapper/DeviceInfoMapper.xml

@@ -263,6 +263,7 @@
         from device_info
 
         <where>
+            active_state='1'
             <if test="query.mercId != null">
                 and merc_id = #{query.mercId}
             </if>