|
@@ -57,7 +57,7 @@
|
|
|
|
|
|
<select id="approvalFile" resultType="org.springblade.archive.vo.ArchivesAutoVO$ApprovalFile">
|
|
|
<if test="archiveId!=null">
|
|
|
- select * from u_archive_file where archive_id = #{archiveId}
|
|
|
+ select * from u_archive_file where archive_id = #{archiveId} and is_element = 0
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
@@ -504,7 +504,7 @@
|
|
|
and uaa.contract_id = #{vo.contractId}
|
|
|
</if>
|
|
|
<if test="vo.searchType == 1 and vo.queryValue != null and vo.queryValue != ''">
|
|
|
- and uaa.name like concat('%',#{vo.queryValue},'%')
|
|
|
+ and uaa.name like concat('%',#{vo.queryValue},'%') or uaa.file_number like concat('%',#{vo.queryValue},'%')
|
|
|
</if>
|
|
|
<if test="vo.searchType == 2 and vo.queryValue != null and vo.queryValue != ''">
|
|
|
and uaf.file_name like concat('%',#{vo.queryValue},'%')
|