|
|
@@ -424,18 +424,18 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
}
|
|
|
entity.setFileList(fileList);
|
|
|
}
|
|
|
- //汇总附件
|
|
|
- attachments = attachmentService.selectByIdAndBusinessId(Constant.Attachment.INDUSTRIAL_LAND_SUPPLY_SUMMARY, entity.getId(), null);
|
|
|
- if (null != attachments && attachments.size() > 0) {
|
|
|
- FileDown fileDown = new FileDown(attachments.get(0).getId(), attachments.get(0).getFile_name(), attachments.get(0).getFile_url(), attachments.get(0).getDownload_uri());
|
|
|
- entity.setConsultation_summary_file(fileDown);
|
|
|
- }
|
|
|
//补充附件
|
|
|
attachments = attachmentService.selectByIdAndBusinessId(Constant.Attachment.INDUSTRIAL_LAND_SUPPLY_COMMERCE_SUPPLEMENT, entity.getId(), null);
|
|
|
if (null != attachments && attachments.size() > 0) {
|
|
|
FileDown fileDown = new FileDown(attachments.get(0).getId(), attachments.get(0).getFile_name(), attachments.get(0).getFile_url(), attachments.get(0).getDownload_uri());
|
|
|
entity.setSupplement_file(fileDown);
|
|
|
}
|
|
|
+ //汇总附件
|
|
|
+ attachments = attachmentService.selectByIdAndBusinessId(Constant.Attachment.INDUSTRIAL_LAND_SUPPLY_SUMMARY, entity.getId(), null);
|
|
|
+ if (null != attachments && attachments.size() > 0) {
|
|
|
+ FileDown fileDown = new FileDown(attachments.get(0).getId(), attachments.get(0).getFile_name(), attachments.get(0).getFile_url(), attachments.get(0).getDownload_uri());
|
|
|
+ entity.setConsultation_summary_file(fileDown);
|
|
|
+ }
|
|
|
//商务局分管领导附件
|
|
|
attachments = attachmentService.selectByIdAndBusinessId(Constant.Attachment.INDUSTRIAL_LAND_SUPPLY_COMMERCE_LEADER, entity.getId(), null);
|
|
|
if (null != attachments && attachments.size() > 0) {
|
|
|
@@ -759,6 +759,12 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
FileDown fileDown = new FileDown(attachments.get(0).getId(), attachments.get(0).getFile_name(), attachments.get(0).getFile_url(), attachments.get(0).getDownload_uri());
|
|
|
entity.setFileDown(fileDown);
|
|
|
}
|
|
|
+ //补充附件
|
|
|
+ attachments = attachmentService.selectByIdAndBusinessId(Constant.Attachment.INDUSTRIAL_LAND_SUPPLY_COMMERCE_SUPPLEMENT, entity.getId(), null);
|
|
|
+ if (null != attachments && attachments.size() > 0) {
|
|
|
+ FileDown fileDown = new FileDown(attachments.get(0).getId(), attachments.get(0).getFile_name(), attachments.get(0).getFile_url(), attachments.get(0).getDownload_uri());
|
|
|
+ entity.setSupplement_file(fileDown);
|
|
|
+ }
|
|
|
if (null != entity.getApprove_status()) {
|
|
|
String status_name = dictionaryItemService.findNameByTypeAndValue(Constant.DictionaryType.INDUSTRIAL_LAND_SUPPLY_APPROVE_STATUS, entity.getApprove_status());
|
|
|
entity.setApprove_status_desc(status_name);
|