|
@@ -567,6 +567,17 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
|
|
|
tbSopInfoService.updateFlowInfo(sopAllocationParam.getAllocationParams(), tfCustomFlow, tfCustomFlowEntity,
|
|
|
tfFlowApprove, tbCrmDetail);
|
|
|
tbUserArchivesAllocationService.editCrmAllocation(new UserArchivesAllocationParam(sopAllocationParam));
|
|
|
+// FlowResult flowResult = JSONObject.parseObject(tfCustomFlow.getFlowProcessVar(), FlowResult.class);
|
|
|
+// FlowResult flowResultEntity = JSONObject.parseObject(tfCustomFlowEntity.getFlowProcessVar(), FlowResult.class);
|
|
|
+// LinkedHashMap<String, FlowTaskResult> setupMap = flowResult.getSetupMap();
|
|
|
+// LinkedHashMap<String, FlowTaskResult> setupEntityMap = flowResultEntity.getSetupMap();
|
|
|
+// FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, tfFlowApprove.getSetup());
|
|
|
+// FlowTaskResult currFlowTaskResult = GsonUtil.fromJson(
|
|
|
+// GsonUtil.toJson(setupMap.get(flowTaskResult.getTaskKey())), FlowTaskResult.class);
|
|
|
+// setupEntityMap.put(flowTaskResult.getTaskKey(), currFlowTaskResult);
|
|
|
+// flowResultEntity.setSetupMap(setupEntityMap);
|
|
|
+// tfCustomFlowEntity.setFlowProcessVar(JacksonUtil.parseJson(flowResultEntity));
|
|
|
+// tfCustomFlowEntityService.updateById(tfCustomFlowEntity);
|
|
|
tbSopInfoService.sopProxySystemApprove(tfCustomFlowEntity.getFlowId(), tfCustomFlowEntity.getCode());
|
|
|
return true;
|
|
|
}
|