|
|
@@ -255,14 +255,21 @@ public class GcNoticeandfileSchedul implements Job {
|
|
|
if(split.length >=1){
|
|
|
for (String bidSectionCode : split) {
|
|
|
try {
|
|
|
+ String bidSectionCodeClean = bidSectionCode.replaceAll(">","").replaceAll("<","");
|
|
|
+ String bidSectionCodeClean2 = bidSectionCodeClean.replaceAll("gt","").replaceAll("lt","");
|
|
|
//通过标包编号查询对应的附件信息
|
|
|
QueryWrapper<GcAttachment> gcAttachmentQueryWrapper = new QueryWrapper<GcAttachment>();
|
|
|
gcAttachmentQueryWrapper.eq("ATTACHMENT_SET_CODE","TENDER_NOTICE");//add
|
|
|
- gcAttachmentQueryWrapper.eq("BID_SECTION_CODE",bidSectionCode);
|
|
|
+ //gcAttachmentQueryWrapper.eq("BID_SECTION_CODE",bidSectionCode);
|
|
|
+ gcAttachmentQueryWrapper.like("BID_SECTION_CODE",bidSectionCodeClean2);
|
|
|
List<GcAttachment> list = gcAttachmentService.list(gcAttachmentQueryWrapper);
|
|
|
+ if(attachmentList.size() > 0){
|
|
|
+ break;
|
|
|
+ }
|
|
|
if(!ObjectUtils.isEmpty(list)){
|
|
|
attachmentList.addAll(list);
|
|
|
}
|
|
|
+
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
}
|