8b92a9da by 肖初晴

【DAOP-1.0】数据需求

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