|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
select a.* from work_attachment a
|
|
|
left join cw_project_report_file cf on cf.report_file_id = a.id
|
|
|
- where a.attachment_id in (select id from cw_project_report_new_line where report_id = #{id}) and cf.seal_type = 1
|
|
|
+ where a.attachment_id = #{id} and cf.seal_type = 1
|
|
|
</select>
|
|
|
<select id="getFileId" resultType="java.lang.String">
|
|
|
select id from cw_project_report_file where report_file_id = #{id}
|