Browse Source

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

anderx 7 years ago
parent
commit
64b6f786ed

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