|
@@ -9,7 +9,6 @@ import com.qmth.sop.business.bean.params.SopSaveParam;
|
|
|
import com.qmth.sop.business.bean.result.FlowResult;
|
|
|
import com.qmth.sop.business.bean.result.FormWidgetMetadataResult;
|
|
|
import com.qmth.sop.business.entity.SysUser;
|
|
|
-import com.qmth.sop.business.entity.TBSopInfo;
|
|
|
import com.qmth.sop.business.entity.TDFormWidgetMetadata;
|
|
|
import com.qmth.sop.business.service.TBSopInfoService;
|
|
|
import com.qmth.sop.business.service.TDFormWidgetMetadataService;
|
|
@@ -117,9 +116,10 @@ public class TBSopInfoController {
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
return ResultUtil.error(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
|
|
}
|
|
|
- Boolean result = tbSopInfoService.sopAllocation(sopAllocationParam);
|
|
|
- tbSopInfoService.sopProxySystemApprove(sopAllocationParam.getFlowId(), null);
|
|
|
- return ResultUtil.ok(result);
|
|
|
+// Boolean result = tbSopInfoService.sopAllocation(sopAllocationParam);
|
|
|
+// tbSopInfoService.sopProxySystemApprove(sopAllocationParam.getFlowId(), null);
|
|
|
+// return ResultUtil.ok(result);
|
|
|
+ return ResultUtil.ok(tbSopInfoService.sopAllocation(sopAllocationParam));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "sop删除")
|
|
@@ -161,10 +161,11 @@ public class TBSopInfoController {
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
return ResultUtil.error(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
|
|
}
|
|
|
- Boolean result = tbSopInfoService.sopSave(sopSaveParam);
|
|
|
- TBSopInfo tbSopInfo = tbSopInfoService.getById(sopSaveParam.getId());
|
|
|
- tbSopInfoService.sopProxySystemApprove(null, tbSopInfo.getSopNo());
|
|
|
- return ResultUtil.ok(result);
|
|
|
+// Boolean result = tbSopInfoService.sopSave(sopSaveParam);
|
|
|
+// TBSopInfo tbSopInfo = tbSopInfoService.getById(sopSaveParam.getId());
|
|
|
+// tbSopInfoService.sopProxySystemApprove(null, tbSopInfo.getSopNo());
|
|
|
+// return ResultUtil.ok(result);
|
|
|
+ return ResultUtil.ok(tbSopInfoService.sopSave(sopSaveParam));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "sopUsers")
|