소스 검색

Merge remote-tracking branch 'origin/dev/mix20191114_staticSearch' into dev/mix20191114_staticSearch

gaodm 5 년 전
부모
커밋
b9bacf3796
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      knowledgeman-service/src/main/resources/mapper/RelationMapper.xml

+ 1 - 1
knowledgeman-service/src/main/resources/mapper/RelationMapper.xml

@@ -105,7 +105,7 @@
 		GROUP BY t2.id) tab
 		where 1=1
 		<if test="name!=null and name!=''">
-			and libName like concat('%',#{name},'%')
+			and UPPER(libName) like concat('%',UPPER(TRIM(#{name})),'%')
 		</if>
 		ORDER BY isDeleted ASC,operTime DESC
     </select>