From 012dc688137de08eb72e06730317ebfcbfb39c24 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 30 Jan 2024 15:53:16 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E5=B7=A5=E5=BA=8F=E5=85=B3?= =?UTF-8?q?=E8=81=94=E4=BA=BA=E5=91=98v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MesBaseProcessInfoController.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/hw-modules/hw-mes/src/main/java/com/hw/mes/controller/MesBaseProcessInfoController.java b/hw-modules/hw-mes/src/main/java/com/hw/mes/controller/MesBaseProcessInfoController.java index b97686d..e564717 100644 --- a/hw-modules/hw-mes/src/main/java/com/hw/mes/controller/MesBaseProcessInfoController.java +++ b/hw-modules/hw-mes/src/main/java/com/hw/mes/controller/MesBaseProcessInfoController.java @@ -80,6 +80,16 @@ public class MesBaseProcessInfoController extends BaseController return success(mesBaseProcessInfoService.selectMesBaseProcessInfoByProcessId(processId)); } + /** + * 获取工序用户信息详细信息 + */ + @RequiresPermissions("mes:processInfo:query") + @GetMapping(value = "/user/{processId}") + public AjaxResult getUserInfo(@PathVariable("processId") Long processId) + { + return success(mesBaseProcessInfoService.selectMesBaseProcessInfoUserByProcessId(processId)); + } + /** * 新增工序信息 */ @@ -102,6 +112,17 @@ public class MesBaseProcessInfoController extends BaseController return toAjax(mesBaseProcessInfoService.updateMesBaseProcessInfo(mesBaseProcessInfo)); } + /** + * 修改工序关联人员信息 + */ + @RequiresPermissions("mes:processInfo:edit") + @Log(title = "工序信息", businessType = BusinessType.UPDATE) + @PutMapping("/user") + public AjaxResult editUser(@RequestBody MesBaseProcessInfo mesBaseProcessInfo) + { + return toAjax(mesBaseProcessInfoService.updateMesBaseProcessInfoUser(mesBaseProcessInfo)); + } + /** * 删除工序信息 */