|
@@ -467,6 +467,13 @@
|
|
|
<if test="vo.queryValue != null and vo.queryValue != ''">
|
|
|
and (uaa.name like concat('%',#{vo.queryValue},'%') or uaa.file_number like concat('%',#{vo.queryValue},'%'))
|
|
|
</if>
|
|
|
+ <if test="vo.searchType == 1 and vo.queryList != null and vo.queryList.size > 0">
|
|
|
+ and (
|
|
|
+ <foreach collection="vo.queryList" item="query" separator="or" >
|
|
|
+ uaa.name like concat('%',#{query},'%')
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ </if>
|
|
|
<if test="vo.projectId != null and vo.projectId != ''">
|
|
|
and matc.project_id = #{vo.projectId}
|
|
|
</if>
|
|
@@ -523,6 +530,13 @@
|
|
|
<if test="vo.searchType == 1 and vo.queryValue != null and vo.queryValue != ''">
|
|
|
and uaa.name like concat('%',#{vo.queryValue},'%')
|
|
|
</if>
|
|
|
+ <if test="vo.searchType == 1 and vo.queryList != null and vo.queryList.size > 0">
|
|
|
+ and (
|
|
|
+ <foreach collection="vo.queryList" item="query" separator="or" >
|
|
|
+ uaa.name like concat('%',#{query},'%')
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ </if>
|
|
|
<if test="vo.searchType == 2 and vo.queryValue != null and vo.queryValue != ''">
|
|
|
and uaf.file_name like concat('%',#{vo.queryValue},'%')
|
|
|
</if>
|