소스 검색

#FIX 设备查询

谭斌 1 년 전
부모
커밋
2efdf681bd
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      device-api-service/src/main/resources/mapper/DeviceInfoMapper.xml

+ 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">