소스 검색

系统设置-业务项目管理,搜索改成模糊搜索

anderx 7 년 전
부모
커밋
64b6f786ed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/goafanti/common/mapper/BusinessProjectMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/BusinessProjectMapper.xml

@@ -625,7 +625,7 @@
   		left join business_varieties b2 on b.cid = b2.id
   		where b.delete_sign=0 
   		<if test="bname != null">
-		and b.bname = #{bname,jdbcType=VARCHAR}
+		and b.bname like concat('%',#{bname},'%')
 		</if>
 		<if test="cid != null">
 		and b.cid = #{cid,jdbcType=VARCHAR}