|
|
@@ -184,18 +184,26 @@ public class GcTenderbidfileSchedul implements Job {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ String noticeContent = record.getNoticeContent();
|
|
|
String file = "";
|
|
|
+ if(!ObjectUtils.isEmpty(attachmentList)){
|
|
|
+ if(attachmentList.size() > 0){
|
|
|
+ file = "<br>附件:<br>";
|
|
|
+ }
|
|
|
+ }
|
|
|
for (GcAttachment gcAttachment : attachmentList) {
|
|
|
try{
|
|
|
String attachmentName = gcAttachment.getAttachmentName();
|
|
|
String url = gcAttachment.getUrl();
|
|
|
- file += "<a href='"+ url +"'>"+ attachmentName +"</a><br/>";
|
|
|
+ file += "<a target='_blank' style='color: blue' href='"+ url +"'>"+ attachmentName +"</a><br/>";
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
}
|
|
|
//招标文件拼接地址
|
|
|
- //record.setNoticeContent(file);
|
|
|
+ if(!ObjectUtils.isEmpty(noticeContent) && noticeContent != ""){
|
|
|
+ file = noticeContent + file;
|
|
|
+ }
|
|
|
record.setNoticeContent(file);
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|