系统功能权限修改

This commit is contained in:
yinjinlu-pc\尹金路 2023-10-16 19:14:55 +08:00
parent 65ea26c410
commit 98546fd715
18 changed files with 107 additions and 107 deletions

View File

@ -39,7 +39,7 @@ public class CalPlanTeamController extends BaseController
/** /**
* 查询计划班组列表 * 查询计划班组列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:planteam:list')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(CalPlanTeam calPlanTeam) public TableDataInfo list(CalPlanTeam calPlanTeam)
{ {
@ -51,7 +51,7 @@ public class CalPlanTeamController extends BaseController
/** /**
* 导出计划班组列表 * 导出计划班组列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:planteam:export')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:export')")
@Log(title = "计划班组", businessType = BusinessType.EXPORT) @Log(title = "计划班组", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, CalPlanTeam calPlanTeam) public void export(HttpServletResponse response, CalPlanTeam calPlanTeam)
@ -64,7 +64,7 @@ public class CalPlanTeamController extends BaseController
/** /**
* 获取计划班组详细信息 * 获取计划班组详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:planteam:query')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:query')")
@GetMapping(value = "/{recordId}") @GetMapping(value = "/{recordId}")
public AjaxResult getInfo(@PathVariable("recordId") Long recordId) public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
{ {
@ -74,7 +74,7 @@ public class CalPlanTeamController extends BaseController
/** /**
* 新增计划班组 * 新增计划班组
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:planteam:add')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:add')")
@Log(title = "计划班组", businessType = BusinessType.INSERT) @Log(title = "计划班组", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody CalPlanTeam calPlanTeam) public AjaxResult add(@RequestBody CalPlanTeam calPlanTeam)
@ -88,7 +88,7 @@ public class CalPlanTeamController extends BaseController
/** /**
* 修改计划班组 * 修改计划班组
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:planteam:edit')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:edit')")
@Log(title = "计划班组", businessType = BusinessType.UPDATE) @Log(title = "计划班组", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody CalPlanTeam calPlanTeam) public AjaxResult edit(@RequestBody CalPlanTeam calPlanTeam)
@ -99,7 +99,7 @@ public class CalPlanTeamController extends BaseController
/** /**
* 删除计划班组 * 删除计划班组
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:planteam:remove')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:remove')")
@Log(title = "计划班组", businessType = BusinessType.DELETE) @Log(title = "计划班组", businessType = BusinessType.DELETE)
@DeleteMapping("/{recordIds}") @DeleteMapping("/{recordIds}")
public AjaxResult remove(@PathVariable Long[] recordIds) public AjaxResult remove(@PathVariable Long[] recordIds)

View File

@ -44,7 +44,7 @@ public class CalShiftController extends BaseController
/** /**
* 查询计划班次列表 * 查询计划班次列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:shift:list')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(CalShift calShift) public TableDataInfo list(CalShift calShift)
{ {
@ -56,7 +56,7 @@ public class CalShiftController extends BaseController
/** /**
* 导出计划班次列表 * 导出计划班次列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:shift:export')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:export')")
@Log(title = "计划班次", businessType = BusinessType.EXPORT) @Log(title = "计划班次", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, CalShift calShift) public void export(HttpServletResponse response, CalShift calShift)
@ -69,7 +69,7 @@ public class CalShiftController extends BaseController
/** /**
* 获取计划班次详细信息 * 获取计划班次详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:shift:query')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:query')")
@GetMapping(value = "/{shiftId}") @GetMapping(value = "/{shiftId}")
public AjaxResult getInfo(@PathVariable("shiftId") Long shiftId) public AjaxResult getInfo(@PathVariable("shiftId") Long shiftId)
{ {
@ -79,7 +79,7 @@ public class CalShiftController extends BaseController
/** /**
* 新增计划班次 * 新增计划班次
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:shift:add')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:add')")
@Log(title = "计划班次", businessType = BusinessType.INSERT) @Log(title = "计划班次", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody CalShift calShift) public AjaxResult add(@RequestBody CalShift calShift)
@ -102,7 +102,7 @@ public class CalShiftController extends BaseController
/** /**
* 修改计划班次 * 修改计划班次
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:shift:edit')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:edit')")
@Log(title = "计划班次", businessType = BusinessType.UPDATE) @Log(title = "计划班次", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody CalShift calShift) public AjaxResult edit(@RequestBody CalShift calShift)
@ -113,7 +113,7 @@ public class CalShiftController extends BaseController
/** /**
* 删除计划班次 * 删除计划班次
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:shift:remove')") @PreAuthorize("@ss.hasPermi('mes:cal:calplan:remove')")
@Log(title = "计划班次", businessType = BusinessType.DELETE) @Log(title = "计划班次", businessType = BusinessType.DELETE)
@DeleteMapping("/{shiftIds}") @DeleteMapping("/{shiftIds}")
public AjaxResult remove(@PathVariable Long[] shiftIds) public AjaxResult remove(@PathVariable Long[] shiftIds)

View File

@ -39,7 +39,7 @@ public class CalTeamMemberController extends BaseController
/** /**
* 查询班组成员列表 * 查询班组成员列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:teammember:list')") @PreAuthorize("@ss.hasPermi('mes:cal:team:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(CalTeamMember calTeamMember) public TableDataInfo list(CalTeamMember calTeamMember)
{ {
@ -51,7 +51,7 @@ public class CalTeamMemberController extends BaseController
/** /**
* 导出班组成员列表 * 导出班组成员列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:teammember:export')") @PreAuthorize("@ss.hasPermi('mes:cal:team:export')")
@Log(title = "班组成员", businessType = BusinessType.EXPORT) @Log(title = "班组成员", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, CalTeamMember calTeamMember) public void export(HttpServletResponse response, CalTeamMember calTeamMember)
@ -64,7 +64,7 @@ public class CalTeamMemberController extends BaseController
/** /**
* 获取班组成员详细信息 * 获取班组成员详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:teammember:query')") @PreAuthorize("@ss.hasPermi('mes:cal:team:query')")
@GetMapping(value = "/{memberId}") @GetMapping(value = "/{memberId}")
public AjaxResult getInfo(@PathVariable("memberId") Long memberId) public AjaxResult getInfo(@PathVariable("memberId") Long memberId)
{ {
@ -74,7 +74,7 @@ public class CalTeamMemberController extends BaseController
/** /**
* 新增班组成员 * 新增班组成员
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:teammember:add')") @PreAuthorize("@ss.hasPermi('mes:cal:team:add')")
@Log(title = "班组成员", businessType = BusinessType.INSERT) @Log(title = "班组成员", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody CalTeamMember calTeamMember) public AjaxResult add(@RequestBody CalTeamMember calTeamMember)
@ -89,7 +89,7 @@ public class CalTeamMemberController extends BaseController
/** /**
* 删除班组成员 * 删除班组成员
*/ */
@PreAuthorize("@ss.hasPermi('mes:cal:teammember:remove')") @PreAuthorize("@ss.hasPermi('mes:cal:team:remove')")
@Log(title = "班组成员", businessType = BusinessType.DELETE) @Log(title = "班组成员", businessType = BusinessType.DELETE)
@DeleteMapping("/{memberIds}") @DeleteMapping("/{memberIds}")
public AjaxResult remove(@PathVariable Long[] memberIds) public AjaxResult remove(@PathVariable Long[] memberIds)

View File

@ -39,7 +39,7 @@ public class DvCheckMachineryController extends BaseController
/** /**
* 查询点检设备列表 * 查询点检设备列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checkmachinery:list')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(DvCheckMachinery dvCheckMachinery) public TableDataInfo list(DvCheckMachinery dvCheckMachinery)
{ {
@ -51,7 +51,7 @@ public class DvCheckMachineryController extends BaseController
/** /**
* 导出点检设备列表 * 导出点检设备列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checkmachinery:export')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:export')")
@Log(title = "点检设备", businessType = BusinessType.EXPORT) @Log(title = "点检设备", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, DvCheckMachinery dvCheckMachinery) public void export(HttpServletResponse response, DvCheckMachinery dvCheckMachinery)
@ -64,7 +64,7 @@ public class DvCheckMachineryController extends BaseController
/** /**
* 获取点检设备详细信息 * 获取点检设备详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checkmachinery:query')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:query')")
@GetMapping(value = "/{recordId}") @GetMapping(value = "/{recordId}")
public AjaxResult getInfo(@PathVariable("recordId") Long recordId) public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
{ {
@ -74,7 +74,7 @@ public class DvCheckMachineryController extends BaseController
/** /**
* 新增点检设备 * 新增点检设备
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checkmachinery:add')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:add')")
@Log(title = "点检设备", businessType = BusinessType.INSERT) @Log(title = "点检设备", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DvCheckMachinery dvCheckMachinery) public AjaxResult add(@RequestBody DvCheckMachinery dvCheckMachinery)
@ -88,7 +88,7 @@ public class DvCheckMachineryController extends BaseController
/** /**
* 修改点检设备 * 修改点检设备
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checkmachinery:edit')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:edit')")
@Log(title = "点检设备", businessType = BusinessType.UPDATE) @Log(title = "点检设备", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody DvCheckMachinery dvCheckMachinery) public AjaxResult edit(@RequestBody DvCheckMachinery dvCheckMachinery)
@ -102,7 +102,7 @@ public class DvCheckMachineryController extends BaseController
/** /**
* 删除点检设备 * 删除点检设备
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checkmachinery:remove')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:remove')")
@Log(title = "点检设备", businessType = BusinessType.DELETE) @Log(title = "点检设备", businessType = BusinessType.DELETE)
@DeleteMapping("/{recordIds}") @DeleteMapping("/{recordIds}")
public AjaxResult remove(@PathVariable Long[] recordIds) public AjaxResult remove(@PathVariable Long[] recordIds)

View File

@ -39,7 +39,7 @@ public class DvCheckSubjectController extends BaseController
/** /**
* 查询点检项目列表 * 查询点检项目列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checksubject:list')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(DvCheckSubject dvCheckSubject) public TableDataInfo list(DvCheckSubject dvCheckSubject)
{ {
@ -51,7 +51,7 @@ public class DvCheckSubjectController extends BaseController
/** /**
* 导出点检项目列表 * 导出点检项目列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checksubject:export')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:export')")
@Log(title = "点检项目", businessType = BusinessType.EXPORT) @Log(title = "点检项目", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, DvCheckSubject dvCheckSubject) public void export(HttpServletResponse response, DvCheckSubject dvCheckSubject)
@ -64,7 +64,7 @@ public class DvCheckSubjectController extends BaseController
/** /**
* 获取点检项目详细信息 * 获取点检项目详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checksubject:query')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:query')")
@GetMapping(value = "/{recordId}") @GetMapping(value = "/{recordId}")
public AjaxResult getInfo(@PathVariable("recordId") Long recordId) public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
{ {
@ -74,7 +74,7 @@ public class DvCheckSubjectController extends BaseController
/** /**
* 新增点检项目 * 新增点检项目
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checksubject:add')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:add')")
@Log(title = "点检项目", businessType = BusinessType.INSERT) @Log(title = "点检项目", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DvCheckSubject dvCheckSubject) public AjaxResult add(@RequestBody DvCheckSubject dvCheckSubject)
@ -89,7 +89,7 @@ public class DvCheckSubjectController extends BaseController
/** /**
* 修改点检项目 * 修改点检项目
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checksubject:edit')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:edit')")
@Log(title = "点检项目", businessType = BusinessType.UPDATE) @Log(title = "点检项目", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody DvCheckSubject dvCheckSubject) public AjaxResult edit(@RequestBody DvCheckSubject dvCheckSubject)
@ -103,7 +103,7 @@ public class DvCheckSubjectController extends BaseController
/** /**
* 删除点检项目 * 删除点检项目
*/ */
@PreAuthorize("@ss.hasPermi('mes:dv:checksubject:remove')") @PreAuthorize("@ss.hasPermi('mes:dv:checkplan:remove')")
@Log(title = "点检项目", businessType = BusinessType.DELETE) @Log(title = "点检项目", businessType = BusinessType.DELETE)
@DeleteMapping("/{recordIds}") @DeleteMapping("/{recordIds}")
public AjaxResult remove(@PathVariable Long[] recordIds) public AjaxResult remove(@PathVariable Long[] recordIds)

View File

@ -45,7 +45,7 @@ public class MdWorkstationMachineController extends BaseController
/** /**
* 查询设备资源列表 * 查询设备资源列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationmachine:list')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(MdWorkstationMachine mdWorkstationMachine) public TableDataInfo list(MdWorkstationMachine mdWorkstationMachine)
{ {
@ -57,7 +57,7 @@ public class MdWorkstationMachineController extends BaseController
/** /**
* 导出设备资源列表 * 导出设备资源列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationmachine:export')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:export')")
@Log(title = "设备资源", businessType = BusinessType.EXPORT) @Log(title = "设备资源", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, MdWorkstationMachine mdWorkstationMachine) public void export(HttpServletResponse response, MdWorkstationMachine mdWorkstationMachine)
@ -70,7 +70,7 @@ public class MdWorkstationMachineController extends BaseController
/** /**
* 获取设备资源详细信息 * 获取设备资源详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationmachine:query')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:query')")
@GetMapping(value = "/{recordId}") @GetMapping(value = "/{recordId}")
public AjaxResult getInfo(@PathVariable("recordId") Long recordId) public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
{ {
@ -80,7 +80,7 @@ public class MdWorkstationMachineController extends BaseController
/** /**
* 新增设备资源 * 新增设备资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationmachine:add')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:add')")
@Log(title = "设备资源", businessType = BusinessType.INSERT) @Log(title = "设备资源", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody MdWorkstationMachine mdWorkstationMachine) public AjaxResult add(@RequestBody MdWorkstationMachine mdWorkstationMachine)
@ -96,7 +96,7 @@ public class MdWorkstationMachineController extends BaseController
/** /**
* 修改设备资源 * 修改设备资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationmachine:edit')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:edit')")
@Log(title = "设备资源", businessType = BusinessType.UPDATE) @Log(title = "设备资源", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody MdWorkstationMachine mdWorkstationMachine) public AjaxResult edit(@RequestBody MdWorkstationMachine mdWorkstationMachine)
@ -107,7 +107,7 @@ public class MdWorkstationMachineController extends BaseController
/** /**
* 删除设备资源 * 删除设备资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationmachine:remove')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:remove')")
@Log(title = "设备资源", businessType = BusinessType.DELETE) @Log(title = "设备资源", businessType = BusinessType.DELETE)
@DeleteMapping("/{recordIds}") @DeleteMapping("/{recordIds}")
public AjaxResult remove(@PathVariable Long[] recordIds) public AjaxResult remove(@PathVariable Long[] recordIds)

View File

@ -44,7 +44,7 @@ public class MdWorkstationToolController extends BaseController
/** /**
* 查询工装夹具资源列表 * 查询工装夹具资源列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationtool:list')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(MdWorkstationTool mdWorkstationTool) public TableDataInfo list(MdWorkstationTool mdWorkstationTool)
{ {
@ -56,7 +56,7 @@ public class MdWorkstationToolController extends BaseController
/** /**
* 导出工装夹具资源列表 * 导出工装夹具资源列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationtool:export')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:export')")
@Log(title = "工装夹具资源", businessType = BusinessType.EXPORT) @Log(title = "工装夹具资源", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, MdWorkstationTool mdWorkstationTool) public void export(HttpServletResponse response, MdWorkstationTool mdWorkstationTool)
@ -69,7 +69,7 @@ public class MdWorkstationToolController extends BaseController
/** /**
* 获取工装夹具资源详细信息 * 获取工装夹具资源详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationtool:query')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:query')")
@GetMapping(value = "/{recordId}") @GetMapping(value = "/{recordId}")
public AjaxResult getInfo(@PathVariable("recordId") Long recordId) public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
{ {
@ -79,7 +79,7 @@ public class MdWorkstationToolController extends BaseController
/** /**
* 新增工装夹具资源 * 新增工装夹具资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationtool:add')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:add')")
@Log(title = "工装夹具资源", businessType = BusinessType.INSERT) @Log(title = "工装夹具资源", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody MdWorkstationTool mdWorkstationTool) public AjaxResult add(@RequestBody MdWorkstationTool mdWorkstationTool)
@ -96,7 +96,7 @@ public class MdWorkstationToolController extends BaseController
/** /**
* 修改工装夹具资源 * 修改工装夹具资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationtool:edit')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:edit')")
@Log(title = "工装夹具资源", businessType = BusinessType.UPDATE) @Log(title = "工装夹具资源", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody MdWorkstationTool mdWorkstationTool) public AjaxResult edit(@RequestBody MdWorkstationTool mdWorkstationTool)
@ -113,7 +113,7 @@ public class MdWorkstationToolController extends BaseController
/** /**
* 删除工装夹具资源 * 删除工装夹具资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationtool:remove')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:remove')")
@Log(title = "工装夹具资源", businessType = BusinessType.DELETE) @Log(title = "工装夹具资源", businessType = BusinessType.DELETE)
@DeleteMapping("/{recordIds}") @DeleteMapping("/{recordIds}")
public AjaxResult remove(@PathVariable Long[] recordIds) public AjaxResult remove(@PathVariable Long[] recordIds)

View File

@ -45,7 +45,7 @@ public class MdWorkstationWorkerController extends BaseController
/** /**
* 查询人力资源列表 * 查询人力资源列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationworker:list')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(MdWorkstationWorker mdWorkstationWorker) public TableDataInfo list(MdWorkstationWorker mdWorkstationWorker)
{ {
@ -57,7 +57,7 @@ public class MdWorkstationWorkerController extends BaseController
/** /**
* 导出人力资源列表 * 导出人力资源列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationworker:export')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:export')")
@Log(title = "人力资源", businessType = BusinessType.EXPORT) @Log(title = "人力资源", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, MdWorkstationWorker mdWorkstationWorker) public void export(HttpServletResponse response, MdWorkstationWorker mdWorkstationWorker)
@ -70,7 +70,7 @@ public class MdWorkstationWorkerController extends BaseController
/** /**
* 获取人力资源详细信息 * 获取人力资源详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationworker:query')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:query')")
@GetMapping(value = "/{recordId}") @GetMapping(value = "/{recordId}")
public AjaxResult getInfo(@PathVariable("recordId") Long recordId) public AjaxResult getInfo(@PathVariable("recordId") Long recordId)
{ {
@ -80,7 +80,7 @@ public class MdWorkstationWorkerController extends BaseController
/** /**
* 新增人力资源 * 新增人力资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationworker:add')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:add')")
@Log(title = "人力资源", businessType = BusinessType.INSERT) @Log(title = "人力资源", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody MdWorkstationWorker mdWorkstationWorker) public AjaxResult add(@RequestBody MdWorkstationWorker mdWorkstationWorker)
@ -97,7 +97,7 @@ public class MdWorkstationWorkerController extends BaseController
/** /**
* 修改人力资源 * 修改人力资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationworker:edit')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:edit')")
@Log(title = "人力资源", businessType = BusinessType.UPDATE) @Log(title = "人力资源", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody MdWorkstationWorker mdWorkstationWorker) public AjaxResult edit(@RequestBody MdWorkstationWorker mdWorkstationWorker)
@ -114,7 +114,7 @@ public class MdWorkstationWorkerController extends BaseController
/** /**
* 删除人力资源 * 删除人力资源
*/ */
@PreAuthorize("@ss.hasPermi('mes:md:workstationworker:remove')") @PreAuthorize("@ss.hasPermi('mes:md:workstation:remove')")
@Log(title = "人力资源", businessType = BusinessType.DELETE) @Log(title = "人力资源", businessType = BusinessType.DELETE)
@DeleteMapping("/{recordIds}") @DeleteMapping("/{recordIds}")
public AjaxResult remove(@PathVariable Long[] recordIds) public AjaxResult remove(@PathVariable Long[] recordIds)

View File

@ -37,7 +37,7 @@ public class ProProcessContentController extends BaseController
/** /**
* 查询生产工序内容列表 * 查询生产工序内容列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:processcontent:list')") @PreAuthorize("@ss.hasPermi('mes:pro:process:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(ProProcessContent proProcessContent) public TableDataInfo list(ProProcessContent proProcessContent)
{ {
@ -49,7 +49,7 @@ public class ProProcessContentController extends BaseController
/** /**
* 导出生产工序内容列表 * 导出生产工序内容列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:processcontent:export')") @PreAuthorize("@ss.hasPermi('mes:pro:process:export')")
@Log(title = "生产工序内容", businessType = BusinessType.EXPORT) @Log(title = "生产工序内容", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, ProProcessContent proProcessContent) public void export(HttpServletResponse response, ProProcessContent proProcessContent)
@ -62,7 +62,7 @@ public class ProProcessContentController extends BaseController
/** /**
* 获取生产工序内容详细信息 * 获取生产工序内容详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:processcontent:query')") @PreAuthorize("@ss.hasPermi('mes:pro:process:query')")
@GetMapping(value = "/{contentId}") @GetMapping(value = "/{contentId}")
public AjaxResult getInfo(@PathVariable("contentId") Long contentId) public AjaxResult getInfo(@PathVariable("contentId") Long contentId)
{ {
@ -72,7 +72,7 @@ public class ProProcessContentController extends BaseController
/** /**
* 新增生产工序内容 * 新增生产工序内容
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:processcontent:add')") @PreAuthorize("@ss.hasPermi('mes:pro:process:add')")
@Log(title = "生产工序内容", businessType = BusinessType.INSERT) @Log(title = "生产工序内容", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody ProProcessContent proProcessContent) public AjaxResult add(@RequestBody ProProcessContent proProcessContent)
@ -83,7 +83,7 @@ public class ProProcessContentController extends BaseController
/** /**
* 修改生产工序内容 * 修改生产工序内容
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:processcontent:edit')") @PreAuthorize("@ss.hasPermi('mes:pro:process:edit')")
@Log(title = "生产工序内容", businessType = BusinessType.UPDATE) @Log(title = "生产工序内容", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody ProProcessContent proProcessContent) public AjaxResult edit(@RequestBody ProProcessContent proProcessContent)
@ -94,7 +94,7 @@ public class ProProcessContentController extends BaseController
/** /**
* 删除生产工序内容 * 删除生产工序内容
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:processcontent:remove')") @PreAuthorize("@ss.hasPermi('mes:pro:process:remove')")
@Log(title = "生产工序内容", businessType = BusinessType.DELETE) @Log(title = "生产工序内容", businessType = BusinessType.DELETE)
@DeleteMapping("/{contentIds}") @DeleteMapping("/{contentIds}")
public AjaxResult remove(@PathVariable Long[] contentIds) public AjaxResult remove(@PathVariable Long[] contentIds)

View File

@ -37,7 +37,7 @@ public class ProWorkorderBomController extends BaseController
/** /**
* 查询生产工单BOM组成列表 * 查询生产工单BOM组成列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:list')") @PreAuthorize("@ss.hasPermi('mes:pro:workorder:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(ProWorkorderBom proWorkorderBom) public TableDataInfo list(ProWorkorderBom proWorkorderBom)
{ {
@ -49,7 +49,7 @@ public class ProWorkorderBomController extends BaseController
/** /**
* 导出生产工单BOM组成列表 * 导出生产工单BOM组成列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:export')") @PreAuthorize("@ss.hasPermi('mes:pro:workorder:export')")
@Log(title = "生产工单BOM组成", businessType = BusinessType.EXPORT) @Log(title = "生产工单BOM组成", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, ProWorkorderBom proWorkorderBom) public void export(HttpServletResponse response, ProWorkorderBom proWorkorderBom)
@ -62,7 +62,7 @@ public class ProWorkorderBomController extends BaseController
/** /**
* 获取生产工单BOM组成详细信息 * 获取生产工单BOM组成详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:query')") @PreAuthorize("@ss.hasPermi('mes:pro:workorder:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -72,7 +72,7 @@ public class ProWorkorderBomController extends BaseController
/** /**
* 新增生产工单BOM组成 * 新增生产工单BOM组成
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:add')") @PreAuthorize("@ss.hasPermi('mes:pro:workorder:add')")
@Log(title = "生产工单BOM组成", businessType = BusinessType.INSERT) @Log(title = "生产工单BOM组成", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody ProWorkorderBom proWorkorderBom) public AjaxResult add(@RequestBody ProWorkorderBom proWorkorderBom)
@ -83,7 +83,7 @@ public class ProWorkorderBomController extends BaseController
/** /**
* 修改生产工单BOM组成 * 修改生产工单BOM组成
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:edit')") @PreAuthorize("@ss.hasPermi('mes:pro:workorder:edit')")
@Log(title = "生产工单BOM组成", businessType = BusinessType.UPDATE) @Log(title = "生产工单BOM组成", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody ProWorkorderBom proWorkorderBom) public AjaxResult edit(@RequestBody ProWorkorderBom proWorkorderBom)
@ -94,7 +94,7 @@ public class ProWorkorderBomController extends BaseController
/** /**
* 删除生产工单BOM组成 * 删除生产工单BOM组成
*/ */
@PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:remove')") @PreAuthorize("@ss.hasPermi('mes:pro:workorder:remove')")
@Log(title = "生产工单BOM组成", businessType = BusinessType.DELETE) @Log(title = "生产工单BOM组成", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -37,7 +37,7 @@ public class WmIssueLineController extends BaseController
/** /**
* 查询生产领料单行列表 * 查询生产领料单行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:issueline:list')") @PreAuthorize("@ss.hasPermi('mes:wm:issueheader:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(WmIssueLine wmIssueLine) public TableDataInfo list(WmIssueLine wmIssueLine)
{ {
@ -49,7 +49,7 @@ public class WmIssueLineController extends BaseController
/** /**
* 导出生产领料单行列表 * 导出生产领料单行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:issueline:export')") @PreAuthorize("@ss.hasPermi('mes:wm:issueheader:export')")
@Log(title = "生产领料单行", businessType = BusinessType.EXPORT) @Log(title = "生产领料单行", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, WmIssueLine wmIssueLine) public void export(HttpServletResponse response, WmIssueLine wmIssueLine)
@ -62,7 +62,7 @@ public class WmIssueLineController extends BaseController
/** /**
* 获取生产领料单行详细信息 * 获取生产领料单行详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:issueline:query')") @PreAuthorize("@ss.hasPermi('mes:wm:issueheader:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -72,7 +72,7 @@ public class WmIssueLineController extends BaseController
/** /**
* 新增生产领料单行 * 新增生产领料单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:issueline:add')") @PreAuthorize("@ss.hasPermi('mes:wm:issueheader:add')")
@Log(title = "生产领料单行", businessType = BusinessType.INSERT) @Log(title = "生产领料单行", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody WmIssueLine wmIssueLine) public AjaxResult add(@RequestBody WmIssueLine wmIssueLine)
@ -84,7 +84,7 @@ public class WmIssueLineController extends BaseController
/** /**
* 修改生产领料单行 * 修改生产领料单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:issueline:edit')") @PreAuthorize("@ss.hasPermi('mes:wm:issueheader:edit')")
@Log(title = "生产领料单行", businessType = BusinessType.UPDATE) @Log(title = "生产领料单行", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody WmIssueLine wmIssueLine) public AjaxResult edit(@RequestBody WmIssueLine wmIssueLine)
@ -95,7 +95,7 @@ public class WmIssueLineController extends BaseController
/** /**
* 删除生产领料单行 * 删除生产领料单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:issueline:remove')") @PreAuthorize("@ss.hasPermi('mes:wm:issueheader:remove')")
@Log(title = "生产领料单行", businessType = BusinessType.DELETE) @Log(title = "生产领料单行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -37,7 +37,7 @@ public class WmItemConsumeLineController extends BaseController
/** /**
* 查询物料消耗记录行列表 * 查询物料消耗记录行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemconsumeline:list')") @PreAuthorize("@ss.hasPermi('mes:wm:itemconsume:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(WmItemConsumeLine wmItemConsumeLine) public TableDataInfo list(WmItemConsumeLine wmItemConsumeLine)
{ {
@ -49,7 +49,7 @@ public class WmItemConsumeLineController extends BaseController
/** /**
* 导出物料消耗记录行列表 * 导出物料消耗记录行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemconsumeline:export')") @PreAuthorize("@ss.hasPermi('mes:wm:itemconsume:export')")
@Log(title = "物料消耗记录行", businessType = BusinessType.EXPORT) @Log(title = "物料消耗记录行", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, WmItemConsumeLine wmItemConsumeLine) public void export(HttpServletResponse response, WmItemConsumeLine wmItemConsumeLine)
@ -62,7 +62,7 @@ public class WmItemConsumeLineController extends BaseController
/** /**
* 获取物料消耗记录行详细信息 * 获取物料消耗记录行详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemconsumeline:query')") @PreAuthorize("@ss.hasPermi('mes:wm:itemconsume:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -72,7 +72,7 @@ public class WmItemConsumeLineController extends BaseController
/** /**
* 新增物料消耗记录行 * 新增物料消耗记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemconsumeline:add')") @PreAuthorize("@ss.hasPermi('mes:wm:itemconsume:add')")
@Log(title = "物料消耗记录行", businessType = BusinessType.INSERT) @Log(title = "物料消耗记录行", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody WmItemConsumeLine wmItemConsumeLine) public AjaxResult add(@RequestBody WmItemConsumeLine wmItemConsumeLine)
@ -83,7 +83,7 @@ public class WmItemConsumeLineController extends BaseController
/** /**
* 修改物料消耗记录行 * 修改物料消耗记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemconsumeline:edit')") @PreAuthorize("@ss.hasPermi('mes:wm:itemconsume:edit')")
@Log(title = "物料消耗记录行", businessType = BusinessType.UPDATE) @Log(title = "物料消耗记录行", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody WmItemConsumeLine wmItemConsumeLine) public AjaxResult edit(@RequestBody WmItemConsumeLine wmItemConsumeLine)
@ -94,7 +94,7 @@ public class WmItemConsumeLineController extends BaseController
/** /**
* 删除物料消耗记录行 * 删除物料消耗记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemconsumeline:remove')") @PreAuthorize("@ss.hasPermi('mes:wm:itemconsume:remove')")
@Log(title = "物料消耗记录行", businessType = BusinessType.DELETE) @Log(title = "物料消耗记录行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -55,7 +55,7 @@ public class WmItemRecptLineController extends BaseController
/** /**
* 查询物料入库单行列表 * 查询物料入库单行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemrecptline:list')") @PreAuthorize("@ss.hasPermi('mes:wm:itemrecpt:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(WmItemRecptLine wmItemRecptLine) public TableDataInfo list(WmItemRecptLine wmItemRecptLine)
{ {
@ -67,7 +67,7 @@ public class WmItemRecptLineController extends BaseController
/** /**
* 导出物料入库单行列表 * 导出物料入库单行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemrecptline:export')") @PreAuthorize("@ss.hasPermi('mes:wm:itemrecpt:export')")
@Log(title = "物料入库单行", businessType = BusinessType.EXPORT) @Log(title = "物料入库单行", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, WmItemRecptLine wmItemRecptLine) public void export(HttpServletResponse response, WmItemRecptLine wmItemRecptLine)
@ -80,7 +80,7 @@ public class WmItemRecptLineController extends BaseController
/** /**
* 获取物料入库单行详细信息 * 获取物料入库单行详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemrecptline:query')") @PreAuthorize("@ss.hasPermi('mes:wm:itemrecpt:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -90,7 +90,7 @@ public class WmItemRecptLineController extends BaseController
/** /**
* 新增物料入库单行 * 新增物料入库单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemrecptline:add')") @PreAuthorize("@ss.hasPermi('mes:wm:itemrecpt:add')")
@Log(title = "物料入库单行", businessType = BusinessType.INSERT) @Log(title = "物料入库单行", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody WmItemRecptLine wmItemRecptLine) public AjaxResult add(@RequestBody WmItemRecptLine wmItemRecptLine)
@ -117,7 +117,7 @@ public class WmItemRecptLineController extends BaseController
/** /**
* 修改物料入库单行 * 修改物料入库单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemrecptline:edit')") @PreAuthorize("@ss.hasPermi('mes:wm:itemrecpt:edit')")
@Log(title = "物料入库单行", businessType = BusinessType.UPDATE) @Log(title = "物料入库单行", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody WmItemRecptLine wmItemRecptLine) public AjaxResult edit(@RequestBody WmItemRecptLine wmItemRecptLine)
@ -143,7 +143,7 @@ public class WmItemRecptLineController extends BaseController
/** /**
* 删除物料入库单行 * 删除物料入库单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:itemrecptline:remove')") @PreAuthorize("@ss.hasPermi('mes:wm:itemrecpt:remove')")
@Log(title = "物料入库单行", businessType = BusinessType.DELETE) @Log(title = "物料入库单行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -37,7 +37,7 @@ public class WmProductProduceLineController extends BaseController
/** /**
* 查询产品产出记录行列表 * 查询产品产出记录行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productproduceline:list')") @PreAuthorize("@ss.hasPermi('mes:wm:productproduce:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(WmProductProduceLine wmProductProduceLine) public TableDataInfo list(WmProductProduceLine wmProductProduceLine)
{ {
@ -49,7 +49,7 @@ public class WmProductProduceLineController extends BaseController
/** /**
* 导出产品产出记录行列表 * 导出产品产出记录行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productproduceline:export')") @PreAuthorize("@ss.hasPermi('mes:wm:productproduce:export')")
@Log(title = "产品产出记录行", businessType = BusinessType.EXPORT) @Log(title = "产品产出记录行", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, WmProductProduceLine wmProductProduceLine) public void export(HttpServletResponse response, WmProductProduceLine wmProductProduceLine)
@ -62,7 +62,7 @@ public class WmProductProduceLineController extends BaseController
/** /**
* 获取产品产出记录行详细信息 * 获取产品产出记录行详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productproduceline:query')") @PreAuthorize("@ss.hasPermi('mes:wm:productproduce:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -72,7 +72,7 @@ public class WmProductProduceLineController extends BaseController
/** /**
* 新增产品产出记录行 * 新增产品产出记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productproduceline:add')") @PreAuthorize("@ss.hasPermi('mes:wm:productproduce:add')")
@Log(title = "产品产出记录行", businessType = BusinessType.INSERT) @Log(title = "产品产出记录行", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody WmProductProduceLine wmProductProduceLine) public AjaxResult add(@RequestBody WmProductProduceLine wmProductProduceLine)
@ -83,7 +83,7 @@ public class WmProductProduceLineController extends BaseController
/** /**
* 修改产品产出记录行 * 修改产品产出记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productproduceline:edit')") @PreAuthorize("@ss.hasPermi('mes:wm:productproduce:edit')")
@Log(title = "产品产出记录行", businessType = BusinessType.UPDATE) @Log(title = "产品产出记录行", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody WmProductProduceLine wmProductProduceLine) public AjaxResult edit(@RequestBody WmProductProduceLine wmProductProduceLine)
@ -94,7 +94,7 @@ public class WmProductProduceLineController extends BaseController
/** /**
* 删除产品产出记录行 * 删除产品产出记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productproduceline:remove')") @PreAuthorize("@ss.hasPermi('mes:wm:productproduce:remove')")
@Log(title = "产品产出记录行", businessType = BusinessType.DELETE) @Log(title = "产品产出记录行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -54,7 +54,7 @@ public class WmProductRecptLineController extends BaseController
/** /**
* 查询产品入库记录行列表 * 查询产品入库记录行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productrecptline:list')") @PreAuthorize("@ss.hasPermi('mes:wm:productrecpt:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(WmProductRecptLine wmProductRecptLine) public TableDataInfo list(WmProductRecptLine wmProductRecptLine)
{ {
@ -66,7 +66,7 @@ public class WmProductRecptLineController extends BaseController
/** /**
* 导出产品入库记录行列表 * 导出产品入库记录行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productrecptline:export')") @PreAuthorize("@ss.hasPermi('mes:wm:productrecpt:export')")
@Log(title = "产品入库记录行", businessType = BusinessType.EXPORT) @Log(title = "产品入库记录行", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, WmProductRecptLine wmProductRecptLine) public void export(HttpServletResponse response, WmProductRecptLine wmProductRecptLine)
@ -79,7 +79,7 @@ public class WmProductRecptLineController extends BaseController
/** /**
* 获取产品入库记录行详细信息 * 获取产品入库记录行详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productrecptline:query')") @PreAuthorize("@ss.hasPermi('mes:wm:productrecpt:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -89,7 +89,7 @@ public class WmProductRecptLineController extends BaseController
/** /**
* 新增产品入库记录行 * 新增产品入库记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productrecptline:add')") @PreAuthorize("@ss.hasPermi('mes:wm:productrecpt:add')")
@Log(title = "产品入库记录行", businessType = BusinessType.INSERT) @Log(title = "产品入库记录行", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody WmProductRecptLine wmProductRecptLine) public AjaxResult add(@RequestBody WmProductRecptLine wmProductRecptLine)
@ -116,7 +116,7 @@ public class WmProductRecptLineController extends BaseController
/** /**
* 修改产品入库记录行 * 修改产品入库记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productrecptline:edit')") @PreAuthorize("@ss.hasPermi('mes:wm:productrecpt:edit')")
@Log(title = "产品入库记录行", businessType = BusinessType.UPDATE) @Log(title = "产品入库记录行", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody WmProductRecptLine wmProductRecptLine) public AjaxResult edit(@RequestBody WmProductRecptLine wmProductRecptLine)
@ -142,7 +142,7 @@ public class WmProductRecptLineController extends BaseController
/** /**
* 删除产品入库记录行 * 删除产品入库记录行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productrecptline:remove')") @PreAuthorize("@ss.hasPermi('mes:wm:productrecpt:remove')")
@Log(title = "产品入库记录行", businessType = BusinessType.DELETE) @Log(title = "产品入库记录行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -37,7 +37,7 @@ public class WmProductSalseLineController extends BaseController
/** /**
* 查询产品销售出库行列表 * 查询产品销售出库行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productsalseline:list')") @PreAuthorize("@ss.hasPermi('mes:wm:productsalse:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(WmProductSalseLine wmProductSalseLine) public TableDataInfo list(WmProductSalseLine wmProductSalseLine)
{ {
@ -49,7 +49,7 @@ public class WmProductSalseLineController extends BaseController
/** /**
* 导出产品销售出库行列表 * 导出产品销售出库行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productsalseline:export')") @PreAuthorize("@ss.hasPermi('mes:wm:productsalse:export')")
@Log(title = "产品销售出库行", businessType = BusinessType.EXPORT) @Log(title = "产品销售出库行", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, WmProductSalseLine wmProductSalseLine) public void export(HttpServletResponse response, WmProductSalseLine wmProductSalseLine)
@ -62,7 +62,7 @@ public class WmProductSalseLineController extends BaseController
/** /**
* 获取产品销售出库行详细信息 * 获取产品销售出库行详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productsalseline:query')") @PreAuthorize("@ss.hasPermi('mes:wm:productsalse:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -72,7 +72,7 @@ public class WmProductSalseLineController extends BaseController
/** /**
* 新增产品销售出库行 * 新增产品销售出库行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productsalseline:add')") @PreAuthorize("@ss.hasPermi('mes:wm:productsalse:add')")
@Log(title = "产品销售出库行", businessType = BusinessType.INSERT) @Log(title = "产品销售出库行", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody WmProductSalseLine wmProductSalseLine) public AjaxResult add(@RequestBody WmProductSalseLine wmProductSalseLine)
@ -84,7 +84,7 @@ public class WmProductSalseLineController extends BaseController
/** /**
* 修改产品销售出库行 * 修改产品销售出库行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productsalseline:edit')") @PreAuthorize("@ss.hasPermi('mes:wm:productsalse:edit')")
@Log(title = "产品销售出库行", businessType = BusinessType.UPDATE) @Log(title = "产品销售出库行", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody WmProductSalseLine wmProductSalseLine) public AjaxResult edit(@RequestBody WmProductSalseLine wmProductSalseLine)
@ -95,7 +95,7 @@ public class WmProductSalseLineController extends BaseController
/** /**
* 删除产品销售出库行 * 删除产品销售出库行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:productsalseline:remove')") @PreAuthorize("@ss.hasPermi('mes:wm:productsalse:remove')")
@Log(title = "产品销售出库行", businessType = BusinessType.DELETE) @Log(title = "产品销售出库行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -37,7 +37,7 @@ public class WmRtVendorLineController extends BaseController
/** /**
* 查询供应商退货行列表 * 查询供应商退货行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:rtvendorline:list')") @PreAuthorize("@ss.hasPermi('mes:wm:rtvendor:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(WmRtVendorLine wmRtVendorLine) public TableDataInfo list(WmRtVendorLine wmRtVendorLine)
{ {
@ -49,7 +49,7 @@ public class WmRtVendorLineController extends BaseController
/** /**
* 导出供应商退货行列表 * 导出供应商退货行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:rtvendorline:export')") @PreAuthorize("@ss.hasPermi('mes:wm:rtvendor:export')")
@Log(title = "供应商退货行", businessType = BusinessType.EXPORT) @Log(title = "供应商退货行", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, WmRtVendorLine wmRtVendorLine) public void export(HttpServletResponse response, WmRtVendorLine wmRtVendorLine)
@ -62,7 +62,7 @@ public class WmRtVendorLineController extends BaseController
/** /**
* 获取供应商退货行详细信息 * 获取供应商退货行详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:rtvendorline:query')") @PreAuthorize("@ss.hasPermi('mes:wm:rtvendor:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -72,7 +72,7 @@ public class WmRtVendorLineController extends BaseController
/** /**
* 新增供应商退货行 * 新增供应商退货行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:rtvendorline:add')") @PreAuthorize("@ss.hasPermi('mes:wm:rtvendor:add')")
@Log(title = "供应商退货行", businessType = BusinessType.INSERT) @Log(title = "供应商退货行", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody WmRtVendorLine wmRtVendorLine) public AjaxResult add(@RequestBody WmRtVendorLine wmRtVendorLine)
@ -84,7 +84,7 @@ public class WmRtVendorLineController extends BaseController
/** /**
* 修改供应商退货行 * 修改供应商退货行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:rtvendorline:edit')") @PreAuthorize("@ss.hasPermi('mes:wm:rtvendor:edit')")
@Log(title = "供应商退货行", businessType = BusinessType.UPDATE) @Log(title = "供应商退货行", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody WmRtVendorLine wmRtVendorLine) public AjaxResult edit(@RequestBody WmRtVendorLine wmRtVendorLine)
@ -95,7 +95,7 @@ public class WmRtVendorLineController extends BaseController
/** /**
* 删除供应商退货行 * 删除供应商退货行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:rtvendorline:remove')") @PreAuthorize("@ss.hasPermi('mes:wm:rtvendor:remove')")
@Log(title = "供应商退货行", businessType = BusinessType.DELETE) @Log(title = "供应商退货行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)

View File

@ -53,7 +53,7 @@ public class WmTransferLineController extends BaseController
/** /**
* 查询转移单行列表 * 查询转移单行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:transferline:list')") @PreAuthorize("@ss.hasPermi('mes:wm:transfer:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(WmTransferLine wmTransferLine) public TableDataInfo list(WmTransferLine wmTransferLine)
{ {
@ -65,7 +65,7 @@ public class WmTransferLineController extends BaseController
/** /**
* 导出转移单行列表 * 导出转移单行列表
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:transferline:export')") @PreAuthorize("@ss.hasPermi('mes:wm:transfer:export')")
@Log(title = "转移单行", businessType = BusinessType.EXPORT) @Log(title = "转移单行", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, WmTransferLine wmTransferLine) public void export(HttpServletResponse response, WmTransferLine wmTransferLine)
@ -78,7 +78,7 @@ public class WmTransferLineController extends BaseController
/** /**
* 获取转移单行详细信息 * 获取转移单行详细信息
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:transferline:query')") @PreAuthorize("@ss.hasPermi('mes:wm:transfer:query')")
@GetMapping(value = "/{lineId}") @GetMapping(value = "/{lineId}")
public AjaxResult getInfo(@PathVariable("lineId") Long lineId) public AjaxResult getInfo(@PathVariable("lineId") Long lineId)
{ {
@ -88,7 +88,7 @@ public class WmTransferLineController extends BaseController
/** /**
* 新增转移单行 * 新增转移单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:transferline:add')") @PreAuthorize("@ss.hasPermi('mes:wm:transfer:add')")
@Log(title = "转移单行", businessType = BusinessType.INSERT) @Log(title = "转移单行", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody WmTransferLine wmTransferLine) public AjaxResult add(@RequestBody WmTransferLine wmTransferLine)
@ -130,7 +130,7 @@ public class WmTransferLineController extends BaseController
/** /**
* 修改转移单行 * 修改转移单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:transferline:edit')") @PreAuthorize("@ss.hasPermi('mes:wm:transfer:edit')")
@Log(title = "转移单行", businessType = BusinessType.UPDATE) @Log(title = "转移单行", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody WmTransferLine wmTransferLine) public AjaxResult edit(@RequestBody WmTransferLine wmTransferLine)
@ -171,7 +171,7 @@ public class WmTransferLineController extends BaseController
/** /**
* 删除转移单行 * 删除转移单行
*/ */
@PreAuthorize("@ss.hasPermi('mes:wm:transferline:remove')") @PreAuthorize("@ss.hasPermi('mes:wm:transfer:remove')")
@Log(title = "转移单行", businessType = BusinessType.DELETE) @Log(title = "转移单行", businessType = BusinessType.DELETE)
@DeleteMapping("/{lineIds}") @DeleteMapping("/{lineIds}")
public AjaxResult remove(@PathVariable Long[] lineIds) public AjaxResult remove(@PathVariable Long[] lineIds)