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