|
@@ -176,6 +176,16 @@ public class GcTenderbidfileSchedul implements Job {
|
|
|
gcAttachmentQueryWrapper.eq("ATTACHMENT_SET_CODE","TENDER_FILE_FILE");//add
|
|
|
gcAttachmentQueryWrapper.eq("BID_SECTION_CODE",bidSectionCode);
|
|
|
List<GcAttachment> list = gcAttachmentService.list(gcAttachmentQueryWrapper);
|
|
|
+
|
|
|
+ //通过标包编号查询对应的附件信息
|
|
|
+ QueryWrapper<GcAttachment> gcAttachmentQueryWrapper2 = new QueryWrapper<GcAttachment>();
|
|
|
+ gcAttachmentQueryWrapper2.eq("ATTACHMENT_SET_CODE","FILE_EX_TDOC");//add
|
|
|
+ gcAttachmentQueryWrapper2.eq("BID_SECTION_CODE",bidSectionCode);
|
|
|
+ List<GcAttachment> list2 = gcAttachmentService.list(gcAttachmentQueryWrapper2);
|
|
|
+ if(!ObjectUtils.isEmpty(list2)){
|
|
|
+ attachmentList.addAll(list2);
|
|
|
+ }
|
|
|
+
|
|
|
if(!ObjectUtils.isEmpty(list)){
|
|
|
attachmentList.addAll(list);
|
|
|
}
|