Pārlūkot izejas kodu

调整签章文件获取sql

user5 2 gadi atpakaļ
vecāks
revīzija
c623aa39b9

+ 1 - 1
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/projectReport/mapper/xml/ProjectReportWorkAttachmentMapper.xml

@@ -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}