|
@@ -86,13 +86,16 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="selectArchivesAutoFilePage" resultMap="archivesAutoResultMap">
|
|
|
- select * from u_archives_auto where is_deleted = 0 and is_archive = 1
|
|
|
+ select * from u_archives_auto where is_deleted = 0
|
|
|
<if test="vo.projectId != null and vo.projectId != ''">
|
|
|
and project_id = #{vo.projectId}
|
|
|
</if>
|
|
|
<if test="vo.contractId != null and vo.contractId != ''">
|
|
|
and contract_id = #{vo.contractId}
|
|
|
</if>
|
|
|
+ <if test="vo.isArchive != null and vo.isArchive != ''">
|
|
|
+ and is_archive = #{vo.isArchive}
|
|
|
+ </if>
|
|
|
<if test="vo.isAutoFile != null and vo.isAutoFile != ''">
|
|
|
and is_auto_file = #{vo.isAutoFile}
|
|
|
</if>
|