Parcourir la source

#FIX 设备查询

谭斌 il y a 1 an
Parent
commit
2efdf681bd

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

@@ -305,15 +305,15 @@
 
         <where>
             <if test="query.activeState != null and query.activeState != ''">
-                active_state = #{query.activeState}
+                and active_state = #{query.activeState}
             </if>
 
             <if test="query.busyStatus != null  ">
-                busy_state = #{query.busyStatus}
+                and busy_state = #{query.busyStatus}
             </if>
 
             <if test="query.deviceType != null  ">
-                device_type = #{query.deviceType}
+                and device_type = #{query.deviceType}
             </if>
 
             <if test="query.mercId != null">