|
@@ -122,9 +122,9 @@ public class PlanManageController {
|
|
|
@PostMapping("/plan/submit")
|
|
|
@ApiOperation(value = "提交巡检计划")
|
|
|
public AjaxMessage submitPlan(
|
|
|
- @ApiParam(value = "计划单号", required = true) @RequestParam(required = false) String planId){
|
|
|
+ @ApiParam(value = "计划单号", required = true) @RequestParam(required = false) Integer id){
|
|
|
LoginUser loginUser = UserUtil.getCurrentUser();
|
|
|
- PlanManage planManage = planManageService.selectByPlanId(planId);
|
|
|
+ PlanManage planManage = planManageService.selectByPrimaryKey(id);
|
|
|
//测试数据 test1 1 1
|
|
|
// ProcessDefinition processDefinition = workFlowService.findProcessDefinition(
|
|
|
// loginUser.getTenantId(),
|