8b92a9da by 肖初晴

【DAOP-1.0】数据需求

【功能点】测试问题处理
1 parent 641ae174
...@@ -185,6 +185,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -185,6 +185,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
185 // 发起审批流程或保存草稿 185 // 发起审批流程或保存草稿
186 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity); 186 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity);
187 super.restartWorkFlow(rqVO, oldEntity.getBizApproveState(), approvalDTO, this::saveDemand, entity::setBizApproveState); 187 super.restartWorkFlow(rqVO, oldEntity.getBizApproveState(), approvalDTO, this::saveDemand, entity::setBizApproveState);
188 if(!rqVO.getIsRestart()){
188 // 修改业务数据 189 // 修改业务数据
189 boolean flag = mfDemandService.updateById(entity); 190 boolean flag = mfDemandService.updateById(entity);
190 if (!flag) { 191 if (!flag) {
...@@ -193,6 +194,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -193,6 +194,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
193 } 194 }
194 afterUpdate(entity, rqVO); 195 afterUpdate(entity, rqVO);
195 } 196 }
197 }
196 198
197 /** 199 /**
198 * 数据需求数据删除、并有相关的处理操作 200 * 数据需求数据删除、并有相关的处理操作
......
...@@ -324,6 +324,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris ...@@ -324,6 +324,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
324 // 发起审批流程或保存草稿 324 // 发起审批流程或保存草稿
325 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity); 325 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity);
326 super.restartWorkFlow(rqVO, oldEntity.getBizApproveState(), approvalDTO, this::saveEnterprise, entity::setBizApproveState); 326 super.restartWorkFlow(rqVO, oldEntity.getBizApproveState(), approvalDTO, this::saveEnterprise, entity::setBizApproveState);
327 if(!rqVO.getIsRestart()){
327 // 修改业务数据 328 // 修改业务数据
328 boolean flag = mfEnterpriseService.updateById(entity); 329 boolean flag = mfEnterpriseService.updateById(entity);
329 if (!flag) { 330 if (!flag) {
...@@ -332,6 +333,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris ...@@ -332,6 +333,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
332 } 333 }
333 afterUpdate(entity, rqVO); 334 afterUpdate(entity, rqVO);
334 } 335 }
336 }
335 337
336 /** 338 /**
337 * 企业信息数据删除、并有相关的处理操作 339 * 企业信息数据删除、并有相关的处理操作
......
...@@ -177,6 +177,7 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser ...@@ -177,6 +177,7 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
177 // 发起审批流程或保存草稿 177 // 发起审批流程或保存草稿
178 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity); 178 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity);
179 super.restartWorkFlow(rqVO, oldEntity.getBizApproveState(), approvalDTO, this::saveServicerMaintain, entity::setBizApproveState); 179 super.restartWorkFlow(rqVO, oldEntity.getBizApproveState(), approvalDTO, this::saveServicerMaintain, entity::setBizApproveState);
180 if(!rqVO.getIsRestart()){
180 // 修改业务数据 181 // 修改业务数据
181 boolean flag = mfServicerMaintainService.updateById(entity); 182 boolean flag = mfServicerMaintainService.updateById(entity);
182 if (!flag) { 183 if (!flag) {
...@@ -186,6 +187,7 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser ...@@ -186,6 +187,7 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
186 afterUpdate(entity, rqVO); 187 afterUpdate(entity, rqVO);
187 } 188 }
188 } 189 }
190 }
189 191
190 /** 192 /**
191 * 服务商维护数据删除、并有相关的处理操作 193 * 服务商维护数据删除、并有相关的处理操作
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!