|
@@ -414,11 +414,12 @@ public class ReportAffairService extends ServiceImpl<ReportAffairMapper, ReportA
|
|
|
if (projectId == null) {
|
|
|
throw new XiaoShiException("报告id为空");
|
|
|
}
|
|
|
+ if (ObjectUtils.isEmpty(addStateOpinionDTO.getAssoCasePhaseId())) {
|
|
|
+ throw new XiaoShiException("案件流程阶段id为空");
|
|
|
+ }
|
|
|
//1. 首先上传报告事务,拿到报告事务id
|
|
|
ReportAffairDTO reportAffairDTO = new ReportAffairDTO();
|
|
|
reportAffairDTO.setProjectId(projectId);
|
|
|
- //陈述意见书 2
|
|
|
- reportAffairDTO.setAffairType(2);
|
|
|
//发生时间是无效请求日
|
|
|
reportAffairDTO.setOccurredTime(addStateOpinionDTO.getStateReplyTime());
|
|
|
//备注
|
|
@@ -464,6 +465,9 @@ public class ReportAffairService extends ServiceImpl<ReportAffairMapper, ReportA
|
|
|
if (projectId == null) {
|
|
|
throw new XiaoShiException("报告id为空");
|
|
|
}
|
|
|
+ if (ObjectUtils.isEmpty(updateStateOpinionDTO.getAssoCasePhaseId())) {
|
|
|
+ throw new XiaoShiException("案件流程阶段id为空");
|
|
|
+ }
|
|
|
//2. 拿到报告事务id,获取报告事务
|
|
|
ReportAffair reportAffair = this.getById(reportAffairId);
|
|
|
reportAffair.setProjectId(projectId);
|
|
@@ -530,11 +534,12 @@ public class ReportAffairService extends ServiceImpl<ReportAffairMapper, ReportA
|
|
|
if (projectId == null) {
|
|
|
throw new XiaoShiException("报告id为空");
|
|
|
}
|
|
|
+ if (ObjectUtils.isEmpty(addClaimHistoryDTO.getAssoCasePhaseId())) {
|
|
|
+ throw new XiaoShiException("案件流程阶段id为空");
|
|
|
+ }
|
|
|
//1. 首先上传报告事务,拿到报告事务id
|
|
|
ReportAffairDTO reportAffairDTO = new ReportAffairDTO();
|
|
|
reportAffairDTO.setProjectId(projectId);
|
|
|
- //权要修改历史 6
|
|
|
- reportAffairDTO.setAffairType(6);
|
|
|
//发生时间是无效请求日
|
|
|
reportAffairDTO.setOccurredTime(addClaimHistoryDTO.getClaimHistoryTime());
|
|
|
//备注
|
|
@@ -580,6 +585,9 @@ public class ReportAffairService extends ServiceImpl<ReportAffairMapper, ReportA
|
|
|
if (projectId == null) {
|
|
|
throw new XiaoShiException("报告id为空");
|
|
|
}
|
|
|
+ if (ObjectUtils.isEmpty(updateClaimHistoryDTO.getAssoCasePhaseId())) {
|
|
|
+ throw new XiaoShiException("案件流程阶段id为空");
|
|
|
+ }
|
|
|
//2. 拿到报告事务id,获取报告事务
|
|
|
ReportAffair reportAffair = this.getById(reportAffairId);
|
|
|
reportAffair.setProjectId(projectId);
|
|
@@ -611,11 +619,12 @@ public class ReportAffairService extends ServiceImpl<ReportAffairMapper, ReportA
|
|
|
if (projectId == null) {
|
|
|
throw new XiaoShiException("报告id为空");
|
|
|
}
|
|
|
+ if (ObjectUtils.isEmpty(addSupplyEvidenceDTO.getAssoCasePhaseId())) {
|
|
|
+ throw new XiaoShiException("案件流程阶段id为空");
|
|
|
+ }
|
|
|
//1. 首先上传报告事务,拿到报告事务id
|
|
|
ReportAffairDTO reportAffairDTO = new ReportAffairDTO();
|
|
|
reportAffairDTO.setProjectId(projectId);
|
|
|
- //补充证据及理由 7
|
|
|
- reportAffairDTO.setAffairType(7);
|
|
|
//发生时间是无效请求日
|
|
|
reportAffairDTO.setOccurredTime(addSupplyEvidenceDTO.getSupplyEvidenceTime());
|
|
|
//备注
|
|
@@ -661,6 +670,9 @@ public class ReportAffairService extends ServiceImpl<ReportAffairMapper, ReportA
|
|
|
if (projectId == null) {
|
|
|
throw new XiaoShiException("报告id为空");
|
|
|
}
|
|
|
+ if (ObjectUtils.isEmpty(updateSupplyEvidenceDTO.getAssoCasePhaseId())) {
|
|
|
+ throw new XiaoShiException("案件流程阶段id为空");
|
|
|
+ }
|
|
|
//2. 拿到报告事务id,获取报告事务
|
|
|
ReportAffair reportAffair = this.getById(reportAffairId);
|
|
|
reportAffair.setProjectId(projectId);
|
|
@@ -732,6 +744,9 @@ public class ReportAffairService extends ServiceImpl<ReportAffairMapper, ReportA
|
|
|
if (projectId == null) {
|
|
|
throw new XiaoShiException("报告id为空");
|
|
|
}
|
|
|
+ if (ObjectUtils.isEmpty(vo.getAssoCasePhaseId())) {
|
|
|
+ throw new XiaoShiException("案件流程阶段id为空");
|
|
|
+ }
|
|
|
//1. 首先上传报告事务,拿到报告事务id
|
|
|
ReportAffairDTO reportAffairDTO = new ReportAffairDTO();
|
|
|
reportAffairDTO.setProjectId(projectId);
|
|
@@ -780,6 +795,9 @@ public class ReportAffairService extends ServiceImpl<ReportAffairMapper, ReportA
|
|
|
if (projectId == null) {
|
|
|
throw new XiaoShiException("报告id为空");
|
|
|
}
|
|
|
+ if (ObjectUtils.isEmpty(vo.getAssoCasePhaseId())) {
|
|
|
+ throw new XiaoShiException("案件流程阶段id为空");
|
|
|
+ }
|
|
|
//2. 拿到报告事务id,获取报告事务
|
|
|
ReportAffair reportAffair = this.getById(reportAffairId);
|
|
|
reportAffair.setProjectId(projectId);
|