From 1f305ff688283cffe636844fe443677f81303139 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期三, 27 八月 2025 11:58:19 +0800 Subject: [PATCH] 故障报修, 维修工单 迁移 --- src/main/java/org/jeecg/modules/mes/controller/MesWorkReportingController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/controller/MesWorkReportingController.java b/src/main/java/org/jeecg/modules/mes/controller/MesWorkReportingController.java index e9b0225..c4cb1ad 100644 --- a/src/main/java/org/jeecg/modules/mes/controller/MesWorkReportingController.java +++ b/src/main/java/org/jeecg/modules/mes/controller/MesWorkReportingController.java @@ -67,9 +67,9 @@ @ApiOperation(value="宸ュ崟鎶ュ伐-鏂板鎶ュ伐", notes="宸ュ崟鎶ュ伐-鏂板鎶ュ伐") //@RequiresPermissions("org.jeecg.modules:mes_work_reporting:add") @PostMapping(value = "/add") - public Result<String> add(@RequestBody MesWorkReporting mesWorkReporting) { - mesWorkReportingService.addReporting(mesWorkReporting); - return Result.OK("娣诲姞鎴愬姛锛�"); + public Result<MesWorkReporting> add(@RequestBody MesWorkReporting mesWorkReporting) { + MesWorkReporting workReporting = mesWorkReportingService.addReporting(mesWorkReporting); + return Result.OK("娣诲姞鎴愬姛锛�", workReporting); } /** -- Gitblit v1.9.3