Antiloveg 8 年之前
父節點
當前提交
14ef132a88
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/common/mapper/OrganizationIdentityMapper.xml

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

@@ -1185,7 +1185,7 @@
 				AND oi.licence_area = #{area,jdbcType=INTEGER}
 			</if>
 			<if test="field != null">
-				AND ot.search_area_category like #{field,jdbcType=VARCHAR}'%'
+				AND ot.search_area_category like CONCAT(#{field,jdbcType=VARCHAR},'%')
 			</if>
 			<if test="name != null">
 				AND oi.unit_name like CONCAT('%', #{name,jdbcType=VARCHAR}, '%')