소스 검색

Merge branch 'master' into test

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

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

@@ -328,9 +328,7 @@
         </if>
         <if test="queryPage.merc != null and queryPage.merc != ''">
             and (
-            info.merc_id = #{queryPage.merc} or info.merc_code = #{queryPage.merc} or
-            LOCATE(#{queryPage.merc}, mr.name)
-            > 0
+            info.merc_id = #{queryPage.merc} or LOCATE(#{queryPage.merc}, info.merc_code) > 0 or LOCATE(#{queryPage.merc}, mr.name) > 0
             )
         </if>
         <if test="queryPage.placeId != null">