|
@@ -120,8 +120,10 @@ public class ItdmRunFlowPathController extends JeecgController<ItdmRunFlowPath,
|
|
|
//@RequiresPermissions("org.jeecg.modules:itdm_run_flow_path:add")
|
|
|
@PostMapping(value = "/add")
|
|
|
public Result<String> add(@RequestBody ItdmCreateRunFlowPath itdmRunFlowPath) {
|
|
|
- itdmRunFlowPathService.createRunFlowPath(itdmRunFlowPath);
|
|
|
- return Result.OK("添加成功!");
|
|
|
+ if(itdmRunFlowPath.getUserName()!=null){
|
|
|
+ itdmRunFlowPathService.createRunFlowPath(itdmRunFlowPath);
|
|
|
+ return Result.OK("添加成功!");
|
|
|
+ }else return Result.error("请选择第一步操作人!");
|
|
|
}
|
|
|
|
|
|
/**
|