gaodm 5 lat temu
rodzic
commit
b218bbca12

+ 2 - 2
knowledgeman-service/src/main/resources/mapper/ConceptMapper.xml

@@ -288,8 +288,8 @@
 				#{item}
 			</foreach>
 		</if>
-		and (a.name like concat('%',#{name},'%')
-		or a.spell like concat('%',#{name},'%'))
+		and (UPPER(a.name) like concat('%',UPPER(trim(#{name})),'%')
+		or UPPER(a.spell) like concat('%',UPPER(trim(#{name})),'%'))
 	</select>
 
 	<select id="queryLibTypeCou" parameterType="list" resultType="com.diagbot.dto.BIItemDTO">