|
@@ -465,7 +465,7 @@
|
|
|
from m_archive_tree_contract matc left join u_archives_auto uaa on matc.id = uaa.node_id
|
|
|
where uaa.is_deleted = 0 and uaa.is_archive = 1
|
|
|
<if test="vo.queryValue != null and vo.queryValue != ''">
|
|
|
- and uaa.name like concat('%',#{vo.queryValue},'%') or uaa.file_number like concat('%',#{vo.queryValue},'%')
|
|
|
+ and (uaa.name like concat('%',#{vo.queryValue},'%') or uaa.file_number like concat('%',#{vo.queryValue},'%'))
|
|
|
</if>
|
|
|
<if test="vo.projectId != null and vo.projectId != ''">
|
|
|
and matc.project_id = #{vo.projectId}
|
|
@@ -570,7 +570,7 @@
|
|
|
) matc left join u_archives_auto uaa on matc.id = uaa.node_id
|
|
|
where uaa.is_deleted = 0 and uaa.is_archive = 1
|
|
|
<if test="vo.queryValue != null and vo.queryValue != ''">
|
|
|
- and uaa.name like concat('%',#{vo.queryValue},'%') or uaa.file_number like concat('%',#{vo.queryValue},'%')
|
|
|
+ and (uaa.name like concat('%',#{vo.queryValue},'%') or uaa.file_number like concat('%',#{vo.queryValue},'%'))
|
|
|
</if>
|
|
|
<if test="vo.contractId != null and vo.contractId != ''">
|
|
|
and uaa.contract_id = #{vo.contractId}
|