diff --git a/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalPlanTeamController.java b/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalPlanTeamController.java index 7446b51..20dbaaf 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalPlanTeamController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalPlanTeamController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{recordIds}") public AjaxResult remove(@PathVariable Long[] recordIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalShiftController.java b/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalShiftController.java index bbb3079..7f48962 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalShiftController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalShiftController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{shiftIds}") public AjaxResult remove(@PathVariable Long[] shiftIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalTeamMemberController.java b/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalTeamMemberController.java index 20dc55f..11f6090 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalTeamMemberController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/cal/controller/CalTeamMemberController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @DeleteMapping("/{memberIds}") public AjaxResult remove(@PathVariable Long[] memberIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/dv/controller/DvCheckMachineryController.java b/ktg-mes/src/main/java/com/ktg/mes/dv/controller/DvCheckMachineryController.java index b99b8f1..5aefb7e 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/dv/controller/DvCheckMachineryController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/dv/controller/DvCheckMachineryController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{recordIds}") public AjaxResult remove(@PathVariable Long[] recordIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/dv/controller/DvCheckSubjectController.java b/ktg-mes/src/main/java/com/ktg/mes/dv/controller/DvCheckSubjectController.java index 3a8a10b..411e054 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/dv/controller/DvCheckSubjectController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/dv/controller/DvCheckSubjectController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{recordIds}") public AjaxResult remove(@PathVariable Long[] recordIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationMachineController.java b/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationMachineController.java index 7b10c96..fc163bc 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationMachineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationMachineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{recordIds}") public AjaxResult remove(@PathVariable Long[] recordIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationToolController.java b/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationToolController.java index c7f2d3e..df2c562 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationToolController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationToolController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{recordIds}") public AjaxResult remove(@PathVariable Long[] recordIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationWorkerController.java b/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationWorkerController.java index a4cccae..bc55efa 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationWorkerController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/controller/MdWorkstationWorkerController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{recordIds}") public AjaxResult remove(@PathVariable Long[] recordIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/pro/controller/ProProcessContentController.java b/ktg-mes/src/main/java/com/ktg/mes/pro/controller/ProProcessContentController.java index 8324be4..5ded5c6 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/pro/controller/ProProcessContentController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/pro/controller/ProProcessContentController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{contentIds}") public AjaxResult remove(@PathVariable Long[] contentIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/pro/controller/ProWorkorderBomController.java b/ktg-mes/src/main/java/com/ktg/mes/pro/controller/ProWorkorderBomController.java index 89917f3..759321d 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/pro/controller/ProWorkorderBomController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/pro/controller/ProWorkorderBomController.java @@ -37,7 +37,7 @@ public class ProWorkorderBomController extends BaseController /** * 查询生产工单BOM组成列表 */ - @PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:list')") + @PreAuthorize("@ss.hasPermi('mes:pro:workorder:list')") @GetMapping("/list") public TableDataInfo list(ProWorkorderBom proWorkorderBom) { @@ -49,7 +49,7 @@ public class ProWorkorderBomController extends BaseController /** * 导出生产工单BOM组成列表 */ - @PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:export')") + @PreAuthorize("@ss.hasPermi('mes:pro:workorder:export')") @Log(title = "生产工单BOM组成", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, ProWorkorderBom proWorkorderBom) @@ -62,7 +62,7 @@ public class ProWorkorderBomController extends BaseController /** * 获取生产工单BOM组成详细信息 */ - @PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:query')") + @PreAuthorize("@ss.hasPermi('mes:pro:workorder:query')") @GetMapping(value = "/{lineId}") public AjaxResult getInfo(@PathVariable("lineId") Long lineId) { @@ -72,7 +72,7 @@ public class ProWorkorderBomController extends BaseController /** * 新增生产工单BOM组成 */ - @PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:add')") + @PreAuthorize("@ss.hasPermi('mes:pro:workorder:add')") @Log(title = "生产工单BOM组成", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody ProWorkorderBom proWorkorderBom) @@ -83,7 +83,7 @@ public class ProWorkorderBomController extends BaseController /** * 修改生产工单BOM组成 */ - @PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:edit')") + @PreAuthorize("@ss.hasPermi('mes:pro:workorder:edit')") @Log(title = "生产工单BOM组成", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody ProWorkorderBom proWorkorderBom) @@ -94,7 +94,7 @@ public class ProWorkorderBomController extends BaseController /** * 删除生产工单BOM组成 */ - @PreAuthorize("@ss.hasPermi('mes:pro:workorderbom:remove')") + @PreAuthorize("@ss.hasPermi('mes:pro:workorder:remove')") @Log(title = "生产工单BOM组成", businessType = BusinessType.DELETE) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmIssueLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmIssueLineController.java index 6687269..990a63b 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmIssueLineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmIssueLineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmItemConsumeLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmItemConsumeLineController.java index 748ceac..8f1b6a4 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmItemConsumeLineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmItemConsumeLineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmItemRecptLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmItemRecptLineController.java index 838566e..e8d082d 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmItemRecptLineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmItemRecptLineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductProduceLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductProduceLineController.java index 4db2895..0772ec7 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductProduceLineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductProduceLineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductRecptLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductRecptLineController.java index 2347c9e..03eb987 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductRecptLineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductRecptLineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductSalseLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductSalseLineController.java index 47e2dcf..e424d5a 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductSalseLineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmProductSalseLineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtVendorLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtVendorLineController.java index 5d9316b..8914719 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtVendorLineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmRtVendorLineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmTransferLineController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmTransferLineController.java index e459d2c..4d5d4f9 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmTransferLineController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmTransferLineController.java @@ -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") 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) @PostMapping("/export") 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}") 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) @PostMapping 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) @PutMapping 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) @DeleteMapping("/{lineIds}") public AjaxResult remove(@PathVariable Long[] lineIds)