|
@@ -134,10 +134,6 @@ public class AllianceCityWebsiteSchedul implements Job {
|
|
|
if(!ObjectUtils.isEmpty(projectCode)){
|
|
|
tenderDetailsVo.setTenderProjectCode(projectCode);
|
|
|
}
|
|
|
- String noticeContent = record.getBulletinContent();
|
|
|
- if(!ObjectUtils.isEmpty(noticeContent)){
|
|
|
- tenderDetailsVo.setNoticeContent(noticeContent);
|
|
|
- }
|
|
|
|
|
|
Long noticeSendTime = record.getPublishingTime();
|
|
|
Long createDate = record.getCreateDate();
|
|
@@ -175,6 +171,22 @@ public class AllianceCityWebsiteSchedul implements Job {
|
|
|
tenderDetailsVo.setTypeCode(record.getIndustryType());
|
|
|
}
|
|
|
|
|
|
+ String finalNoticeContent = "";
|
|
|
+ String noticeContent = record.getBulletinContent();
|
|
|
+ if(!ObjectUtils.isEmpty(noticeContent)){
|
|
|
+ finalNoticeContent = noticeContent;
|
|
|
+ }
|
|
|
+ if(!ObjectUtils.isEmpty(record.getUrl())){
|
|
|
+ String fileUrl = record.getUrl();
|
|
|
+ String file = "";
|
|
|
+ if(!ObjectUtils.isEmpty(fileUrl)){
|
|
|
+ file = "<br>附件:<br>";
|
|
|
+ file += "<a target='_blank' style='color: blue' href='"+ fileUrl +"' rel='noreferrer noopener nofollow' >附件</a><br/>";
|
|
|
+ }
|
|
|
+ finalNoticeContent = finalNoticeContent + file;
|
|
|
+ }
|
|
|
+ tenderDetailsVo.setNoticeContent(finalNoticeContent);
|
|
|
+
|
|
|
tenderDetailsVos.add(tenderDetailsVo);
|
|
|
}
|
|
|
for (TenderDetailsVo record : tenderDetailsVos) {
|