b3c1b84b by 肖初晴

【DAOP-1.0】企业认证

【功能点】测试问题处理
1 parent 1c24a3f8
...@@ -201,6 +201,9 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -201,6 +201,9 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
201 // MfDemand oldEntity = mfDemandService.getById(rqVO.getGuid()); 201 // MfDemand oldEntity = mfDemandService.getById(rqVO.getGuid());
202 beforeUpdate(rqVO); 202 beforeUpdate(rqVO);
203 MfDemand entity = convertToEntity(rqVO); 203 MfDemand entity = convertToEntity(rqVO);
204 if (rqVO.getIsRestart()) {
205 entity.setGuid(CommonUtil.newGuid());
206 }
204 // 发起审批流程或保存草稿 207 // 发起审批流程或保存草稿
205 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity, rqVO); 208 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity, rqVO);
206 super.startOrRestartWorkFlow(rqVO, rqVO.getBizApproveState(), approvalDTO, entity::setBizApproveState); 209 super.startOrRestartWorkFlow(rqVO, rqVO.getBizApproveState(), approvalDTO, entity::setBizApproveState);
...@@ -228,8 +231,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -228,8 +231,6 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
228 * @return void 231 * @return void
229 */ 232 */
230 private void againSubmitFlow(MfDemand entity, DemandRQVO rqVO, AddApprovalDTO approvalDTO) { 233 private void againSubmitFlow(MfDemand entity, DemandRQVO rqVO, AddApprovalDTO approvalDTO) {
231 // 重新提交的数据重置相关字段
232 entity.setGuid(CommonUtil.newGuid());
233 mfDemandService.csbrBaseEntity(entity); 234 mfDemandService.csbrBaseEntity(entity);
234 // 保存新数据 235 // 保存新数据
235 boolean flag = mfDemandService.save(entity); 236 boolean flag = mfDemandService.save(entity);
......
...@@ -223,6 +223,9 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris ...@@ -223,6 +223,9 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
223 // MfEnterprise oldEntity = mfEnterpriseService.getById(rqVO.getGuid()); 223 // MfEnterprise oldEntity = mfEnterpriseService.getById(rqVO.getGuid());
224 beforeUpdate(rqVO); 224 beforeUpdate(rqVO);
225 MfEnterprise entity = convertToEntity(rqVO); 225 MfEnterprise entity = convertToEntity(rqVO);
226 if (rqVO.getIsRestart()) {
227 entity.setGuid(CommonUtil.newGuid());
228 }
226 // 发起审批流程或保存草稿 229 // 发起审批流程或保存草稿
227 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity, rqVO); 230 AddApprovalDTO approvalDTO = getAddApprovalDTO(entity, rqVO);
228 super.startOrRestartWorkFlow(rqVO, rqVO.getBizApproveState(), approvalDTO, entity::setBizApproveState); 231 super.startOrRestartWorkFlow(rqVO, rqVO.getBizApproveState(), approvalDTO, entity::setBizApproveState);
...@@ -250,8 +253,6 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris ...@@ -250,8 +253,6 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
250 * @return void 253 * @return void
251 */ 254 */
252 private void againSubmitFlow(MfEnterprise entity, EnterpriseRQVO rqVO, AddApprovalDTO approvalDTO) { 255 private void againSubmitFlow(MfEnterprise entity, EnterpriseRQVO rqVO, AddApprovalDTO approvalDTO) {
253 // 重新提交的数据重置相关字段
254 entity.setGuid(CommonUtil.newGuid());
255 mfEnterpriseService.csbrBaseEntity(entity); 256 mfEnterpriseService.csbrBaseEntity(entity);
256 // 保存新数据 257 // 保存新数据
257 boolean flag = mfEnterpriseService.save(entity); 258 boolean flag = mfEnterpriseService.save(entity);
......
...@@ -164,6 +164,9 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser ...@@ -164,6 +164,9 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
164 MfServicerMaintain oldEntity = mfServicerMaintainService.getById(rqVO.getGuid()); 164 MfServicerMaintain oldEntity = mfServicerMaintainService.getById(rqVO.getGuid());
165 beforeUpdate(rqVO); 165 beforeUpdate(rqVO);
166 MfServicerMaintain entity = convertToEntity(rqVO); 166 MfServicerMaintain entity = convertToEntity(rqVO);
167 if (rqVO.getIsRestart()) {
168 entity.setGuid(CommonUtil.newGuid());
169 }
167 if("Y".equals(rqVO.getBizApproveState())){ 170 if("Y".equals(rqVO.getBizApproveState())){
168 // 修改业务数据 171 // 修改业务数据
169 boolean flag = mfServicerMaintainService.updateById(entity); 172 boolean flag = mfServicerMaintainService.updateById(entity);
...@@ -202,8 +205,6 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser ...@@ -202,8 +205,6 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
202 * @return void 205 * @return void
203 */ 206 */
204 private void againSubmitFlow(MfServicerMaintain entity, ServicerMaintainRQVO rqVO, AddApprovalDTO approvalDTO) { 207 private void againSubmitFlow(MfServicerMaintain entity, ServicerMaintainRQVO rqVO, AddApprovalDTO approvalDTO) {
205 // 重新提交的数据重置相关字段
206 entity.setGuid(CommonUtil.newGuid());
207 mfServicerMaintainService.csbrBaseEntity(entity); 208 mfServicerMaintainService.csbrBaseEntity(entity);
208 // 保存新数据 209 // 保存新数据
209 boolean flag = mfServicerMaintainService.save(entity); 210 boolean flag = mfServicerMaintainService.save(entity);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!