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)); + } + /** * 删除工序信息 */