【DAOP-1.0】数据需求
【功能点】测试问题处理
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -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); | ... | ... |
-
Please register or sign in to post a comment