Sfoglia il codice sorgente

新增按主键查询巡检计划

wangbo 4 anni fa
parent
commit
93562be829

+ 2 - 2
operation_manager/src/main/java/com/huaxu/task/controller/PlanManageController.java

@@ -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(),