8e5d6d76 by 肖初晴

【DAOP-1.0】数据需求

【功能点】测试问题处理
1 parent 0080f83b
...@@ -179,12 +179,12 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -179,12 +179,12 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
179 public void updateDemand(FlowRQBaseVO flowBaseVO) { 179 public void updateDemand(FlowRQBaseVO flowBaseVO) {
180 DemandRQVO rqVO = (DemandRQVO) flowBaseVO; 180 DemandRQVO rqVO = (DemandRQVO) flowBaseVO;
181 // 将修改前数据查出来缓存下来,传入到修改后方法中,用于一些特殊逻辑处理,如某个值变化才进行 181 // 将修改前数据查出来缓存下来,传入到修改后方法中,用于一些特殊逻辑处理,如某个值变化才进行
182 // MfDemand oldEntity = mfDemandService.getById(rqVO.getGuid()); 182 MfDemand oldEntity = mfDemandService.getById(rqVO.getGuid());
183 beforeUpdate(rqVO); 183 beforeUpdate(rqVO);
184 MfDemand entity = convertToEntity(rqVO); 184 MfDemand entity = convertToEntity(rqVO);
185 // 发起审批流程或保存草稿 185 // 发起审批流程或保存草稿
186 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity); 186 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity);
187 super.restartWorkFlow(rqVO, rqVO.getBizApproveState(), approvalDTO, null, entity::setBizApproveState); 187 super.restartWorkFlow(rqVO, rqVO.getBizApproveState(), approvalDTO, null, oldEntity::setBizApproveState);
188 if (rqVO.getIsRestart()) { 188 if (rqVO.getIsRestart()) {
189 // 重新提交 189 // 重新提交
190 againSubmitFlow(entity, rqVO, approvalDTO); 190 againSubmitFlow(entity, rqVO, approvalDTO);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!