change - 工序关联人员v2

master
yinq 10 months ago
parent c96c320387
commit 012dc68813

@ -80,6 +80,16 @@ public class MesBaseProcessInfoController extends BaseController
return success(mesBaseProcessInfoService.selectMesBaseProcessInfoByProcessId(processId)); 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)); 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));
}
/** /**
* *
*/ */

Loading…
Cancel
Save