|
@@ -314,7 +314,9 @@
|
|
where a.project_id = #{projectId} and a.del_flag = '0'
|
|
where a.project_id = #{projectId} and a.del_flag = '0'
|
|
</select>
|
|
</select>
|
|
<select id="findFileList" resultType="com.jeeplus.test.oss.domain.WorkAttachment">
|
|
<select id="findFileList" resultType="com.jeeplus.test.oss.domain.WorkAttachment">
|
|
- SELECT * FROM work_attachment WHERE del_flag = 0 AND attachment_id = #{id}
|
|
|
|
|
|
+ SELECT * FROM work_attachment a
|
|
|
|
+ left join cw_project_report_file b on a.id = b.report_file_id
|
|
|
|
+ WHERE a.del_flag = 0 AND a.attachment_id = #{id} and b.file_affiliation = 0
|
|
</select>
|
|
</select>
|
|
<select id="findIsExit" resultType="java.lang.Integer">
|
|
<select id="findIsExit" resultType="java.lang.Integer">
|
|
SELECT
|
|
SELECT
|