|
@@ -231,8 +231,8 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
}
|
|
}
|
|
} else if ("4".equals(detailType)) { //中标信息
|
|
} else if ("4".equals(detailType)) { //中标信息
|
|
PmPurchaseExecutionResVo pmPurchaseExecutionResVo = new PmPurchaseExecutionResVo();
|
|
PmPurchaseExecutionResVo pmPurchaseExecutionResVo = new PmPurchaseExecutionResVo();
|
|
-
|
|
|
|
- //代理商信息
|
|
|
|
|
|
+ List<SysFileInfo> fileInfosAll = new ArrayList<>();
|
|
|
|
+ //代理商信息
|
|
BaseAgency baseAgency = this.baseAgencyService.getById(pmDemand.getAgencyId());
|
|
BaseAgency baseAgency = this.baseAgencyService.getById(pmDemand.getAgencyId());
|
|
pmPurchaseExecutionResVo.setBaseAgency(baseAgency);
|
|
pmPurchaseExecutionResVo.setBaseAgency(baseAgency);
|
|
|
|
|
|
@@ -248,7 +248,7 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
|
|
|
|
List<SysFileInfo> fileInfos = getSysFileInfoList(pmReleaseAnnouncement.getId(), SysFileRefEnum.PM_ANNOUNCEMENT_FILE.getType());
|
|
List<SysFileInfo> fileInfos = getSysFileInfoList(pmReleaseAnnouncement.getId(), SysFileRefEnum.PM_ANNOUNCEMENT_FILE.getType());
|
|
if (!ObjectUtils.isEmpty(fileInfos)) {
|
|
if (!ObjectUtils.isEmpty(fileInfos)) {
|
|
- pmReleaseAnnouncementResVo.setFileInfos(fileInfos);
|
|
|
|
|
|
+ fileInfosAll.addAll(fileInfos);
|
|
}
|
|
}
|
|
pmReleaseAnnouncementResVoList.add(pmReleaseAnnouncementResVo);
|
|
pmReleaseAnnouncementResVoList.add(pmReleaseAnnouncementResVo);
|
|
}
|
|
}
|
|
@@ -284,7 +284,7 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
|
|
|
|
List<SysFileInfo> fileInfos = getSysFileInfoList(pmBidWinning.getId(), SysFileRefEnum.PM_BID_WINNING_FILE.getType());
|
|
List<SysFileInfo> fileInfos = getSysFileInfoList(pmBidWinning.getId(), SysFileRefEnum.PM_BID_WINNING_FILE.getType());
|
|
if (!ObjectUtils.isEmpty(fileInfos)) {
|
|
if (!ObjectUtils.isEmpty(fileInfos)) {
|
|
- pmBidWinningResVo.setFileInfos(fileInfos);
|
|
|
|
|
|
+ fileInfosAll.addAll(fileInfos);
|
|
}
|
|
}
|
|
pmBidWinningResVoList.add(pmBidWinningResVo);
|
|
pmBidWinningResVoList.add(pmBidWinningResVo);
|
|
}
|
|
}
|
|
@@ -313,7 +313,7 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
BeanUtils.copyProperties(pmBidFailure, pmBidFailureResVo);
|
|
BeanUtils.copyProperties(pmBidFailure, pmBidFailureResVo);
|
|
List<SysFileInfo> fileInfos = getSysFileInfoList(pmBidFailure.getId(), SysFileRefEnum.PM_BID_FAILURE_FILE.getType());
|
|
List<SysFileInfo> fileInfos = getSysFileInfoList(pmBidFailure.getId(), SysFileRefEnum.PM_BID_FAILURE_FILE.getType());
|
|
if (!ObjectUtils.isEmpty(fileInfos)) {
|
|
if (!ObjectUtils.isEmpty(fileInfos)) {
|
|
- pmPurchaseExecutionResVo.setFileInfos(fileInfos);
|
|
|
|
|
|
+ fileInfosAll.addAll(fileInfos);
|
|
}
|
|
}
|
|
pmBidFailureResVoList.add(pmBidFailureResVo);
|
|
pmBidFailureResVoList.add(pmBidFailureResVo);
|
|
}
|
|
}
|
|
@@ -323,9 +323,10 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
//中标通知书
|
|
//中标通知书
|
|
List<SysFileInfo> pmBidWinningNotificationFileInfos = getSysFileInfoList(vo.getDemandId(), SysFileRefEnum.PM_BID_WINNING_NOTIFICATION.getType());
|
|
List<SysFileInfo> pmBidWinningNotificationFileInfos = getSysFileInfoList(vo.getDemandId(), SysFileRefEnum.PM_BID_WINNING_NOTIFICATION.getType());
|
|
if (!ObjectUtils.isEmpty(pmBidWinningNotificationFileInfos)) {
|
|
if (!ObjectUtils.isEmpty(pmBidWinningNotificationFileInfos)) {
|
|
- pmPurchaseExecutionResVo.setPmBidWinningNotificationFileInfos(pmBidWinningNotificationFileInfos);
|
|
|
|
|
|
+ fileInfosAll.addAll(pmBidWinningNotificationFileInfos);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ pmPurchaseExecutionResVo.setFileInfos(fileInfosAll);
|
|
vo.setPmPurchaseExecutionResVo(pmPurchaseExecutionResVo);
|
|
vo.setPmPurchaseExecutionResVo(pmPurchaseExecutionResVo);
|
|
|
|
|
|
} else if ("5".equals(detailType)) { //合同信息
|
|
} else if ("5".equals(detailType)) { //合同信息
|
|
@@ -850,6 +851,10 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
baseNotice.setIsExcess(pmDemand.getIsExcess());
|
|
baseNotice.setIsExcess(pmDemand.getIsExcess());
|
|
baseNotice.setType(baseNoticeType.getId());
|
|
baseNotice.setType(baseNoticeType.getId());
|
|
baseNotice.setReleaseTime(pmReleaseAnnouncement.getReleaseTime());
|
|
baseNotice.setReleaseTime(pmReleaseAnnouncement.getReleaseTime());
|
|
|
|
+ baseNotice.setCreated(pmReleaseAnnouncementReqVo.getCreateBy());
|
|
|
|
+ baseNotice.setCreateTime(pmReleaseAnnouncementReqVo.getCreateTime());
|
|
|
|
+ baseNotice.setUpdated(pmReleaseAnnouncementReqVo.getUpdateBy());
|
|
|
|
+ baseNotice.setUpdateTime(pmReleaseAnnouncementReqVo.getUpdateTime());
|
|
return this.baseNoticeService.saveOrUpdate(baseNotice);
|
|
return this.baseNoticeService.saveOrUpdate(baseNotice);
|
|
} else {
|
|
} else {
|
|
return false;
|
|
return false;
|
|
@@ -1209,6 +1214,10 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
baseNotice.setIsExcess(pmDemand.getIsExcess());
|
|
baseNotice.setIsExcess(pmDemand.getIsExcess());
|
|
baseNotice.setType(baseNoticeType.getId());
|
|
baseNotice.setType(baseNoticeType.getId());
|
|
baseNotice.setReleaseTime(pmBidWinningReqVo.getBidAnnouncementTime());
|
|
baseNotice.setReleaseTime(pmBidWinningReqVo.getBidAnnouncementTime());
|
|
|
|
+ baseNotice.setCreated(pmBidWinningReqVo.getCreateBy());
|
|
|
|
+ baseNotice.setCreateTime(pmBidWinningReqVo.getCreateTime());
|
|
|
|
+ baseNotice.setUpdated(pmBidWinningReqVo.getUpdateBy());
|
|
|
|
+ baseNotice.setUpdateTime(pmBidWinningReqVo.getUpdateTime());
|
|
this.baseNoticeService.saveOrUpdate(baseNotice);
|
|
this.baseNoticeService.saveOrUpdate(baseNotice);
|
|
|
|
|
|
PmDemand pmDemandUpdate = new PmDemand();
|
|
PmDemand pmDemandUpdate = new PmDemand();
|
|
@@ -1216,6 +1225,7 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
pmDemandUpdate.setProjectStatus(PmProjectStatus.BIDDING_PUBLICITY.getCode());
|
|
pmDemandUpdate.setProjectStatus(PmProjectStatus.BIDDING_PUBLICITY.getCode());
|
|
pmDemandUpdate.setUpdateTime(pmBidWinningReqVo.getUpdateTime());
|
|
pmDemandUpdate.setUpdateTime(pmBidWinningReqVo.getUpdateTime());
|
|
pmDemandUpdate.setUpdateBy(pmBidWinningReqVo.getUpdateBy());
|
|
pmDemandUpdate.setUpdateBy(pmBidWinningReqVo.getUpdateBy());
|
|
|
|
+
|
|
return this.updateById(pmDemandUpdate);
|
|
return this.updateById(pmDemandUpdate);
|
|
|
|
|
|
} else {
|
|
} else {
|
|
@@ -1345,6 +1355,10 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
baseNotice.setIsExcess(pmDemand.getIsExcess());
|
|
baseNotice.setIsExcess(pmDemand.getIsExcess());
|
|
baseNotice.setType(baseNoticeType.getId());
|
|
baseNotice.setType(baseNoticeType.getId());
|
|
baseNotice.setReleaseTime(pmBidFailureReqVo.getBidFailureTime());
|
|
baseNotice.setReleaseTime(pmBidFailureReqVo.getBidFailureTime());
|
|
|
|
+ baseNotice.setCreated(pmBidFailureReqVo.getCreateBy());
|
|
|
|
+ baseNotice.setCreateTime(pmBidFailureReqVo.getCreateTime());
|
|
|
|
+ baseNotice.setUpdated(pmBidFailureReqVo.getUpdateBy());
|
|
|
|
+ baseNotice.setUpdateTime(pmBidFailureReqVo.getUpdateTime());
|
|
this.baseNoticeService.saveOrUpdate(baseNotice);
|
|
this.baseNoticeService.saveOrUpdate(baseNotice);
|
|
|
|
|
|
PmDemand pmDemandUpdate = new PmDemand();
|
|
PmDemand pmDemandUpdate = new PmDemand();
|