diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseAlarmRuleController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseAlarmRuleController.java index e043240..ba64b43 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseAlarmRuleController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseAlarmRuleController.java @@ -29,7 +29,7 @@ public class DmsBaseAlarmRuleController extends BaseController { /** * 查询设备报警规则列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseAlarmRule dmsBaseAlarmRule) { startPage(); @@ -49,7 +49,7 @@ public class DmsBaseAlarmRuleController extends BaseController { /** * 导出设备报警规则列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:export')" ) //@Log(title = "设备报警规则", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseAlarmRule dmsBaseAlarmRule) { @@ -61,7 +61,7 @@ public class DmsBaseAlarmRuleController extends BaseController { /** * 获取设备报警规则详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:query')" ) @GetMapping(value = "/{alarmRuleId}") public AjaxResult getInfo(@PathVariable("alarmRuleId") Long alarmRuleId) { return success(dmsBaseAlarmRuleService.selectDmsBaseAlarmRuleByAlarmRuleId(alarmRuleId)); @@ -70,7 +70,7 @@ public class DmsBaseAlarmRuleController extends BaseController { /** * 新增设备报警规则 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:add')" ) //@Log(title = "设备报警规则", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseAlarmRule dmsBaseAlarmRule) { @@ -80,7 +80,7 @@ public class DmsBaseAlarmRuleController extends BaseController { /** * 修改设备报警规则 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:edit')" ) //@Log(title = "设备报警规则", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseAlarmRule dmsBaseAlarmRule) { @@ -90,7 +90,7 @@ public class DmsBaseAlarmRuleController extends BaseController { /** * 删除设备报警规则 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseAlarmRule:remove')" ) //@Log(title = "设备报警规则", businessType = BusinessType.DELETE) @DeleteMapping("/{alarmRuleIds}") public AjaxResult remove(@PathVariable Long[] alarmRuleIds) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceBomController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceBomController.java index 68a3061..93a947d 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceBomController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceBomController.java @@ -37,7 +37,7 @@ public class DmsBaseDeviceBomController extends BaseController /** * 查询设备BOM信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:bom:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:bom:list')" ) @GetMapping("/list") public AjaxResult list(DmsBaseDeviceBom dmsBaseDeviceBom) { @@ -48,7 +48,7 @@ public class DmsBaseDeviceBomController extends BaseController /** * 导出设备BOM信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:bom:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:bom:export')" ) //@Log(title = "设备BOM信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDeviceBom dmsBaseDeviceBom) @@ -61,7 +61,7 @@ public class DmsBaseDeviceBomController extends BaseController /** * 获取设备BOM信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:bom:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:bom:query')" ) @GetMapping(value = "/{deviceBomId}") public AjaxResult getInfo(@PathVariable("deviceBomId") Long deviceBomId) { @@ -71,7 +71,7 @@ public class DmsBaseDeviceBomController extends BaseController /** * 新增设备BOM信息 */ - @PreAuthorize("@ss.hasPermi('dms:bom:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:bom:add')" ) //@Log(title = "设备BOM信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseDeviceBom dmsBaseDeviceBom) @@ -82,7 +82,7 @@ public class DmsBaseDeviceBomController extends BaseController /** * 修改设备BOM信息 */ - @PreAuthorize("@ss.hasPermi('dms:bom:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:bom:edit')" ) //@Log(title = "设备BOM信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDeviceBom dmsBaseDeviceBom) @@ -93,7 +93,7 @@ public class DmsBaseDeviceBomController extends BaseController /** * 删除设备BOM信息 */ - @PreAuthorize("@ss.hasPermi('dms:bom:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:bom:remove')" ) //@Log(title = "设备BOM信息", businessType = BusinessType.DELETE) @DeleteMapping("/{deviceBomIds}") public AjaxResult remove(@PathVariable Long[] deviceBomIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceDebuggingController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceDebuggingController.java index 433a28a..0ac4907 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceDebuggingController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceDebuggingController.java @@ -39,7 +39,7 @@ public class DmsBaseDeviceDebuggingController extends BaseController /** * 查询设备调试信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:debugging:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:debugging:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseDeviceDebugging dmsBaseDeviceDebugging) { @@ -51,7 +51,7 @@ public class DmsBaseDeviceDebuggingController extends BaseController /** * 导出设备调试信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:debugging:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:debugging:export')" ) //@Log(title = "设备调试信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDeviceDebugging dmsBaseDeviceDebugging) @@ -64,7 +64,7 @@ public class DmsBaseDeviceDebuggingController extends BaseController /** * 获取设备调试信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:debugging:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:debugging:query')" ) @GetMapping(value = "/{deviceDebuggingId}") public AjaxResult getInfo(@PathVariable("deviceDebuggingId") Long deviceDebuggingId) { @@ -74,7 +74,7 @@ public class DmsBaseDeviceDebuggingController extends BaseController /** * 新增设备调试信息 */ - @PreAuthorize("@ss.hasPermi('dms:debugging:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:debugging:add')" ) //@Log(title = "设备调试信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseDeviceDebugging dmsBaseDeviceDebugging) @@ -85,7 +85,7 @@ public class DmsBaseDeviceDebuggingController extends BaseController /** * 修改设备调试信息 */ - @PreAuthorize("@ss.hasPermi('dms:debugging:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:debugging:edit')" ) //@Log(title = "设备调试信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDeviceDebugging dmsBaseDeviceDebugging) @@ -96,7 +96,7 @@ public class DmsBaseDeviceDebuggingController extends BaseController /** * 删除设备调试信息 */ - @PreAuthorize("@ss.hasPermi('dms:debugging:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:debugging:remove')" ) //@Log(title = "设备调试信息", businessType = BusinessType.DELETE) @DeleteMapping("/{deviceDebuggingIds}") public AjaxResult remove(@PathVariable Long[] deviceDebuggingIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceDepreciationController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceDepreciationController.java index 4b3cd79..55f4f54 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceDepreciationController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceDepreciationController.java @@ -39,7 +39,7 @@ public class DmsBaseDeviceDepreciationController extends BaseController /** * 查询设备折旧信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:devicedepreciation:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicedepreciation:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseDeviceDepreciation dmsBaseDeviceDepreciation) { @@ -51,7 +51,7 @@ public class DmsBaseDeviceDepreciationController extends BaseController /** * 导出设备折旧信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:devicedepreciation:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicedepreciation:export')" ) //@Log(title = "设备折旧信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDeviceDepreciation dmsBaseDeviceDepreciation) @@ -64,7 +64,7 @@ public class DmsBaseDeviceDepreciationController extends BaseController /** * 获取设备折旧信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:devicedepreciation:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicedepreciation:query')" ) @GetMapping(value = "/{deviceDepreciationId}") public AjaxResult getInfo(@PathVariable("deviceDepreciationId") Long deviceDepreciationId) { @@ -74,7 +74,7 @@ public class DmsBaseDeviceDepreciationController extends BaseController /** * 新增设备折旧信息 */ - @PreAuthorize("@ss.hasPermi('dms:devicedepreciation:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicedepreciation:add')" ) //@Log(title = "设备折旧信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseDeviceDepreciation dmsBaseDeviceDepreciation) @@ -85,7 +85,7 @@ public class DmsBaseDeviceDepreciationController extends BaseController /** * 修改设备折旧信息 */ - @PreAuthorize("@ss.hasPermi('dms:devicedepreciation:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicedepreciation:edit')" ) //@Log(title = "设备折旧信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDeviceDepreciation dmsBaseDeviceDepreciation) @@ -96,7 +96,7 @@ public class DmsBaseDeviceDepreciationController extends BaseController /** * 删除设备折旧信息 */ - @PreAuthorize("@ss.hasPermi('dms:devicedepreciation:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicedepreciation:remove')" ) //@Log(title = "设备折旧信息", businessType = BusinessType.DELETE) @DeleteMapping("/{deviceDepreciationIds}") public AjaxResult remove(@PathVariable Long[] deviceDepreciationIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceFilesController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceFilesController.java index d6a9bcc..ddfe449 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceFilesController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceFilesController.java @@ -40,7 +40,7 @@ public class DmsBaseDeviceFilesController extends BaseController /** * 查询设备档案信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsFiles:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsFiles:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseDeviceFiles dmsBaseDeviceFiles) { @@ -52,7 +52,7 @@ public class DmsBaseDeviceFilesController extends BaseController /** * 导出设备档案信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsFiles:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsFiles:export')" ) //@Log(title = "设备档案信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDeviceFiles dmsBaseDeviceFiles) @@ -65,7 +65,7 @@ public class DmsBaseDeviceFilesController extends BaseController /** * 获取设备档案信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsFiles:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsFiles:query')" ) @GetMapping(value = "/{deviceFilesId}") public AjaxResult getInfo(@PathVariable("deviceFilesId") Long deviceFilesId) { @@ -75,7 +75,7 @@ public class DmsBaseDeviceFilesController extends BaseController /** * 新增设备档案信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsFiles:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsFiles:add')" ) //@Log(title = "设备档案信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseDeviceFiles dmsBaseDeviceFiles) @@ -87,7 +87,7 @@ public class DmsBaseDeviceFilesController extends BaseController /** * 修改设备档案信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsFiles:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsFiles:edit')" ) //@Log(title = "设备档案信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDeviceFiles dmsBaseDeviceFiles) @@ -98,7 +98,7 @@ public class DmsBaseDeviceFilesController extends BaseController /** * 删除设备档案信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsFiles:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsFiles:remove')" ) //@Log(title = "设备档案信息", businessType = BusinessType.DELETE) @DeleteMapping("/{deviceFilesIds}") public AjaxResult remove(@PathVariable Long[] deviceFilesIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceInstallController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceInstallController.java index 214d61e..821ec63 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceInstallController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceInstallController.java @@ -45,7 +45,7 @@ public class DmsBaseDeviceInstallController extends BaseController /** * 查询设备安装信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:install:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:install:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseDeviceInstall dmsBaseDeviceInstall) { @@ -57,7 +57,7 @@ public class DmsBaseDeviceInstallController extends BaseController /** * 导出设备安装信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:install:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:install:export')" ) //@Log(title = "设备安装信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDeviceInstall dmsBaseDeviceInstall) @@ -70,7 +70,7 @@ public class DmsBaseDeviceInstallController extends BaseController /** * 获取设备安装信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:install:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:install:query')" ) @GetMapping(value = "/{deviceInstallId}") public AjaxResult getInfo(@PathVariable("deviceInstallId") Long deviceInstallId) { @@ -80,7 +80,7 @@ public class DmsBaseDeviceInstallController extends BaseController /** * 新增设备安装信息 */ - @PreAuthorize("@ss.hasPermi('dms:install:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:install:add')" ) //@Log(title = "设备安装信息", businessType = BusinessType.INSERT) @PostMapping @Transactional @@ -97,7 +97,7 @@ public class DmsBaseDeviceInstallController extends BaseController /** * 修改设备安装信息 */ - @PreAuthorize("@ss.hasPermi('dms:install:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:install:edit')" ) //@Log(title = "设备安装信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDeviceInstall dmsBaseDeviceInstall) @@ -108,7 +108,7 @@ public class DmsBaseDeviceInstallController extends BaseController /** * 删除设备安装信息 */ - @PreAuthorize("@ss.hasPermi('dms:install:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:install:remove')" ) //@Log(title = "设备安装信息", businessType = BusinessType.DELETE) @DeleteMapping("/{deviceInstallIds}") public AjaxResult remove(@PathVariable Long[] deviceInstallIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDevicePurchaseController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDevicePurchaseController.java index 64c7b4b..5e3af09 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDevicePurchaseController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDevicePurchaseController.java @@ -39,7 +39,7 @@ public class DmsBaseDevicePurchaseController extends BaseController /** * 查询设备采购信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:purchase:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:purchase:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseDevicePurchase dmsBaseDevicePurchase) { @@ -51,7 +51,7 @@ public class DmsBaseDevicePurchaseController extends BaseController /** * 导出设备采购信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:purchase:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:purchase:export')" ) //@Log(title = "设备采购信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDevicePurchase dmsBaseDevicePurchase) @@ -64,7 +64,7 @@ public class DmsBaseDevicePurchaseController extends BaseController /** * 获取设备采购信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:purchase:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:purchase:query')" ) @GetMapping(value = "/{devicePurchaseId}") public AjaxResult getInfo(@PathVariable("devicePurchaseId") Long devicePurchaseId) { @@ -74,7 +74,7 @@ public class DmsBaseDevicePurchaseController extends BaseController /** * 新增设备采购信息 */ - @PreAuthorize("@ss.hasPermi('dms:purchase:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:purchase:add')" ) //@Log(title = "设备采购信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseDevicePurchase dmsBaseDevicePurchase) @@ -85,7 +85,7 @@ public class DmsBaseDevicePurchaseController extends BaseController /** * 修改设备采购信息 */ - @PreAuthorize("@ss.hasPermi('dms:purchase:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:purchase:edit')" ) //@Log(title = "设备采购信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDevicePurchase dmsBaseDevicePurchase) @@ -96,7 +96,7 @@ public class DmsBaseDevicePurchaseController extends BaseController /** * 删除设备采购信息 */ - @PreAuthorize("@ss.hasPermi('dms:purchase:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:purchase:remove')" ) //@Log(title = "设备采购信息", businessType = BusinessType.DELETE) @DeleteMapping("/{devicePurchaseIds}") public AjaxResult remove(@PathVariable Long[] devicePurchaseIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceSuplierController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceSuplierController.java index 751f374..482a724 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceSuplierController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceSuplierController.java @@ -39,7 +39,7 @@ public class DmsBaseDeviceSuplierController extends BaseController /** * 查询设备供应商信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:suplier:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:suplier:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseDeviceSuplier dmsBaseDeviceSuplier) { @@ -58,7 +58,7 @@ public class DmsBaseDeviceSuplierController extends BaseController /** * 导出设备供应商信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:suplier:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:suplier:export')" ) //@Log(title = "设备供应商信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDeviceSuplier dmsBaseDeviceSuplier) @@ -71,7 +71,7 @@ public class DmsBaseDeviceSuplierController extends BaseController /** * 获取设备供应商信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:suplier:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:suplier:query')" ) @GetMapping(value = "/{supplierId}") public AjaxResult getInfo(@PathVariable("supplierId") Long supplierId) { @@ -81,7 +81,7 @@ public class DmsBaseDeviceSuplierController extends BaseController /** * 新增设备供应商信息 */ - @PreAuthorize("@ss.hasPermi('dms:suplier:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:suplier:add')" ) //@Log(title = "设备供应商信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseDeviceSuplier dmsBaseDeviceSuplier) @@ -92,7 +92,7 @@ public class DmsBaseDeviceSuplierController extends BaseController /** * 修改设备供应商信息 */ - @PreAuthorize("@ss.hasPermi('dms:suplier:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:suplier:edit')" ) //@Log(title = "设备供应商信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDeviceSuplier dmsBaseDeviceSuplier) @@ -103,7 +103,7 @@ public class DmsBaseDeviceSuplierController extends BaseController /** * 删除设备供应商信息 */ - @PreAuthorize("@ss.hasPermi('dms:suplier:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:suplier:remove')" ) //@Log(title = "设备供应商信息", businessType = BusinessType.DELETE) @DeleteMapping("/{supplierIds}") public AjaxResult remove(@PathVariable Long[] supplierIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceSuppliesController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceSuppliesController.java index 31189ff..185d351 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceSuppliesController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceSuppliesController.java @@ -39,7 +39,7 @@ public class DmsBaseDeviceSuppliesController extends BaseController /** * 查询设备配套信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) + //@PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseDeviceSupplies dmsBaseDeviceSupplies) { @@ -51,7 +51,7 @@ public class DmsBaseDeviceSuppliesController extends BaseController /** * 导出设备配套信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) + //@PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) //@Log(title = "设备配套信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDeviceSupplies dmsBaseDeviceSupplies) @@ -64,7 +64,7 @@ public class DmsBaseDeviceSuppliesController extends BaseController /** * 获取设备配套信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) + //@PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) @GetMapping(value = "/{deviceSuppliesId}") public AjaxResult getInfo(@PathVariable("deviceSuppliesId") Long deviceSuppliesId) { @@ -74,7 +74,7 @@ public class DmsBaseDeviceSuppliesController extends BaseController /** * 新增设备配套信息 */ - @PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) + //@PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) //@Log(title = "设备配套信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseDeviceSupplies dmsBaseDeviceSupplies) @@ -85,7 +85,7 @@ public class DmsBaseDeviceSuppliesController extends BaseController /** * 修改设备配套信息 */ - @PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) + //@PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) //@Log(title = "设备配套信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDeviceSupplies dmsBaseDeviceSupplies) @@ -96,7 +96,7 @@ public class DmsBaseDeviceSuppliesController extends BaseController /** * 删除设备配套信息 */ - @PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) + //@PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) //@Log(title = "设备配套信息", businessType = BusinessType.DELETE) @DeleteMapping("/{deviceSuppliesIds}") public AjaxResult remove(@PathVariable Long[] deviceSuppliesIds) @@ -108,7 +108,7 @@ public class DmsBaseDeviceSuppliesController extends BaseController /** * 根据设备id查询设备配套信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) + //@PreAuthorize("@ss.hasPermi('dms:ledger:editSupplies')" ) @GetMapping("/listByDeviceId/{deviceId}") public AjaxResult listByDeviceId(@PathVariable("deviceId") Long deviceId) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceTypeController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceTypeController.java index ed900ae..fe71701 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceTypeController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseDeviceTypeController.java @@ -37,7 +37,7 @@ public class DmsBaseDeviceTypeController extends BaseController /** * 查询设备类型信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:devicetype:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicetype:list')" ) @GetMapping("/list") public AjaxResult list(DmsBaseDeviceType dmsBaseDeviceType) { @@ -48,7 +48,7 @@ public class DmsBaseDeviceTypeController extends BaseController /** * 导出设备类型信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:devicetype:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicetype:export')" ) //@Log(title = "设备类型信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseDeviceType dmsBaseDeviceType) @@ -61,7 +61,7 @@ public class DmsBaseDeviceTypeController extends BaseController /** * 获取设备类型信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:devicetype:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicetype:query')" ) @GetMapping(value = "/{deviceTypeId}") public AjaxResult getInfo(@PathVariable("deviceTypeId") Long deviceTypeId) { @@ -71,7 +71,7 @@ public class DmsBaseDeviceTypeController extends BaseController /** * 新增设备类型信息 */ - @PreAuthorize("@ss.hasPermi('dms:devicetype:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicetype:add')" ) //@Log(title = "设备类型信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseDeviceType dmsBaseDeviceType) @@ -82,7 +82,7 @@ public class DmsBaseDeviceTypeController extends BaseController /** * 修改设备类型信息 */ - @PreAuthorize("@ss.hasPermi('dms:devicetype:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicetype:edit')" ) //@Log(title = "设备类型信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseDeviceType dmsBaseDeviceType) @@ -93,14 +93,14 @@ public class DmsBaseDeviceTypeController extends BaseController /** * 删除设备类型信息 */ - @PreAuthorize("@ss.hasPermi('dms:devicetype:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicetype:remove')" ) //@Log(title = "设备类型信息", businessType = BusinessType.DELETE) @DeleteMapping("/{deviceTypeIds}") public AjaxResult remove(@PathVariable Long[] deviceTypeIds) { return toAjax(dmsBaseDeviceTypeService.deleteDmsBaseDeviceTypeByDeviceTypeIds(deviceTypeIds)); } - @PreAuthorize("@ss.hasPermi('dms:devicetype:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:devicetype:list')" ) @GetMapping("/selectDevicetypeByDeviceId") public AjaxResult selectDevicetypeByDeviceId(Long deviceId) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectProjectController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectProjectController.java index 5b064a5..57140a3 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectProjectController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectProjectController.java @@ -32,7 +32,7 @@ public class DmsBaseInspectProjectController extends BaseController /** * 查询巡检项目信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseInspectProject dmsBaseInspectProject) { @@ -54,7 +54,7 @@ public class DmsBaseInspectProjectController extends BaseController /** * 导出巡检项目信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:export')" ) ////@Log(title = "巡检项目信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseInspectProject dmsBaseInspectProject) @@ -67,7 +67,7 @@ public class DmsBaseInspectProjectController extends BaseController /** * 获取巡检项目信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:query')" ) @GetMapping(value = "/{inspectProjectId}") public AjaxResult getInfo(@PathVariable("inspectProjectId") Long inspectProjectId) { @@ -77,7 +77,7 @@ public class DmsBaseInspectProjectController extends BaseController /** * 新增巡检项目信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:add')" ) ////@Log(title = "巡检项目信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseInspectProject dmsBaseInspectProject) @@ -88,7 +88,7 @@ public class DmsBaseInspectProjectController extends BaseController /** * 修改巡检项目信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:edit')" ) ////@Log(title = "巡检项目信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseInspectProject dmsBaseInspectProject) @@ -99,7 +99,7 @@ public class DmsBaseInspectProjectController extends BaseController /** * 删除巡检项目信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectProject:remove')" ) ////@Log(title = "巡检项目信息", businessType = BusinessType.DELETE) @DeleteMapping("/{inspectProjectIds}") public AjaxResult remove(@PathVariable Long[] inspectProjectIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectRouteController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectRouteController.java index dadd3d5..979f6f8 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectRouteController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectRouteController.java @@ -32,7 +32,7 @@ public class DmsBaseInspectRouteController extends BaseController /** * 查询巡检线路信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseInspectRoute dmsBaseInspectRoute) { @@ -55,7 +55,7 @@ public class DmsBaseInspectRouteController extends BaseController /** * 导出巡检线路信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:export')" ) ////@Log(title = "巡检线路信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseInspectRoute dmsBaseInspectRoute) @@ -68,7 +68,7 @@ public class DmsBaseInspectRouteController extends BaseController /** * 获取巡检线路信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:query')" ) @GetMapping(value = "/{inspectRouteId}") public AjaxResult getInfo(@PathVariable("inspectRouteId") Long inspectRouteId) { @@ -78,7 +78,7 @@ public class DmsBaseInspectRouteController extends BaseController /** * 新增巡检线路信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:add')" ) ////@Log(title = "巡检线路信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseInspectRoute dmsBaseInspectRoute) @@ -89,7 +89,7 @@ public class DmsBaseInspectRouteController extends BaseController /** * 修改巡检线路信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:edit')" ) ////@Log(title = "巡检线路信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseInspectRoute dmsBaseInspectRoute) @@ -100,7 +100,7 @@ public class DmsBaseInspectRouteController extends BaseController /** * 删除巡检线路信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectRoute:remove')" ) ////@Log(title = "巡检线路信息", businessType = BusinessType.DELETE) @DeleteMapping("/{inspectRouteIds}") public AjaxResult remove(@PathVariable Long[] inspectRouteIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectStandardController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectStandardController.java index fec9041..3dab1ba 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectStandardController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseInspectStandardController.java @@ -32,7 +32,7 @@ public class DmsBaseInspectStandardController extends BaseController /** * 查询巡检标准信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseInspectStandard dmsBaseInspectStandard) { @@ -44,7 +44,7 @@ public class DmsBaseInspectStandardController extends BaseController /** * 导出巡检标准信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:export')" ) ////@Log(title = "巡检标准信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseInspectStandard dmsBaseInspectStandard) @@ -57,7 +57,7 @@ public class DmsBaseInspectStandardController extends BaseController /** * 获取巡检标准信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:query')" ) @GetMapping(value = "/{inspectStandardId}") public AjaxResult getInfo(@PathVariable("inspectStandardId") Long inspectStandardId) { @@ -67,7 +67,7 @@ public class DmsBaseInspectStandardController extends BaseController /** * 新增巡检标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:add')" ) ////@Log(title = "巡检标准信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseInspectStandard dmsBaseInspectStandard) @@ -78,7 +78,7 @@ public class DmsBaseInspectStandardController extends BaseController /** * 修改巡检标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:edit')" ) ////@Log(title = "巡检标准信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseInspectStandard dmsBaseInspectStandard) @@ -89,7 +89,7 @@ public class DmsBaseInspectStandardController extends BaseController /** * 删除巡检标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseInspectStandard:remove')" ) ////@Log(title = "巡检标准信息", businessType = BusinessType.DELETE) @DeleteMapping("/{inspectStandardIds}") public AjaxResult remove(@PathVariable Long[] inspectStandardIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseLubeStandardController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseLubeStandardController.java index 58da268..d08bf61 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseLubeStandardController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseLubeStandardController.java @@ -30,7 +30,7 @@ public class DmsBaseLubeStandardController extends BaseController /** * 查询润滑标准信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStandard:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStandard:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseLubeStandard dmsBaseLubeStandard) { @@ -42,7 +42,7 @@ public class DmsBaseLubeStandardController extends BaseController /** * 导出润滑标准信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStandard:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStandard:export')" ) ////@Log(title = "润滑标准信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseLubeStandard dmsBaseLubeStandard) @@ -66,7 +66,7 @@ public class DmsBaseLubeStandardController extends BaseController /** * 获取润滑标准信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStandard:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStandard:query')" ) @GetMapping(value = "/{lubeStandardId}") public AjaxResult getInfo(@PathVariable("lubeStandardId") Long lubeStandardId) { @@ -76,7 +76,7 @@ public class DmsBaseLubeStandardController extends BaseController /** * 新增润滑标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStandard:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStandard:add')" ) ////@Log(title = "润滑标准信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseLubeStandard dmsBaseLubeStandard) @@ -87,7 +87,7 @@ public class DmsBaseLubeStandardController extends BaseController /** * 修改润滑标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStandard:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStandard:edit')" ) ////@Log(title = "润滑标准信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseLubeStandard dmsBaseLubeStandard) @@ -98,7 +98,7 @@ public class DmsBaseLubeStandardController extends BaseController /** * 删除润滑标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStandard:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStandard:remove')" ) ////@Log(title = "润滑标准信息", businessType = BusinessType.DELETE) @DeleteMapping("/{lubeStandardIds}") public AjaxResult remove(@PathVariable Long[] lubeStandardIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseLubeStationController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseLubeStationController.java index c54b0fb..253a8bf 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseLubeStationController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseLubeStationController.java @@ -32,7 +32,7 @@ public class DmsBaseLubeStationController extends BaseController /** * 查询润滑部位信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStation:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStation:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseLubeStation dmsBaseLubeStation) { @@ -44,7 +44,7 @@ public class DmsBaseLubeStationController extends BaseController /** * 导出润滑部位信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStation:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStation:export')" ) ////@Log(title = "润滑部位信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseLubeStation dmsBaseLubeStation) @@ -57,7 +57,7 @@ public class DmsBaseLubeStationController extends BaseController /** * 获取润滑部位信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStation:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStation:query')" ) @GetMapping(value = "/{lubeStationId}") public AjaxResult getInfo(@PathVariable("lubeStationId") Long lubeStationId) { @@ -67,7 +67,7 @@ public class DmsBaseLubeStationController extends BaseController /** * 新增润滑部位信息 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStation:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStation:add')" ) ////@Log(title = "润滑部位信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseLubeStation dmsBaseLubeStation) @@ -78,7 +78,7 @@ public class DmsBaseLubeStationController extends BaseController /** * 修改润滑部位信息 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStation:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStation:edit')" ) ////@Log(title = "润滑部位信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseLubeStation dmsBaseLubeStation) @@ -89,7 +89,7 @@ public class DmsBaseLubeStationController extends BaseController /** * 删除润滑部位信息 */ - @PreAuthorize("@ss.hasPermi('dms:lubeStation:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:lubeStation:remove')" ) ////@Log(title = "润滑部位信息", businessType = BusinessType.DELETE) @DeleteMapping("/{lubeStationIds}") public AjaxResult remove(@PathVariable Long[] lubeStationIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintProjectController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintProjectController.java index 8b7c52a..264ba05 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintProjectController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintProjectController.java @@ -32,7 +32,7 @@ public class DmsBaseMaintProjectController extends BaseController /** * 查询保养项目信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseMaintProject dmsBaseMaintProject) { @@ -44,7 +44,7 @@ public class DmsBaseMaintProjectController extends BaseController /** * 导出保养项目信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:export')" ) ////@Log(title = "保养项目信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseMaintProject dmsBaseMaintProject) @@ -57,7 +57,7 @@ public class DmsBaseMaintProjectController extends BaseController /** * 获取保养项目信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:query')" ) @GetMapping(value = "/{maintProjectId}") public AjaxResult getInfo(@PathVariable("maintProjectId") Long maintProjectId) { @@ -67,7 +67,7 @@ public class DmsBaseMaintProjectController extends BaseController /** * 新增保养项目信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:add')" ) ////@Log(title = "保养项目信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseMaintProject dmsBaseMaintProject) @@ -78,7 +78,7 @@ public class DmsBaseMaintProjectController extends BaseController /** * 修改保养项目信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:edit')" ) ////@Log(title = "保养项目信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseMaintProject dmsBaseMaintProject) @@ -89,7 +89,7 @@ public class DmsBaseMaintProjectController extends BaseController /** * 删除保养项目信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBaseMaintProject:remove')" ) ////@Log(title = "保养项目信息", businessType = BusinessType.DELETE) @DeleteMapping("/{maintProjectIds}") public AjaxResult remove(@PathVariable Long[] maintProjectIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintStandardController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintStandardController.java index 7528902..179eea2 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintStandardController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintStandardController.java @@ -32,7 +32,7 @@ public class DmsBaseMaintStandardController extends BaseController /** * 查询保养标准信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:standard:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:standard:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseMaintStandard dmsBaseMaintStandard) { @@ -44,7 +44,7 @@ public class DmsBaseMaintStandardController extends BaseController /** * 导出保养标准信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:standard:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:standard:export')" ) ////@Log(title = "保养标准信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseMaintStandard dmsBaseMaintStandard) @@ -68,7 +68,7 @@ public class DmsBaseMaintStandardController extends BaseController /** * 获取保养标准信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:standard:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:standard:query')" ) @GetMapping(value = "/{maintStandardId}") public AjaxResult getInfo(@PathVariable("maintStandardId") Long maintStandardId) { @@ -79,7 +79,7 @@ public class DmsBaseMaintStandardController extends BaseController /** * 新增保养标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:standard:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:standard:add')" ) ////@Log(title = "保养标准信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseMaintStandard dmsBaseMaintStandard) @@ -90,7 +90,7 @@ public class DmsBaseMaintStandardController extends BaseController /** * 修改保养标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:standard:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:standard:edit')" ) ////@Log(title = "保养标准信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseMaintStandard dmsBaseMaintStandard) @@ -101,7 +101,7 @@ public class DmsBaseMaintStandardController extends BaseController /** * 删除保养标准信息 */ - @PreAuthorize("@ss.hasPermi('dms:standard:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:standard:remove')" ) ////@Log(title = "保养标准信息", businessType = BusinessType.DELETE) @DeleteMapping("/{maintStandardIds}") public AjaxResult remove(@PathVariable Long[] maintStandardIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintStationController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintStationController.java index 509b145..ea5ab7f 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintStationController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseMaintStationController.java @@ -32,7 +32,7 @@ public class DmsBaseMaintStationController extends BaseController /** * 查询保养部位信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:station:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:station:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseMaintStation dmsBaseMaintStation) { @@ -44,7 +44,7 @@ public class DmsBaseMaintStationController extends BaseController /** * 导出保养部位信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:station:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:station:export')" ) ////@Log(title = "保养部位信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseMaintStation dmsBaseMaintStation) @@ -57,7 +57,7 @@ public class DmsBaseMaintStationController extends BaseController /** * 获取保养部位信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:station:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:station:query')" ) @GetMapping(value = "/{maintStationId}") public AjaxResult getInfo(@PathVariable("maintStationId") Long maintStationId) { @@ -67,7 +67,7 @@ public class DmsBaseMaintStationController extends BaseController /** * 新增保养部位信息 */ - @PreAuthorize("@ss.hasPermi('dms:station:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:station:add')" ) ////@Log(title = "保养部位信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseMaintStation dmsBaseMaintStation) @@ -78,7 +78,7 @@ public class DmsBaseMaintStationController extends BaseController /** * 修改保养部位信息 */ - @PreAuthorize("@ss.hasPermi('dms:station:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:station:edit')" ) ////@Log(title = "保养部位信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseMaintStation dmsBaseMaintStation) @@ -89,7 +89,7 @@ public class DmsBaseMaintStationController extends BaseController /** * 删除保养部位信息 */ - @PreAuthorize("@ss.hasPermi('dms:station:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:station:remove')" ) ////@Log(title = "保养部位信息", businessType = BusinessType.DELETE) @DeleteMapping("/{maintStationIds}") public AjaxResult remove(@PathVariable Long[] maintStationIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseOutsrcInfoController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseOutsrcInfoController.java index eda4027..d3c7a83 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseOutsrcInfoController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseOutsrcInfoController.java @@ -39,7 +39,7 @@ public class DmsBaseOutsrcInfoController extends BaseController /** * 查询外协信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInfo:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInfo:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseOutsrcInfo dmsBaseOutsrcInfo) { @@ -51,7 +51,7 @@ public class DmsBaseOutsrcInfoController extends BaseController /** * 导出外协信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInfo:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInfo:export')" ) //@Log(title = "外协信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseOutsrcInfo dmsBaseOutsrcInfo) @@ -64,7 +64,7 @@ public class DmsBaseOutsrcInfoController extends BaseController /** * 获取外协信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInfo:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInfo:query')" ) @GetMapping(value = "/{outsrcId}") public AjaxResult getInfo(@PathVariable("outsrcId") Long outsrcId) { @@ -74,7 +74,7 @@ public class DmsBaseOutsrcInfoController extends BaseController /** * 新增外协信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInfo:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInfo:add')" ) //@Log(title = "外协信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseOutsrcInfo dmsBaseOutsrcInfo) @@ -85,7 +85,7 @@ public class DmsBaseOutsrcInfoController extends BaseController /** * 修改外协信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInfo:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInfo:edit')" ) //@Log(title = "外协信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseOutsrcInfo dmsBaseOutsrcInfo) @@ -96,7 +96,7 @@ public class DmsBaseOutsrcInfoController extends BaseController /** * 删除外协信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInfo:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInfo:remove')" ) //@Log(title = "外协信息", businessType = BusinessType.DELETE) @DeleteMapping("/{outsrcIds}") public AjaxResult remove(@PathVariable Long[] outsrcIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseShutReasonController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseShutReasonController.java index 2cc41f6..cbafde3 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseShutReasonController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseShutReasonController.java @@ -32,7 +32,7 @@ public class DmsBaseShutReasonController extends BaseController /** * 查询停机原因信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:shutReason:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutReason:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseShutReason dmsBaseShutReason) { @@ -44,7 +44,7 @@ public class DmsBaseShutReasonController extends BaseController /** * 导出停机原因信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:shutReason:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutReason:export')" ) ////@Log(title = "停机原因信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseShutReason dmsBaseShutReason) @@ -57,7 +57,7 @@ public class DmsBaseShutReasonController extends BaseController /** * 获取停机原因信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutReason:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutReason:remove')" ) @GetMapping(value = "/{shutReasonId}") public AjaxResult getInfo(@PathVariable("shutReasonId") Long shutReasonId) { @@ -67,7 +67,7 @@ public class DmsBaseShutReasonController extends BaseController /** * 新增停机原因信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutReason:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutReason:add')" ) ////@Log(title = "停机原因信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseShutReason dmsBaseShutReason) @@ -78,7 +78,7 @@ public class DmsBaseShutReasonController extends BaseController /** * 修改停机原因信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutReason:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutReason:edit')" ) ////@Log(title = "停机原因信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseShutReason dmsBaseShutReason) @@ -89,7 +89,7 @@ public class DmsBaseShutReasonController extends BaseController /** * 删除停机原因信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutReason:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutReason:remove')" ) ////@Log(title = "停机原因信息", businessType = BusinessType.DELETE) @DeleteMapping("/{shutReasonIds}") public AjaxResult remove(@PathVariable Long[] shutReasonIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseShutTypeController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseShutTypeController.java index a1e03d5..cdfb3b1 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseShutTypeController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseShutTypeController.java @@ -32,7 +32,7 @@ public class DmsBaseShutTypeController extends BaseController /** * 查询停机类型信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:shutType:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutType:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseShutType dmsBaseShutType) { @@ -44,7 +44,7 @@ public class DmsBaseShutTypeController extends BaseController /** * 导出停机类型信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:shutType:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutType:export')" ) ////@Log(title = "停机类型信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseShutType dmsBaseShutType) @@ -57,7 +57,7 @@ public class DmsBaseShutTypeController extends BaseController /** * 获取停机类型信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutType:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutType:query')" ) @GetMapping(value = "/{shutTypeId}") public AjaxResult getInfo(@PathVariable("shutTypeId") Long shutTypeId) { @@ -67,7 +67,7 @@ public class DmsBaseShutTypeController extends BaseController /** * 新增停机类型信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutType:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutType:add')" ) ////@Log(title = "停机类型信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseShutType dmsBaseShutType) @@ -78,7 +78,7 @@ public class DmsBaseShutTypeController extends BaseController /** * 修改停机类型信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutType:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutType:edit')" ) ////@Log(title = "停机类型信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseShutType dmsBaseShutType) @@ -89,7 +89,7 @@ public class DmsBaseShutTypeController extends BaseController /** * 删除停机类型信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutType:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutType:remove')" ) ////@Log(title = "停机类型信息", businessType = BusinessType.DELETE) @DeleteMapping("/{shutTypeIds}") public AjaxResult remove(@PathVariable Long[] shutTypeIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseSpecialdeviceParamController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseSpecialdeviceParamController.java index 2553f93..c715be7 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseSpecialdeviceParamController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseSpecialdeviceParamController.java @@ -39,7 +39,7 @@ public class DmsBaseSpecialdeviceParamController extends BaseController /** * 查询特种设备参数信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseSpecialdeviceParam dmsBaseSpecialdeviceParam) { @@ -51,7 +51,7 @@ public class DmsBaseSpecialdeviceParamController extends BaseController /** * 导出特种设备参数信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:export')" ) //@Log(title = "特种设备参数信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseSpecialdeviceParam dmsBaseSpecialdeviceParam) @@ -64,7 +64,7 @@ public class DmsBaseSpecialdeviceParamController extends BaseController /** * 获取特种设备参数信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:query')" ) @GetMapping(value = "/{specialdeviceParamId}") public AjaxResult getInfo(@PathVariable("specialdeviceParamId") Long specialdeviceParamId) { @@ -74,7 +74,7 @@ public class DmsBaseSpecialdeviceParamController extends BaseController /** * 新增特种设备参数信息 */ - @PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:add')" ) //@Log(title = "特种设备参数信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseSpecialdeviceParam dmsBaseSpecialdeviceParam) @@ -85,7 +85,7 @@ public class DmsBaseSpecialdeviceParamController extends BaseController /** * 修改特种设备参数信息 */ - @PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:edit')" ) //@Log(title = "特种设备参数信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseSpecialdeviceParam dmsBaseSpecialdeviceParam) @@ -96,7 +96,7 @@ public class DmsBaseSpecialdeviceParamController extends BaseController /** * 删除特种设备参数信息 */ - @PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:specialDeviceParam:remove')" ) //@Log(title = "特种设备参数信息", businessType = BusinessType.DELETE) @DeleteMapping("/{specialdeviceParamIds}") public AjaxResult remove(@PathVariable Long[] specialdeviceParamIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseStationProjectController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseStationProjectController.java index fcd5da9..e8696e3 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseStationProjectController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseStationProjectController.java @@ -29,7 +29,7 @@ public class DmsBaseStationProjectController extends BaseController /** * 查询保养部位关联项目信息列表 */ -/* @PreAuthorize("@ss.hasPermi('dms:baseStationProject:list')" )*/ +/* //@PreAuthorize("@ss.hasPermi('dms:baseStationProject:list')" )*/ @GetMapping("/list") public TableDataInfo list(DmsBaseStationProject dmsBaseStationProject) { @@ -41,7 +41,7 @@ public class DmsBaseStationProjectController extends BaseController /** * 导出保养部位关联项目信息列表 */ -/* @PreAuthorize("@ss.hasPermi('dms:baseStationProject:export')" )*/ +/* //@PreAuthorize("@ss.hasPermi('dms:baseStationProject:export')" )*/ ////@Log(title = "保养部位关联项目信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseStationProject dmsBaseStationProject) @@ -54,7 +54,7 @@ public class DmsBaseStationProjectController extends BaseController /** * 获取保养部位关联项目信息详细信息 */ -/* @PreAuthorize("@ss.hasPermi('dms:baseStationProject:query')" )*/ +/* //@PreAuthorize("@ss.hasPermi('dms:baseStationProject:query')" )*/ @GetMapping(value = "/{maintStationId}") public AjaxResult getInfo(@PathVariable("maintStationId") Long maintStationId) { @@ -64,7 +64,7 @@ public class DmsBaseStationProjectController extends BaseController /** * 新增保养部位关联项目信息 */ -/* @PreAuthorize("@ss.hasPermi('dms:baseStationProject:add')" )*/ +/* //@PreAuthorize("@ss.hasPermi('dms:baseStationProject:add')" )*/ ////@Log(title = "保养部位关联项目信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBaseStationProject dmsBaseStationProject) @@ -75,7 +75,7 @@ public class DmsBaseStationProjectController extends BaseController /** * 修改保养部位关联项目信息 */ -/* @PreAuthorize("@ss.hasPermi('dms:baseStationProject:edit')" )*/ +/* //@PreAuthorize("@ss.hasPermi('dms:baseStationProject:edit')" )*/ ////@Log(title = "保养部位关联项目信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseStationProject dmsBaseStationProject) @@ -86,7 +86,7 @@ public class DmsBaseStationProjectController extends BaseController /** * 删除保养部位关联项目信息 */ -/* @PreAuthorize("@ss.hasPermi('dms:baseStationProject:remove')" )*/ +/* //@PreAuthorize("@ss.hasPermi('dms:baseStationProject:remove')" )*/ ////@Log(title = "保养部位关联项目信息", businessType = BusinessType.DELETE) @DeleteMapping("/{maintStationIds}") public AjaxResult remove(@PathVariable Long[] maintStationIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseTransferInfoController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseTransferInfoController.java index a4e89dd..ccf41c3 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseTransferInfoController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBaseTransferInfoController.java @@ -38,7 +38,7 @@ public class DmsBaseTransferInfoController extends BaseController /** * 查询设备转移信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:info:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:info:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBaseTransferInfo dmsBaseTransferInfo) { @@ -50,7 +50,7 @@ public class DmsBaseTransferInfoController extends BaseController /** * 导出设备转移信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:info:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:info:export')" ) //@Log(title = "设备转移信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBaseTransferInfo dmsBaseTransferInfo) @@ -63,7 +63,7 @@ public class DmsBaseTransferInfoController extends BaseController /** * 获取设备转移信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:info:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:info:query')" ) @GetMapping(value = "/{transferInfoId}") public AjaxResult getInfo(@PathVariable("transferInfoId") Long transferInfoId) { @@ -73,7 +73,7 @@ public class DmsBaseTransferInfoController extends BaseController /** * 新增设备转移信息 */ - @PreAuthorize("@ss.hasPermi('dms:info:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:info:add')" ) //@Log(title = "设备转移信息", businessType = BusinessType.INSERT) @PostMapping @Transactional @@ -90,7 +90,7 @@ public class DmsBaseTransferInfoController extends BaseController /** * 修改设备转移信息 */ - @PreAuthorize("@ss.hasPermi('dms:info:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:info:edit')" ) //@Log(title = "设备转移信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBaseTransferInfo dmsBaseTransferInfo) @@ -106,7 +106,7 @@ public class DmsBaseTransferInfoController extends BaseController /** * 删除设备转移信息 */ - @PreAuthorize("@ss.hasPermi('dms:info:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:info:remove')" ) //@Log(title = "设备转移信息", businessType = BusinessType.DELETE) @DeleteMapping("/{transferInfoIds}") public AjaxResult remove(@PathVariable Long[] transferInfoIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsFaultInstanceController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsFaultInstanceController.java index c563762..b9333aa 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsFaultInstanceController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsFaultInstanceController.java @@ -53,7 +53,7 @@ public class DmsBillsFaultInstanceController extends BaseController /** * 查询检修工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBillsFaultInstance dmsBillsFaultInstance) { @@ -80,7 +80,7 @@ public class DmsBillsFaultInstanceController extends BaseController /** * 查询检修工单列表(不分页) */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:list')" ) @GetMapping("/listAll") public AjaxResult listAll(DmsBillsFaultInstance dmsBillsFaultInstance) { @@ -91,7 +91,7 @@ public class DmsBillsFaultInstanceController extends BaseController /** * 导出检修工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:export')" ) ////@Log(title = "检修工单", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBillsFaultInstance dmsBillsFaultInstance) @@ -104,7 +104,7 @@ public class DmsBillsFaultInstanceController extends BaseController /** * 获取检修工单详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:query')" ) @GetMapping(value = "/{repairInstanceId}") public AjaxResult getInfo(@PathVariable("repairInstanceId") Long repairInstanceId) { @@ -114,7 +114,7 @@ public class DmsBillsFaultInstanceController extends BaseController /** * 新增检修工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:add')" ) ////@Log(title = "检修工单", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBillsFaultInstance dmsBillsFaultInstance) @@ -125,7 +125,7 @@ public class DmsBillsFaultInstanceController extends BaseController /** * 修改检修工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:edit')" ) ////@Log(title = "检修工单", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBillsFaultInstance dmsBillsFaultInstance) @@ -136,7 +136,7 @@ public class DmsBillsFaultInstanceController extends BaseController /** * 指定派工 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:edit')") + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:edit')") @PostMapping("/dispatch") public AjaxResult dispatch(@RequestBody DmsFaultInstanceActivity dmsFaultInstanceActivity) { @@ -146,7 +146,7 @@ public class DmsBillsFaultInstanceController extends BaseController /** * 删除检修工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsFaultInstance:remove')" ) ////@Log(title = "检修工单", businessType = BusinessType.DELETE) @DeleteMapping("/{repairInstanceIds}") public AjaxResult remove(@PathVariable Long[] repairInstanceIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsInspectInstanceActivityController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsInspectInstanceActivityController.java index 2ec16fb..b9040d4 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsInspectInstanceActivityController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsInspectInstanceActivityController.java @@ -32,7 +32,7 @@ public class DmsBillsInspectInstanceActivityController extends BaseController /** * 查询点巡检工单实例节点列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBillsInspectInstanceActivity dmsBillsInspectInstanceActivity) { @@ -44,7 +44,7 @@ public class DmsBillsInspectInstanceActivityController extends BaseController /** * 导出点巡检工单实例节点列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:export')" ) ////@Log(title = "点巡检工单实例节点", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBillsInspectInstanceActivity dmsBillsInspectInstanceActivity) @@ -57,7 +57,7 @@ public class DmsBillsInspectInstanceActivityController extends BaseController /** * 获取点巡检工单实例节点详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:query')" ) @GetMapping(value = "/{instanceActivityId}") public AjaxResult getInfo(@PathVariable("instanceActivityId") Long instanceActivityId) { @@ -67,7 +67,7 @@ public class DmsBillsInspectInstanceActivityController extends BaseController /** * 新增点巡检工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:add')" ) ////@Log(title = "点巡检工单实例节点", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBillsInspectInstanceActivity dmsBillsInspectInstanceActivity) @@ -78,7 +78,7 @@ public class DmsBillsInspectInstanceActivityController extends BaseController /** * 修改点巡检工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:edit')" ) ////@Log(title = "点巡检工单实例节点", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBillsInspectInstanceActivity dmsBillsInspectInstanceActivity) @@ -89,7 +89,7 @@ public class DmsBillsInspectInstanceActivityController extends BaseController /** * 删除点巡检工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInspectActivity:remove')" ) ////@Log(title = "点巡检工单实例节点", businessType = BusinessType.DELETE) @DeleteMapping("/{instanceActivityIds}") public AjaxResult remove(@PathVariable Long[] instanceActivityIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsInspectInstanceController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsInspectInstanceController.java index 4f59468..9543cc1 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsInspectInstanceController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsInspectInstanceController.java @@ -38,7 +38,7 @@ public class DmsBillsInspectInstanceController extends BaseController /** * 查询巡检工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBillsInspectInstance dmsBillsInspectInstance) { @@ -66,7 +66,7 @@ public class DmsBillsInspectInstanceController extends BaseController /** * 导出巡检工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:export')" ) ////@Log(title = "巡检工单", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBillsInspectInstance dmsBillsInspectInstance) @@ -79,7 +79,7 @@ public class DmsBillsInspectInstanceController extends BaseController /** * 获取巡检工单详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:query')" ) @GetMapping(value = "/{inspectInstanceId}") public AjaxResult getInfo(@PathVariable("inspectInstanceId") Long inspectInstanceId) { @@ -89,7 +89,7 @@ public class DmsBillsInspectInstanceController extends BaseController /** * 新增巡检工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:add')" ) ////@Log(title = "巡检工单", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBillsInspectInstance dmsBillsInspectInstance) @@ -129,7 +129,7 @@ public class DmsBillsInspectInstanceController extends BaseController /** * 修改巡检工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:edit')" ) ////@Log(title = "巡检工单", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBillsInspectInstance dmsBillsInspectInstance) @@ -140,7 +140,7 @@ public class DmsBillsInspectInstanceController extends BaseController /** * 删除巡检工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsInstance:remove')" ) ////@Log(title = "巡检工单", businessType = BusinessType.DELETE) @DeleteMapping("/{inspectInstanceIds}") public AjaxResult remove(@PathVariable Long[] inspectInstanceIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsLubeInstanceActivityController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsLubeInstanceActivityController.java index d9c6646..4ce680d 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsLubeInstanceActivityController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsLubeInstanceActivityController.java @@ -32,7 +32,7 @@ public class DmsBillsLubeInstanceActivityController extends BaseController /** * 查询润滑工单实例节点列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBillsLubeInstanceActivity dmsBillsLubeInstanceActivity) { @@ -44,7 +44,7 @@ public class DmsBillsLubeInstanceActivityController extends BaseController /** * 导出润滑工单实例节点列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:export')" ) ////@Log(title = "润滑工单实例节点", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBillsLubeInstanceActivity dmsBillsLubeInstanceActivity) @@ -57,7 +57,7 @@ public class DmsBillsLubeInstanceActivityController extends BaseController /** * 获取润滑工单实例节点详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:query')" ) @GetMapping(value = "/{instanceActivityId}") public AjaxResult getInfo(@PathVariable("instanceActivityId") Long instanceActivityId) { @@ -67,7 +67,7 @@ public class DmsBillsLubeInstanceActivityController extends BaseController /** * 新增润滑工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:add')" ) ////@Log(title = "润滑工单实例节点", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBillsLubeInstanceActivity dmsBillsLubeInstanceActivity) @@ -78,7 +78,7 @@ public class DmsBillsLubeInstanceActivityController extends BaseController /** * 修改润滑工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:edit')" ) ////@Log(title = "润滑工单实例节点", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBillsLubeInstanceActivity dmsBillsLubeInstanceActivity) @@ -89,7 +89,7 @@ public class DmsBillsLubeInstanceActivityController extends BaseController /** * 删除润滑工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstanceActivity:remove')" ) ////@Log(title = "润滑工单实例节点", businessType = BusinessType.DELETE) @DeleteMapping("/{instanceActivityIds}") public AjaxResult remove(@PathVariable Long[] instanceActivityIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsLubeInstanceController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsLubeInstanceController.java index 9f3ab05..8da7322 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsLubeInstanceController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsLubeInstanceController.java @@ -35,7 +35,7 @@ public class DmsBillsLubeInstanceController extends BaseController /** * 查询润滑工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBillsLubeInstance dmsBillsLubeInstance) { @@ -47,7 +47,7 @@ public class DmsBillsLubeInstanceController extends BaseController /** * 导出润滑工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:export')" ) ////@Log(title = "润滑工单", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBillsLubeInstance dmsBillsLubeInstance) @@ -60,7 +60,7 @@ public class DmsBillsLubeInstanceController extends BaseController /** * 获取润滑工单详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:query')" ) @GetMapping(value = "/{lubeInstanceId}") public AjaxResult getInfo(@PathVariable("lubeInstanceId") Long lubeInstanceId) { @@ -70,7 +70,7 @@ public class DmsBillsLubeInstanceController extends BaseController /** * 新增润滑工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:add')" ) ////@Log(title = "润滑工单", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBillsLubeInstance dmsBillsLubeInstance) @@ -90,7 +90,7 @@ public class DmsBillsLubeInstanceController extends BaseController /** * 修改润滑工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:edit')" ) ////@Log(title = "润滑工单", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBillsLubeInstance dmsBillsLubeInstance) @@ -101,7 +101,7 @@ public class DmsBillsLubeInstanceController extends BaseController /** * 删除润滑工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsLubeInstance:remove')" ) ////@Log(title = "润滑工单", businessType = BusinessType.DELETE) @DeleteMapping("/{lubeInstanceIds}") public AjaxResult remove(@PathVariable Long[] lubeInstanceIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsMaintInstanceController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsMaintInstanceController.java index 29113ed..b7c185f 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsMaintInstanceController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsBillsMaintInstanceController.java @@ -36,7 +36,7 @@ public class DmsBillsMaintInstanceController extends BaseController /** * 查询保养工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:list')" ) @GetMapping("/list") public TableDataInfo list(DmsBillsMaintInstance dmsBillsMaintInstance) { @@ -48,7 +48,7 @@ public class DmsBillsMaintInstanceController extends BaseController /** * 查询保养工单列表(不分页) */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:list')" ) @GetMapping("/listAll") public AjaxResult listAll(DmsBillsMaintInstance dmsBillsMaintInstance) { @@ -59,7 +59,7 @@ public class DmsBillsMaintInstanceController extends BaseController /** * 导出保养工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:export')" ) ////@Log(title = "保养工单", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsBillsMaintInstance dmsBillsMaintInstance) @@ -72,7 +72,7 @@ public class DmsBillsMaintInstanceController extends BaseController /** * 获取保养工单详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:query')" ) @GetMapping(value = "/{maintInstanceId}") public AjaxResult getInfo(@PathVariable("maintInstanceId") Long maintInstanceId) { @@ -82,7 +82,7 @@ public class DmsBillsMaintInstanceController extends BaseController /** * 新增保养工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:add')" ) ////@Log(title = "保养工单", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsBillsMaintInstance dmsBillsMaintInstance) @@ -101,7 +101,7 @@ public class DmsBillsMaintInstanceController extends BaseController /** * 修改保养工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:edit')" ) ////@Log(title = "保养工单", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsBillsMaintInstance dmsBillsMaintInstance) @@ -112,7 +112,7 @@ public class DmsBillsMaintInstanceController extends BaseController /** * 删除保养工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsBillsMaintInstance:remove')" ) ////@Log(title = "保养工单", businessType = BusinessType.DELETE) @DeleteMapping("/{maintInstanceIds}") public AjaxResult remove(@PathVariable Long[] maintInstanceIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsDispatchPlanController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsDispatchPlanController.java index 9aaaa0c..01137eb 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsDispatchPlanController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsDispatchPlanController.java @@ -31,7 +31,7 @@ public class DmsDispatchPlanController extends BaseController { /** * 查询派工计划列表 */ - @PreAuthorize("@ss.hasPermi('dms:dispatchPlan:list')") + //@PreAuthorize("@ss.hasPermi('dms:dispatchPlan:list')") @GetMapping("/list") public TableDataInfo list(DmsDispatchPlan dmsDispatchPlan) { startPage(); @@ -42,7 +42,7 @@ public class DmsDispatchPlanController extends BaseController { /** * 导出派工计划列表 */ - @PreAuthorize("@ss.hasPermi('dms:dispatchPlan:export')") + //@PreAuthorize("@ss.hasPermi('dms:dispatchPlan:export')") @Log(title = "派工计划", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsDispatchPlan dmsDispatchPlan) { @@ -54,7 +54,7 @@ public class DmsDispatchPlanController extends BaseController { /** * 获取派工计划详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dispatchPlan:query')") + //@PreAuthorize("@ss.hasPermi('dms:dispatchPlan:query')") @GetMapping(value = "/{planId}") public AjaxResult getInfo(@PathVariable("planId") Long planId) { return AjaxResult.success(dmsDispatchPlanService.selectDmsDispatchPlanByPlanId(planId)); @@ -63,7 +63,7 @@ public class DmsDispatchPlanController extends BaseController { /** * 新增派工计划 */ - @PreAuthorize("@ss.hasPermi('dms:dispatchPlan:add')") + //@PreAuthorize("@ss.hasPermi('dms:dispatchPlan:add')") @Log(title = "派工计划", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsDispatchPlan dmsDispatchPlan) { @@ -73,7 +73,7 @@ public class DmsDispatchPlanController extends BaseController { /** * 修改派工计划 */ - @PreAuthorize("@ss.hasPermi('dms:dispatchPlan:edit')") + //@PreAuthorize("@ss.hasPermi('dms:dispatchPlan:edit')") @Log(title = "派工计划", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsDispatchPlan dmsDispatchPlan) { @@ -83,7 +83,7 @@ public class DmsDispatchPlanController extends BaseController { /** * 删除派工计划 */ - @PreAuthorize("@ss.hasPermi('dms:dispatchPlan:remove')") + //@PreAuthorize("@ss.hasPermi('dms:dispatchPlan:remove')") @Log(title = "派工计划", businessType = BusinessType.DELETE) @DeleteMapping("/{planIds}") public AjaxResult remove(@PathVariable Long[] planIds) { @@ -93,7 +93,7 @@ public class DmsDispatchPlanController extends BaseController { /** * 接收派工 */ - @PreAuthorize("@ss.hasPermi('dms:dispatchPlan:receive')") + //@PreAuthorize("@ss.hasPermi('dms:dispatchPlan:receive')") @Log(title = "接收派工", businessType = BusinessType.UPDATE) @PostMapping("/receive") public AjaxResult receive(@RequestBody DmsDispatchPlan dmsDispatchPlan) { @@ -103,7 +103,7 @@ public class DmsDispatchPlanController extends BaseController { /** * 拒绝派工 */ - @PreAuthorize("@ss.hasPermi('dms:dispatchPlan:reject')") + //@PreAuthorize("@ss.hasPermi('dms:dispatchPlan:reject')") @Log(title = "拒绝派工", businessType = BusinessType.UPDATE) @PostMapping("/reject") public AjaxResult reject(@RequestBody DmsDispatchPlan dmsDispatchPlan) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFaultInstanceActivityController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFaultInstanceActivityController.java index dc9c315..f3cee9d 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFaultInstanceActivityController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFaultInstanceActivityController.java @@ -33,7 +33,7 @@ public class DmsFaultInstanceActivityController extends BaseController /** * 查询故障报修工单实例节点列表 */ - @PreAuthorize("@ss.hasPermi('dms:activity:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:activity:list')" ) @GetMapping("/list") public TableDataInfo list(DmsFaultInstanceActivity dmsFaultInstanceActivity) { @@ -45,7 +45,7 @@ public class DmsFaultInstanceActivityController extends BaseController /** * 导出故障报修工单实例节点列表 */ - @PreAuthorize("@ss.hasPermi('dms:activity:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:activity:export')" ) ////@Log(title = "故障报修工单实例节点", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsFaultInstanceActivity dmsFaultInstanceActivity) @@ -58,7 +58,7 @@ public class DmsFaultInstanceActivityController extends BaseController /** * 获取故障报修工单实例节点详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:activity:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:activity:query')" ) @GetMapping(value = "/{instanceActivityId}") public AjaxResult getInfo(@PathVariable("instanceActivityId") Long instanceActivityId) { @@ -68,7 +68,7 @@ public class DmsFaultInstanceActivityController extends BaseController /** * 新增故障报修工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:activity:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:activity:add')" ) ////@Log(title = "故障报修工单实例节点", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsFaultInstanceActivity dmsFaultInstanceActivity) @@ -79,7 +79,7 @@ public class DmsFaultInstanceActivityController extends BaseController /** * 修改故障报修工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:activity:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:activity:edit')" ) ////@Log(title = "故障报修工单实例节点", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsFaultInstanceActivity dmsFaultInstanceActivity) @@ -90,7 +90,7 @@ public class DmsFaultInstanceActivityController extends BaseController /** * 删除故障报修工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:activity:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:activity:remove')" ) ////@Log(title = "故障报修工单实例节点", businessType = BusinessType.DELETE) @DeleteMapping("/{instanceActivityIds}") public AjaxResult remove(@PathVariable Long[] instanceActivityIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFlowCheckplanController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFlowCheckplanController.java index 0d10764..4b38fc1 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFlowCheckplanController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFlowCheckplanController.java @@ -39,7 +39,7 @@ public class DmsFlowCheckplanController extends BaseController /** * 查询设备盘点计划列表 */ - @PreAuthorize("@ss.hasPermi('dms:checkplan:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:checkplan:list')" ) @GetMapping("/list") public TableDataInfo list(DmsFlowCheckplan dmsFlowCheckplan) { @@ -51,7 +51,7 @@ public class DmsFlowCheckplanController extends BaseController /** * 导出设备盘点计划列表 */ - @PreAuthorize("@ss.hasPermi('dms:checkplan:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:checkplan:export')" ) //@Log(title = "设备盘点计划", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsFlowCheckplan dmsFlowCheckplan) @@ -64,7 +64,7 @@ public class DmsFlowCheckplanController extends BaseController /** * 获取设备盘点计划详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:checkplan:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:checkplan:query')" ) @GetMapping(value = "/{flowCheckplanId}") public AjaxResult getInfo(@PathVariable("flowCheckplanId") Long flowCheckplanId) { @@ -74,7 +74,7 @@ public class DmsFlowCheckplanController extends BaseController /** * 新增设备盘点计划 */ - @PreAuthorize("@ss.hasPermi('dms:checkplan:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:checkplan:add')" ) //@Log(title = "设备盘点计划", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsFlowCheckplan dmsFlowCheckplan) @@ -85,7 +85,7 @@ public class DmsFlowCheckplanController extends BaseController /** * 修改设备盘点计划 */ - @PreAuthorize("@ss.hasPermi('dms:checkplan:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:checkplan:edit')" ) //@Log(title = "设备盘点计划", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsFlowCheckplan dmsFlowCheckplan) @@ -96,7 +96,7 @@ public class DmsFlowCheckplanController extends BaseController /** * 删除设备盘点计划 */ - @PreAuthorize("@ss.hasPermi('dms:checkplan:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:checkplan:remove')" ) //@Log(title = "设备盘点计划", businessType = BusinessType.DELETE) @DeleteMapping("/{flowCheckplanIds}") public AjaxResult remove(@PathVariable Long[] flowCheckplanIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFlowCheckplanDetailController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFlowCheckplanDetailController.java index af3c493..740bb54 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFlowCheckplanDetailController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsFlowCheckplanDetailController.java @@ -39,7 +39,7 @@ public class DmsFlowCheckplanDetailController extends BaseController /** * 查询设备盘点明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:detail:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:detail:list')" ) @GetMapping("/list") public TableDataInfo list(DmsFlowCheckplanDetail dmsFlowCheckplanDetail) { @@ -51,7 +51,7 @@ public class DmsFlowCheckplanDetailController extends BaseController /** * 导出设备盘点明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:detail:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:detail:export')" ) //@Log(title = "设备盘点明细", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsFlowCheckplanDetail dmsFlowCheckplanDetail) @@ -64,7 +64,7 @@ public class DmsFlowCheckplanDetailController extends BaseController /** * 获取设备盘点明细详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:detail:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:detail:query')" ) @GetMapping(value = "/{checkplanDetailId}") public AjaxResult getInfo(@PathVariable("checkplanDetailId") Long checkplanDetailId) { @@ -74,7 +74,7 @@ public class DmsFlowCheckplanDetailController extends BaseController /** * 新增设备盘点明细 */ - @PreAuthorize("@ss.hasPermi('dms:detail:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:detail:add')" ) //@Log(title = "设备盘点明细", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsFlowCheckplanDetail dmsFlowCheckplanDetail) @@ -85,7 +85,7 @@ public class DmsFlowCheckplanDetailController extends BaseController /** * 修改设备盘点明细 */ - @PreAuthorize("@ss.hasPermi('dms:detail:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:detail:edit')" ) //@Log(title = "设备盘点明细", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsFlowCheckplanDetail dmsFlowCheckplanDetail) @@ -96,7 +96,7 @@ public class DmsFlowCheckplanDetailController extends BaseController /** * 删除设备盘点明细 */ - @PreAuthorize("@ss.hasPermi('dms:detail:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:detail:remove')" ) //@Log(title = "设备盘点明细", businessType = BusinessType.DELETE) @DeleteMapping("/{checkplanDetailIds}") public AjaxResult remove(@PathVariable Long[] checkplanDetailIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsInspectInstanceDetailProjectController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsInspectInstanceDetailProjectController.java index 6baf7cd..1fa7176 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsInspectInstanceDetailProjectController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsInspectInstanceDetailProjectController.java @@ -33,7 +33,7 @@ public class DmsInspectInstanceDetailProjectController extends BaseController /** * 查询点巡检工单明细项目信息;质检检查每个项目的质检结果详情列表 */ - @PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:list')" ) @GetMapping("/list") public TableDataInfo list(DmsInspectInstanceDetailProject dmsInspectInstanceDetailProject) { @@ -50,7 +50,7 @@ public class DmsInspectInstanceDetailProjectController extends BaseController /** * 导出点巡检工单明细项目信息;质检检查每个项目的质检结果详情列表 */ - @PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:export')" ) ////@Log(title = "点巡检工单明细项目信息;质检检查每个项目的质检结果详情", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsInspectInstanceDetailProject dmsInspectInstanceDetailProject) @@ -63,7 +63,7 @@ public class DmsInspectInstanceDetailProjectController extends BaseController /** * 获取点巡检工单明细项目信息;质检检查每个项目的质检结果详情详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:query')" ) @GetMapping(value = "/{instanceDetailProjectId}") public AjaxResult getInfo(@PathVariable("instanceDetailProjectId") Long instanceDetailProjectId) { @@ -73,7 +73,7 @@ public class DmsInspectInstanceDetailProjectController extends BaseController /** * 新增点巡检工单明细项目信息;质检检查每个项目的质检结果详情 */ - @PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:add')" ) ////@Log(title = "点巡检工单明细项目信息;质检检查每个项目的质检结果详情", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsInspectInstanceDetailProject dmsInspectInstanceDetailProject) @@ -84,7 +84,7 @@ public class DmsInspectInstanceDetailProjectController extends BaseController /** * 修改点巡检工单明细项目信息;质检检查每个项目的质检结果详情 */ - @PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:edit')" ) ////@Log(title = "点巡检工单明细项目信息;质检检查每个项目的质检结果详情", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsInspectInstanceDetailProject dmsInspectInstanceDetailProject) @@ -95,7 +95,7 @@ public class DmsInspectInstanceDetailProjectController extends BaseController /** * 删除点巡检工单明细项目信息;质检检查每个项目的质检结果详情 */ - @PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:inspectinstancedetailproject:remove')" ) ////@Log(title = "点巡检工单明细项目信息;质检检查每个项目的质检结果详情", businessType = BusinessType.DELETE) @DeleteMapping("/{instanceDetailProjectIds}") public AjaxResult remove(@PathVariable Long[] instanceDetailProjectIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsInspectRouteDetailController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsInspectRouteDetailController.java index ba74dec..c168346 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsInspectRouteDetailController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsInspectRouteDetailController.java @@ -33,7 +33,7 @@ public class DmsInspectRouteDetailController extends BaseController /** * 查询巡检线路明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:list')" ) @GetMapping("/list") public TableDataInfo list(DmsInspectRouteDetail dmsInspectRouteDetail) { @@ -51,7 +51,7 @@ public class DmsInspectRouteDetailController extends BaseController /** * 导出巡检线路明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:export')" ) ////@Log(title = "巡检线路明细", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsInspectRouteDetail dmsInspectRouteDetail) @@ -64,7 +64,7 @@ public class DmsInspectRouteDetailController extends BaseController /** * 获取巡检线路明细详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:query')" ) @GetMapping(value = "/{routeDetailId}") public AjaxResult getInfo(@PathVariable("routeDetailId") Long routeDetailId) { @@ -74,7 +74,7 @@ public class DmsInspectRouteDetailController extends BaseController /** * 新增巡检线路明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:add')" ) ////@Log(title = "巡检线路明细", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsInspectRouteDetail dmsInspectRouteDetail) @@ -85,7 +85,7 @@ public class DmsInspectRouteDetailController extends BaseController /** * 修改巡检线路明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:edit')" ) ////@Log(title = "巡检线路明细", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsInspectRouteDetail dmsInspectRouteDetail) @@ -96,7 +96,7 @@ public class DmsInspectRouteDetailController extends BaseController /** * 删除巡检线路明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsInspectRouteDetail:remove')" ) ////@Log(title = "巡检线路明细", businessType = BusinessType.DELETE) @DeleteMapping("/{routeDetailIds}") public AjaxResult remove(@PathVariable Long[] routeDetailIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeLubeController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeLubeController.java index ca55575..6ceba7d 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeLubeController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeLubeController.java @@ -39,7 +39,7 @@ public class DmsKnowledgeLubeController extends BaseController /** * 查询润滑知识库列表 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeLube:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeLube:list')" ) @GetMapping("/list") public TableDataInfo list(DmsKnowledgeLube dmsKnowledgeLube) { @@ -51,7 +51,7 @@ public class DmsKnowledgeLubeController extends BaseController /** * 导出润滑知识库列表 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeLube:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeLube:export')" ) //@Log(title = "润滑知识库", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsKnowledgeLube dmsKnowledgeLube) @@ -64,7 +64,7 @@ public class DmsKnowledgeLubeController extends BaseController /** * 获取润滑知识库详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeLube:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeLube:query')" ) @GetMapping(value = "/{knowledgeLubeId}") public AjaxResult getInfo(@PathVariable("knowledgeLubeId") Long knowledgeLubeId) { @@ -74,7 +74,7 @@ public class DmsKnowledgeLubeController extends BaseController /** * 新增润滑知识库 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeLube:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeLube:add')" ) //@Log(title = "润滑知识库", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsKnowledgeLube dmsKnowledgeLube) @@ -85,7 +85,7 @@ public class DmsKnowledgeLubeController extends BaseController /** * 修改润滑知识库 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeLube:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeLube:edit')" ) //@Log(title = "润滑知识库", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsKnowledgeLube dmsKnowledgeLube) @@ -96,7 +96,7 @@ public class DmsKnowledgeLubeController extends BaseController /** * 删除润滑知识库 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeLube:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeLube:remove')" ) //@Log(title = "润滑知识库", businessType = BusinessType.DELETE) @DeleteMapping("/{knowledgeLubeIds}") public AjaxResult remove(@PathVariable Long[] knowledgeLubeIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeMaintController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeMaintController.java index f6b9370..959b3eb 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeMaintController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeMaintController.java @@ -39,7 +39,7 @@ public class DmsKnowledgeMaintController extends BaseController /** * 查询保养知识库列表 */ - @PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:list')" ) @GetMapping("/list") public TableDataInfo list(DmsKnowledgeMaint dmsKnowledgeMaint) { @@ -51,7 +51,7 @@ public class DmsKnowledgeMaintController extends BaseController /** * 导出保养知识库列表 */ - @PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:export')" ) //@Log(title = "保养知识库", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsKnowledgeMaint dmsKnowledgeMaint) @@ -64,7 +64,7 @@ public class DmsKnowledgeMaintController extends BaseController /** * 获取保养知识库详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:query')" ) @GetMapping(value = "/{knowledgeMaintId}") public AjaxResult getInfo(@PathVariable("knowledgeMaintId") Long knowledgeMaintId) { @@ -74,7 +74,7 @@ public class DmsKnowledgeMaintController extends BaseController /** * 新增保养知识库 */ - @PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:add')" ) //@Log(title = "保养知识库", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsKnowledgeMaint dmsKnowledgeMaint) @@ -85,7 +85,7 @@ public class DmsKnowledgeMaintController extends BaseController /** * 修改保养知识库 */ - @PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:edit')" ) //@Log(title = "保养知识库", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsKnowledgeMaint dmsKnowledgeMaint) @@ -96,7 +96,7 @@ public class DmsKnowledgeMaintController extends BaseController /** * 删除保养知识库 */ - @PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:konwledgeMaint:remove')" ) //@Log(title = "保养知识库", businessType = BusinessType.DELETE) @DeleteMapping("/{knowledgeMaintIds}") public AjaxResult remove(@PathVariable Long[] knowledgeMaintIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeRepairController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeRepairController.java index 528e5ca..e7dc09b 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeRepairController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsKnowledgeRepairController.java @@ -39,7 +39,7 @@ public class DmsKnowledgeRepairController extends BaseController /** * 查询维修知识库列表 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:list')" ) @GetMapping("/list") public TableDataInfo list(DmsKnowledgeRepair dmsKnowledgeRepair) { @@ -51,7 +51,7 @@ public class DmsKnowledgeRepairController extends BaseController /** * 导出维修知识库列表 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:export')" ) //@Log(title = "维修知识库", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsKnowledgeRepair dmsKnowledgeRepair) @@ -64,7 +64,7 @@ public class DmsKnowledgeRepairController extends BaseController /** * 获取维修知识库详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:query')" ) @GetMapping(value = "/{knowledgeRepairId}") public AjaxResult getInfo(@PathVariable("knowledgeRepairId") Long knowledgeRepairId) { @@ -74,7 +74,7 @@ public class DmsKnowledgeRepairController extends BaseController /** * 新增维修知识库 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:add')" ) //@Log(title = "维修知识库", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsKnowledgeRepair dmsKnowledgeRepair) @@ -85,7 +85,7 @@ public class DmsKnowledgeRepairController extends BaseController /** * 修改维修知识库 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:edit')" ) //@Log(title = "维修知识库", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsKnowledgeRepair dmsKnowledgeRepair) @@ -96,7 +96,7 @@ public class DmsKnowledgeRepairController extends BaseController /** * 删除维修知识库 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:remove')" ) //@Log(title = "维修知识库", businessType = BusinessType.DELETE) @DeleteMapping("/{knowledgeRepairIds}") public AjaxResult remove(@PathVariable Long[] knowledgeRepairIds) @@ -107,7 +107,7 @@ public class DmsKnowledgeRepairController extends BaseController /** * 查询维修知识库列表 */ - @PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:knowledgeRepair:list')" ) @GetMapping("/getKnowledgeRepairList") public AjaxResult getKnowledgeRepairList(DmsKnowledgeRepair dmsKnowledgeRepair) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsMaintInstanceActivityController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsMaintInstanceActivityController.java index a043c2d..db7ac71 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsMaintInstanceActivityController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsMaintInstanceActivityController.java @@ -37,7 +37,7 @@ public class DmsMaintInstanceActivityController extends BaseController /** * 查询保养工单实例节点列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:list')" ) @GetMapping("/list") public TableDataInfo list(DmsMaintInstanceActivity dmsMaintInstanceActivity) { @@ -50,7 +50,7 @@ public class DmsMaintInstanceActivityController extends BaseController /** * 导出保养工单实例节点列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:export')" ) ////@Log(title = "保养工单实例节点", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsMaintInstanceActivity dmsMaintInstanceActivity) @@ -63,7 +63,7 @@ public class DmsMaintInstanceActivityController extends BaseController /** * 获取保养工单实例节点详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:query')" ) @GetMapping(value = "/{instanceActivityId}") public AjaxResult getInfo(@PathVariable("instanceActivityId") Long instanceActivityId) { @@ -73,7 +73,7 @@ public class DmsMaintInstanceActivityController extends BaseController /** * 新增保养工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:add')" ) ////@Log(title = "保养工单实例节点", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsMaintInstanceActivity dmsMaintInstanceActivity) @@ -84,7 +84,7 @@ public class DmsMaintInstanceActivityController extends BaseController /** * 修改保养工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:edit')" ) ////@Log(title = "保养工单实例节点", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsMaintInstanceActivity dmsMaintInstanceActivity) @@ -95,7 +95,7 @@ public class DmsMaintInstanceActivityController extends BaseController /** * 删除保养工单实例节点 */ - @PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsMaintInstanceActivity:remove')" ) ////@Log(title = "保养工单实例节点", businessType = BusinessType.DELETE) @DeleteMapping("/{instanceActivityIds}") public AjaxResult remove(@PathVariable Long[] instanceActivityIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsMobileController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsMobileController.java index c1aa7dc..f3f2036 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsMobileController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsMobileController.java @@ -59,7 +59,7 @@ public class DmsMobileController extends BaseController { * @return *//* - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/getDeviceByDeviceCode/{deviceCode}") public AjaxResult getDeviceByDeviceCode(@PathVariable("deviceCode") String deviceCode) { DmsBaseDeviceLedger dmsBaseDeviceLedger = baseDeviceLedgerService.selectDmsBaseDeviceLedgerByDeviceCode(deviceCode); @@ -73,7 +73,7 @@ public class DmsMobileController extends BaseController { * @return *//* - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/getOutsrcInfos") public AjaxResult getOutsrcInfos() { DmsBaseOutsrcInfo queryBaseOutsrcInfo = new DmsBaseOutsrcInfo(); @@ -106,7 +106,7 @@ public class DmsMobileController extends BaseController { * 外协id outsrcId(可不传入) * 图片 files */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "故障报修工单", businessType = BusinessType.INSERT) @PostMapping("/insertFaultInstsanceActivity") public AjaxResult insertFaultInstsanceActivity(DmsBillsFaultInstance dmsBillsFaultInstance, @@ -129,7 +129,7 @@ public class DmsMobileController extends BaseController { * * @return */ - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/getBillsFaultInstances") public TableDataInfo getBillsFaultInstances() { // startPage(); @@ -143,7 +143,7 @@ public class DmsMobileController extends BaseController { * * @return */ - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/getBillsFaultInstanceByRepairInstanceId/{repairInstanceId}") public AjaxResult getBillsFaultInstanceByRepairInstanceId(@PathVariable("repairInstanceId") Long repairInstanceId) { DmsBillsFaultInstance billsFaultInstance = dmsBillsFaultInstanceService.selectDmsBillsFaultInstanceByRepairInstanceId(repairInstanceId); @@ -153,7 +153,7 @@ public class DmsMobileController extends BaseController { /** * 修改工单提交 */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "故障报修工单", businessType = BusinessType.UPDATE) @PostMapping("/updateFaultInstanceActivity") public AjaxResult updateFaultInstanceActivity(DmsFaultInstanceActivity dmsFaultInstanceActivity, @@ -175,7 +175,7 @@ public class DmsMobileController extends BaseController { * * @return */ - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/getBillsFaultInstance4Repair/{repairInstanceId}") public AjaxResult getBillsFaultInstance4Repair(@PathVariable("repairInstanceId") Long repairInstanceId) { DmsBillsFaultInstance billsFaultInstance = dmsBillsFaultInstanceService.getDmsBillsFaultInstance4Repair(repairInstanceId); @@ -188,7 +188,7 @@ public class DmsMobileController extends BaseController { * * @return */ - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/scanDevice4Repair") public AjaxResult scanDevice4Repair(@Validated DmsBillsFaultInstanceScanVo dmsBillsFaultInstanceScanVo) { dmsBillsFaultInstanceService.scanDevice4Repair(dmsBillsFaultInstanceScanVo); @@ -199,7 +199,7 @@ public class DmsMobileController extends BaseController { /** * 开始维修 */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "故障报修工单", businessType = BusinessType.START) @PostMapping("/startRepair") public AjaxResult startRepair(@RequestBody DmsFaultInstanceActivity dmsFaultInstanceActivity) { @@ -209,7 +209,7 @@ public class DmsMobileController extends BaseController { /** * 完成维修 */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "故障报修工单", businessType = BusinessType.COMPLETE) @PostMapping("/completeRepair") public AjaxResult completeRepair(DmsFaultInstanceActivity dmsFaultInstanceActivity,@RequestParam(value = "files", required = false) List files) throws JsonProcessingException { @@ -235,7 +235,7 @@ public class DmsMobileController extends BaseController { * * @return */ - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/getNewestInspectInstance") public AjaxResult getNewestInspectInstance(DmsBillsInspectInstance dmsBillsInspectInstance) { DmsBillsInspectInstance newestInspectInstance = dmsBillsInspectInstanceService.getNewestBillsInspectInstance(dmsBillsInspectInstance); @@ -246,7 +246,7 @@ public class DmsMobileController extends BaseController { /** * 扫描设备编号或者输入设备编号进行巡检验证 * */ - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/scanInspectInstanceDetail") public AjaxResult scanInspectInstanceDetail(@Validated DmsBillsInspectInstanceScanVo dmsBillsInspectInstanceScanVo) { return success(dmsBillsInspectInstanceService.scanInspectInstanceDetail(dmsBillsInspectInstanceScanVo)); @@ -255,7 +255,7 @@ public class DmsMobileController extends BaseController { /** * 点巡检工单 */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "点巡检工单明细", businessType = BusinessType.INSERT) @PostMapping("/saveInspectInstanceDetail") public AjaxResult saveInspectInstanceDetail(@RequestBody DmsInspectInstanceDetail dmsInspectInstanceDetail) { @@ -271,7 +271,7 @@ public class DmsMobileController extends BaseController { * * @return */ - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/getNewestMaintInstance") public AjaxResult getNewestMaintInstance(DmsBillsMaintInstance dmsBillsMaintInstance) { DmsBillsMaintInstance newestMaintInstance = dmsBillsMaintInstanceService.getNewestBillsMaintInstance(dmsBillsMaintInstance); @@ -282,7 +282,7 @@ public class DmsMobileController extends BaseController { /** * 开始保养 */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "保养工单", businessType = BusinessType.START) @PostMapping("/startMaint") public AjaxResult startMaint(@RequestBody DmsBillsMaintDetail dmsBillsMaintDetail) { @@ -292,7 +292,7 @@ public class DmsMobileController extends BaseController { /** * 完成保养 */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "保养工单", businessType = BusinessType.COMPLETE) @PostMapping("/completeMaint") public AjaxResult completeMaint(@RequestBody DmsBillsMaintDetail dmsBillsMaintDetail) { @@ -305,7 +305,7 @@ public class DmsMobileController extends BaseController { * * @return */ - // @PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) + // //@PreAuthorize("@ss.hasPermi('qms:checkrule:list')" ) @GetMapping("/getNewestLubeInstance") public AjaxResult getNewestLubeInstance(DmsBillsLubeInstance dmsBillsLubeInstance) { DmsBillsLubeInstance newestLubeInstance = dmsBillsLubeInstanceService.getNewestBillsLubeInstance(dmsBillsLubeInstance); @@ -315,7 +315,7 @@ public class DmsMobileController extends BaseController { /** * 开始润滑 */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "润滑工单", businessType = BusinessType.START) @PostMapping("/startLube") public AjaxResult startLube(@RequestBody DmsBillsLubeDetail dmsBillsLubeDetail) { @@ -326,7 +326,7 @@ public class DmsMobileController extends BaseController { /** * 完成润滑 */ -// @PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) +// //@PreAuthorize("@ss.hasPermi('qms:checkresultdetail:add')" ) ////@Log(title = "润滑工单", businessType = BusinessType.COMPLETE) @PostMapping("/completeLube") public AjaxResult completeLube(@RequestBody DmsBillsLubeDetail dmsBillsLubeDetail) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanInspectController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanInspectController.java index 5e6768a..65ccd8b 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanInspectController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanInspectController.java @@ -33,7 +33,7 @@ public class DmsPlanInspectController extends BaseController /** * 查询巡检计划信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:list')" ) @GetMapping("/list") public TableDataInfo list(DmsPlanInspect dmsPlanInspect) { @@ -45,7 +45,7 @@ public class DmsPlanInspectController extends BaseController /** * 导出巡检计划信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:export')" ) ////@Log(title = "巡检计划信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsPlanInspect dmsPlanInspect) @@ -58,7 +58,7 @@ public class DmsPlanInspectController extends BaseController /** * 获取巡检计划信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:remove')" ) @GetMapping(value = "/{planInspectId}") public AjaxResult getInfo(@PathVariable("planInspectId") Long planInspectId) { @@ -68,7 +68,7 @@ public class DmsPlanInspectController extends BaseController /** * 新增巡检计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:add')" ) ////@Log(title = "巡检计划信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsPlanInspect dmsPlanInspect) @@ -79,7 +79,7 @@ public class DmsPlanInspectController extends BaseController /** * 修改巡检计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:edit')" ) ////@Log(title = "巡检计划信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsPlanInspect dmsPlanInspect) @@ -90,7 +90,7 @@ public class DmsPlanInspectController extends BaseController /** * 删除巡检计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanInspect:remove')" ) ////@Log(title = "巡检计划信息", businessType = BusinessType.DELETE) @DeleteMapping("/{planInspectIds}") public AjaxResult remove(@PathVariable Long[] planInspectIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanLubeController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanLubeController.java index 93569b3..f7b752a 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanLubeController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanLubeController.java @@ -33,7 +33,7 @@ public class DmsPlanLubeController extends BaseController /** * 查询润滑计划列表 */ - @PreAuthorize("@ss.hasPermi('dms:lube:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:lube:list')" ) @GetMapping("/list") public TableDataInfo list(DmsPlanLube dmsPlanLube) { @@ -45,7 +45,7 @@ public class DmsPlanLubeController extends BaseController /** * 导出润滑计划列表 */ - @PreAuthorize("@ss.hasPermi('dms:lube:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:lube:export')" ) ////@Log(title = "润滑计划", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsPlanLube dmsPlanLube) @@ -58,7 +58,7 @@ public class DmsPlanLubeController extends BaseController /** * 获取润滑计划详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:lube:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:lube:query')" ) @GetMapping(value = "/{planLubeId}") public AjaxResult getInfo(@PathVariable("planLubeId") Long planLubeId) { @@ -68,7 +68,7 @@ public class DmsPlanLubeController extends BaseController /** * 新增润滑计划 */ - @PreAuthorize("@ss.hasPermi('dms:lube:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:lube:add')" ) ////@Log(title = "润滑计划", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsPlanLube dmsPlanLube) @@ -80,7 +80,7 @@ public class DmsPlanLubeController extends BaseController /** * 修改润滑计划 */ - @PreAuthorize("@ss.hasPermi('dms:lube:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:lube:edit')" ) ////@Log(title = "润滑计划", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsPlanLube dmsPlanLube) @@ -91,7 +91,7 @@ public class DmsPlanLubeController extends BaseController /** * 删除润滑计划 */ - @PreAuthorize("@ss.hasPermi('dms:lube:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:lube:remove')" ) ////@Log(title = "润滑计划", businessType = BusinessType.DELETE) @DeleteMapping("/{planLubeIds}") public AjaxResult remove(@PathVariable Long[] planLubeIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanLubeDetailController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanLubeDetailController.java index abb20a7..9b4bafe 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanLubeDetailController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanLubeDetailController.java @@ -44,7 +44,7 @@ public class DmsPlanLubeDetailController extends BaseController /** * 查询润滑计划明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:list')" ) @GetMapping("/list") public TableDataInfo list(DmsPlanLubeDetail dmsPlanLubeDetail) { @@ -56,7 +56,7 @@ public class DmsPlanLubeDetailController extends BaseController /** * 导出润滑计划明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:export')" ) ////@Log(title = "润滑计划明细", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsPlanLubeDetail dmsPlanLubeDetail) @@ -69,7 +69,7 @@ public class DmsPlanLubeDetailController extends BaseController /** * 获取润滑计划明细详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:query')" ) @GetMapping(value = "/{planLubeDetailId}") public AjaxResult getInfo(@PathVariable("planLubeDetailId") Long planLubeDetailId) { @@ -88,7 +88,7 @@ public class DmsPlanLubeDetailController extends BaseController /** * 新增润滑计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:add')" ) ////@Log(title = "润滑计划明细", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsPlanLubeDetail dmsPlanLubeDetail) @@ -99,7 +99,7 @@ public class DmsPlanLubeDetailController extends BaseController /** * 修改润滑计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:edit')" ) ////@Log(title = "润滑计划明细", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsPlanLubeDetail dmsPlanLubeDetail) @@ -110,7 +110,7 @@ public class DmsPlanLubeDetailController extends BaseController /** * 删除润滑计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:remove')" ) ////@Log(title = "润滑计划明细", businessType = BusinessType.DELETE) @DeleteMapping("/{planLubeDetailIds}") public AjaxResult remove(@PathVariable Long[] planLubeDetailIds) @@ -125,7 +125,7 @@ public class DmsPlanLubeDetailController extends BaseController /** * 获取润滑标准列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:query')" ) @GetMapping(value = "/getLubeStations") public AjaxResult getLubeStations(DmsBaseLubeStation dmsBaseLubeStation) { @@ -136,7 +136,7 @@ public class DmsPlanLubeDetailController extends BaseController /** * 获取润滑部位列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsPlanLubeDetail:query')" ) @GetMapping(value = "/getLubeStandards") public AjaxResult getLubeStandards(DmsBaseLubeStandard dmsBaseLubeStandard) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanMaintController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanMaintController.java index 5a0fc58..f43f1ea 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanMaintController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanMaintController.java @@ -34,7 +34,7 @@ public class DmsPlanMaintController extends BaseController /** * 查询保养计划信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:maint:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:maint:list')" ) @GetMapping("/list") public TableDataInfo list(DmsPlanMaint dmsPlanMaint) { @@ -46,7 +46,7 @@ public class DmsPlanMaintController extends BaseController /** * 导出保养计划信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:maint:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:maint:export')" ) ////@Log(title = "保养计划信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsPlanMaint dmsPlanMaint) @@ -59,7 +59,7 @@ public class DmsPlanMaintController extends BaseController /** * 获取保养计划信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:maint:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:maint:query')" ) @GetMapping(value = "/{planMaintId}") public AjaxResult getInfo(@PathVariable("planMaintId") Long planMaintId) { @@ -69,7 +69,7 @@ public class DmsPlanMaintController extends BaseController /** * 新增保养计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:maint:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:maint:add')" ) ////@Log(title = "保养计划信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsPlanMaint dmsPlanMaint) @@ -81,7 +81,7 @@ public class DmsPlanMaintController extends BaseController /** * 修改保养计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:maint:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:maint:edit')" ) ////@Log(title = "保养计划信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsPlanMaint dmsPlanMaint) @@ -92,7 +92,7 @@ public class DmsPlanMaintController extends BaseController /** * 删除保养计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:maint:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:maint:remove')" ) ////@Log(title = "保养计划信息", businessType = BusinessType.DELETE) @DeleteMapping("/{planMaintIds}") public AjaxResult remove(@PathVariable Long[] planMaintIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanMaintDetailController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanMaintDetailController.java index 058bea7..f7a7375 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanMaintDetailController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanMaintDetailController.java @@ -33,7 +33,7 @@ public class DmsPlanMaintDetailController extends BaseController /** * 查询保养计划明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:maintDetail:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:maintDetail:list')" ) @GetMapping("/list") public TableDataInfo list(DmsPlanMaintDetail dmsPlanMaintDetail) { @@ -45,7 +45,7 @@ public class DmsPlanMaintDetailController extends BaseController /** * 导出保养计划明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:maintDetail:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:maintDetail:export')" ) ////@Log(title = "保养计划明细", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsPlanMaintDetail dmsPlanMaintDetail) @@ -58,7 +58,7 @@ public class DmsPlanMaintDetailController extends BaseController /** * 获取保养计划明细详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:maintDetail:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:maintDetail:query')" ) @GetMapping(value = "/{planMaintDetailId}") public AjaxResult getInfo(@PathVariable("planMaintDetailId") Long planMaintDetailId) { @@ -76,7 +76,7 @@ public class DmsPlanMaintDetailController extends BaseController /** * 新增保养计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:maintDetail:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:maintDetail:add')" ) ////@Log(title = "保养计划明细", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsPlanMaintDetail dmsPlanMaintDetail) @@ -87,7 +87,7 @@ public class DmsPlanMaintDetailController extends BaseController /** * 修改保养计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:maintDetail:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:maintDetail:edit')" ) ////@Log(title = "保养计划明细", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsPlanMaintDetail dmsPlanMaintDetail) @@ -98,7 +98,7 @@ public class DmsPlanMaintDetailController extends BaseController /** * 删除保养计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:maintDetail:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:maintDetail:remove')" ) ////@Log(title = "保养计划明细", businessType = BusinessType.DELETE) @DeleteMapping("/{planMaintDetailIds}") public AjaxResult remove(@PathVariable Long[] planMaintDetailIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanRepairController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanRepairController.java index 8430b93..b3bb2d2 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanRepairController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanRepairController.java @@ -37,7 +37,7 @@ public class DmsPlanRepairController extends BaseController /** * 查询检修计划信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepair:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepair:list')" ) @GetMapping("/list") public TableDataInfo list(DmsPlanRepair dmsPlanRepair) { @@ -49,7 +49,7 @@ public class DmsPlanRepairController extends BaseController /** * 导出检修计划信息列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepair:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepair:export')" ) ////@Log(title = "检修计划信息", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsPlanRepair dmsPlanRepair) @@ -62,7 +62,7 @@ public class DmsPlanRepairController extends BaseController /** * 获取检修计划信息详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepair:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepair:query')" ) @GetMapping(value = "/{planRepairId}") public AjaxResult getInfo(@PathVariable("planRepairId") Long planRepairId) { @@ -72,7 +72,7 @@ public class DmsPlanRepairController extends BaseController /** * 新增检修计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepair:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepair:add')" ) ////@Log(title = "检修计划信息", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsPlanRepair dmsPlanRepair) @@ -102,7 +102,7 @@ public class DmsPlanRepairController extends BaseController /** * 修改检修计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepair:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepair:edit')" ) ////@Log(title = "检修计划信息", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsPlanRepair dmsPlanRepair) @@ -113,7 +113,7 @@ public class DmsPlanRepairController extends BaseController /** * 删除检修计划信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepair:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepair:remove')" ) ////@Log(title = "检修计划信息", businessType = BusinessType.DELETE) @DeleteMapping("/{planRepairIds}") public AjaxResult remove(@PathVariable Long[] planRepairIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanRepairDetailController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanRepairDetailController.java index 29c2ed5..f249f13 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanRepairDetailController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsPlanRepairDetailController.java @@ -33,7 +33,7 @@ public class DmsPlanRepairDetailController extends BaseController /** * 查询检修计划明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:list')" ) @GetMapping("/list") public TableDataInfo list(DmsPlanRepairDetail dmsPlanRepairDetail) { @@ -53,7 +53,7 @@ public class DmsPlanRepairDetailController extends BaseController /** * 导出检修计划明细列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:export')" ) ////@Log(title = "检修计划明细", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsPlanRepairDetail dmsPlanRepairDetail) @@ -66,7 +66,7 @@ public class DmsPlanRepairDetailController extends BaseController /** * 获取检修计划明细详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:query')" ) @GetMapping(value = "/{planRepairDetailId}") public AjaxResult getInfo(@PathVariable("planRepairDetailId") Long planRepairDetailId) { @@ -76,7 +76,7 @@ public class DmsPlanRepairDetailController extends BaseController /** * 新增检修计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:add')" ) ////@Log(title = "检修计划明细", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsPlanRepairDetail dmsPlanRepairDetail) @@ -87,7 +87,7 @@ public class DmsPlanRepairDetailController extends BaseController /** * 修改检修计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:edit')" ) ////@Log(title = "检修计划明细", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsPlanRepairDetail dmsPlanRepairDetail) @@ -98,7 +98,7 @@ public class DmsPlanRepairDetailController extends BaseController /** * 删除检修计划明细 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairDetail:remove')" ) ////@Log(title = "检修计划明细", businessType = BusinessType.DELETE) @DeleteMapping("/{planRepairDetailIds}") public AjaxResult remove(@PathVariable Long[] planRepairDetailIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRealtimeStatusController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRealtimeStatusController.java index 23731c5..6a784bd 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRealtimeStatusController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRealtimeStatusController.java @@ -33,7 +33,7 @@ public class DmsRealtimeStatusController extends BaseController { /** * 查询设备实时状态列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:list')" ) @GetMapping("/list") public TableDataInfo list(DmsRealtimeStatus dmsRealtimeStatus) { startPage(); @@ -50,7 +50,7 @@ public class DmsRealtimeStatusController extends BaseController { /** * 导出设备实时状态列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:export')" ) ////@Log(title = "设备实时状态", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRealtimeStatus dmsRealtimeStatus) { @@ -62,7 +62,7 @@ public class DmsRealtimeStatusController extends BaseController { /** * 获取设备实时状态详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:query')" ) @GetMapping(value = "/{statusId}") public AjaxResult getInfo(@PathVariable("statusId") Long statusId) { return success(dmsRealtimeStatusService.selectDmsRealtimeStatusByStatusId(statusId)); @@ -71,7 +71,7 @@ public class DmsRealtimeStatusController extends BaseController { /** * 新增设备实时状态 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:add')" ) ////@Log(title = "设备实时状态", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRealtimeStatus dmsRealtimeStatus) { @@ -81,7 +81,7 @@ public class DmsRealtimeStatusController extends BaseController { /** * 修改设备实时状态 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:edit')" ) ////@Log(title = "设备实时状态", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRealtimeStatus dmsRealtimeStatus) { @@ -91,7 +91,7 @@ public class DmsRealtimeStatusController extends BaseController { /** * 删除设备实时状态 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRealtimeStatus:remove')" ) ////@Log(title = "设备实时状态", businessType = BusinessType.DELETE) @DeleteMapping("/{statusIds}") public AjaxResult remove(@PathVariable Long[] statusIds) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordAlarmInfoController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordAlarmInfoController.java index 1c3c84d..c30f885 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordAlarmInfoController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordAlarmInfoController.java @@ -32,7 +32,7 @@ public class DmsRecordAlarmInfoController extends BaseController { /** * 查询设备报警记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:list')" ) @GetMapping("/list") public TableDataInfo list(DmsRecordAlarmInfo dmsRecordAlarmInfo) { startPage(); @@ -43,7 +43,7 @@ public class DmsRecordAlarmInfoController extends BaseController { /** * 导出设备报警记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:export')" ) ////@Log(title = "设备报警记录", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRecordAlarmInfo dmsRecordAlarmInfo) { @@ -55,7 +55,7 @@ public class DmsRecordAlarmInfoController extends BaseController { /** * 获取设备报警记录详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:query')" ) @GetMapping(value = "/{alarmId}") public AjaxResult getInfo(@PathVariable("alarmId") Long alarmId) { return success(dmsRecordAlarmInfoService.selectDmsRecordAlarmInfoByAlarmId(alarmId)); @@ -64,7 +64,7 @@ public class DmsRecordAlarmInfoController extends BaseController { /** * 新增设备报警记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:add')" ) ////@Log(title = "设备报警记录", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRecordAlarmInfo dmsRecordAlarmInfo) { @@ -74,7 +74,7 @@ public class DmsRecordAlarmInfoController extends BaseController { /** * 修改设备报警记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:edit')" ) ////@Log(title = "设备报警记录", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRecordAlarmInfo dmsRecordAlarmInfo) { @@ -84,7 +84,7 @@ public class DmsRecordAlarmInfoController extends BaseController { /** * 删除设备报警记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:remove')" ) ////@Log(title = "设备报警记录", businessType = BusinessType.DELETE) @DeleteMapping("/{alarmIds}") public AjaxResult remove(@PathVariable Long[] alarmIds) { @@ -94,7 +94,7 @@ public class DmsRecordAlarmInfoController extends BaseController { /** * 设备报警人工处理 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordAlarmInfo:edit')" ) ////@Log(title = "设备报警记录", businessType = BusinessType.UPDATE) @PostMapping("/handleDmsRecordAlarmInfo") public AjaxResult handleDmsRecordAlarmInfo(@RequestBody DmsRecordAlarmInfo dmsRecordAlarmInfo) { diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordInspectController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordInspectController.java index d824e99..4567c1c 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordInspectController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordInspectController.java @@ -33,7 +33,7 @@ public class DmsRecordInspectController extends BaseController /** * 查询巡检记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:list')" ) @GetMapping("/list") public TableDataInfo list(DmsRecordInspect dmsRecordInspect) { @@ -45,7 +45,7 @@ public class DmsRecordInspectController extends BaseController /** * 查询巡检记录列表(不分页) */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:list')" ) @GetMapping("/listAll") public AjaxResult listAll(DmsRecordInspect dmsRecordInspect) { @@ -56,7 +56,7 @@ public class DmsRecordInspectController extends BaseController /** * 导出巡检记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:export')" ) ////@Log(title = "巡检记录", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRecordInspect dmsRecordInspect) @@ -69,7 +69,7 @@ public class DmsRecordInspectController extends BaseController /** * 获取巡检记录详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:query')" ) @GetMapping(value = "/{recordInspectId}") public AjaxResult getInfo(@PathVariable("recordInspectId") Long recordInspectId) { @@ -79,7 +79,7 @@ public class DmsRecordInspectController extends BaseController /** * 新增巡检记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:add')" ) ////@Log(title = "巡检记录", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRecordInspect dmsRecordInspect) @@ -90,7 +90,7 @@ public class DmsRecordInspectController extends BaseController /** * 修改巡检记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:edit')" ) ////@Log(title = "巡检记录", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRecordInspect dmsRecordInspect) @@ -101,7 +101,7 @@ public class DmsRecordInspectController extends BaseController /** * 删除巡检记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordInspect:remove')" ) ////@Log(title = "巡检记录", businessType = BusinessType.DELETE) @DeleteMapping("/{recordInspectIds}") public AjaxResult remove(@PathVariable Long[] recordInspectIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordLubeController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordLubeController.java index 49efd8b..c3ff5d8 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordLubeController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordLubeController.java @@ -33,7 +33,7 @@ public class DmsRecordLubeController extends BaseController /** * 查询润滑记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:list')" ) @GetMapping("/list") public TableDataInfo list(DmsRecordLube dmsRecordLube) { @@ -45,7 +45,7 @@ public class DmsRecordLubeController extends BaseController /** * 导出润滑记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:export')" ) ////@Log(title = "润滑记录", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRecordLube dmsRecordLube) @@ -58,7 +58,7 @@ public class DmsRecordLubeController extends BaseController /** * 获取润滑记录详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:remove')" ) @GetMapping(value = "/{recordLubeId}") public AjaxResult getInfo(@PathVariable("recordLubeId") Long recordLubeId) { @@ -68,7 +68,7 @@ public class DmsRecordLubeController extends BaseController /** * 新增润滑记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:add')" ) ////@Log(title = "润滑记录", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRecordLube dmsRecordLube) @@ -79,7 +79,7 @@ public class DmsRecordLubeController extends BaseController /** * 修改润滑记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:edit')" ) ////@Log(title = "润滑记录", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRecordLube dmsRecordLube) @@ -90,7 +90,7 @@ public class DmsRecordLubeController extends BaseController /** * 删除润滑记录 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRecordLube:remove')" ) ////@Log(title = "润滑记录", businessType = BusinessType.DELETE) @DeleteMapping("/{recordLubeIds}") public AjaxResult remove(@PathVariable Long[] recordLubeIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordShutDownController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordShutDownController.java index 2288fac..a48d8ba 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordShutDownController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRecordShutDownController.java @@ -31,7 +31,7 @@ public class DmsRecordShutDownController extends BaseController /** * 查询停机记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:shutDown:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutDown:list')" ) @GetMapping("/list") public TableDataInfo list(DmsRecordShutDown dmsRecordShutDown) { @@ -43,7 +43,7 @@ public class DmsRecordShutDownController extends BaseController /** * 查询停机记录列表(不分页) */ - @PreAuthorize("@ss.hasPermi('dms:shutDown:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutDown:list')" ) @GetMapping("/listAll") public AjaxResult listAll(DmsRecordShutDown dmsRecordShutDown) { @@ -54,7 +54,7 @@ public class DmsRecordShutDownController extends BaseController /** * 导出停机记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:shutDown:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutDown:export')" ) ////@Log(title = "停机记录", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRecordShutDown dmsRecordShutDown) @@ -67,7 +67,7 @@ public class DmsRecordShutDownController extends BaseController /** * 获取停机记录详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:shutDown:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutDown:remove')" ) @GetMapping(value = "/{recordShutDownId}") public AjaxResult getInfo(@PathVariable("recordShutDownId") Long recordShutDownId) { @@ -77,7 +77,7 @@ public class DmsRecordShutDownController extends BaseController /** * 新增停机记录 */ - @PreAuthorize("@ss.hasPermi('dms:shutDown:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutDown:add')" ) ////@Log(title = "停机记录", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRecordShutDown dmsRecordShutDown) @@ -88,7 +88,7 @@ public class DmsRecordShutDownController extends BaseController /** * 修改停机记录 */ - @PreAuthorize("@ss.hasPermi('dms:shutDown:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutDown:edit')" ) ////@Log(title = "停机记录", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRecordShutDown dmsRecordShutDown) @@ -99,7 +99,7 @@ public class DmsRecordShutDownController extends BaseController /** * 删除停机记录 */ - @PreAuthorize("@ss.hasPermi('dms:shutDown:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:shutDown:remove')" ) ////@Log(title = "停机记录", businessType = BusinessType.DELETE) @DeleteMapping("/{recordShutDownIds}") public AjaxResult remove(@PathVariable Long[] recordShutDownIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairInstanceActivityController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairInstanceActivityController.java index 85406fa..58bf66b 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairInstanceActivityController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairInstanceActivityController.java @@ -33,7 +33,7 @@ public class DmsRepairInstanceActivityController extends BaseController /** * 查询检修工单实例节点;最后一步作为检修记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:list')" ) @GetMapping("/list") public TableDataInfo list(DmsRepairInstanceActivity dmsRepairInstanceActivity) { @@ -45,7 +45,7 @@ public class DmsRepairInstanceActivityController extends BaseController /** * 导出检修工单实例节点;最后一步作为检修记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:export')" ) ////@Log(title = "检修工单实例节点;最后一步作为检修记录", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRepairInstanceActivity dmsRepairInstanceActivity) @@ -58,7 +58,7 @@ public class DmsRepairInstanceActivityController extends BaseController /** * 获取检修工单实例节点;最后一步作为检修记录详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:query')" ) + //@PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:query')" ) @GetMapping(value = "/{instanceActivityId}") public AjaxResult getInfo(@PathVariable("instanceActivityId") Long instanceActivityId) { @@ -68,7 +68,7 @@ public class DmsRepairInstanceActivityController extends BaseController /** * 新增检修工单实例节点;最后一步作为检修记录 */ - @PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:add')" ) ////@Log(title = "检修工单实例节点;最后一步作为检修记录", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRepairInstanceActivity dmsRepairInstanceActivity) @@ -79,7 +79,7 @@ public class DmsRepairInstanceActivityController extends BaseController /** * 修改检修工单实例节点;最后一步作为检修记录 */ - @PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:edit')" ) ////@Log(title = "检修工单实例节点;最后一步作为检修记录", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRepairInstanceActivity dmsRepairInstanceActivity) @@ -90,7 +90,7 @@ public class DmsRepairInstanceActivityController extends BaseController /** * 删除检修工单实例节点;最后一步作为检修记录 */ - @PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:repairInstanceActivity:remove')" ) ////@Log(title = "检修工单实例节点;最后一步作为检修记录", businessType = BusinessType.DELETE) @DeleteMapping("/{instanceActivityIds}") public AjaxResult remove(@PathVariable Long[] instanceActivityIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairInstanceController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairInstanceController.java index 97aa2de..766b08b 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairInstanceController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairInstanceController.java @@ -36,7 +36,7 @@ public class DmsRepairInstanceController extends BaseController /** * 查询检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:list')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:list')" ) @GetMapping("/list") public TableDataInfo list(DmsRepairInstance dmsRepairInstance) { @@ -48,7 +48,7 @@ public class DmsRepairInstanceController extends BaseController /** * 导出检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:export')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:export')" ) ////@Log(title = "检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRepairInstance dmsRepairInstance) @@ -61,7 +61,7 @@ public class DmsRepairInstanceController extends BaseController /** * 获取检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:remove')" ) @GetMapping(value = "/{repairInstanceId}") public AjaxResult getInfo(@PathVariable("repairInstanceId") Long repairInstanceId) { @@ -71,7 +71,7 @@ public class DmsRepairInstanceController extends BaseController /** * 新增检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:add')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:add')" ) ////@Log(title = "检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRepairInstance dmsRepairInstance) @@ -108,7 +108,7 @@ public class DmsRepairInstanceController extends BaseController /** * 修改检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:edit')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:edit')" ) ////@Log(title = "检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRepairInstance dmsRepairInstance) @@ -119,7 +119,7 @@ public class DmsRepairInstanceController extends BaseController /** * 删除检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单 */ - @PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:remove')" ) + //@PreAuthorize("@ss.hasPermi('dms:dmsRepairInstance:remove')" ) ////@Log(title = "检修工单;一是根据检修计划自动创建的检修工单,二是手工创建故障报修工单", businessType = BusinessType.DELETE) @DeleteMapping("/{repairInstanceIds}") public AjaxResult remove(@PathVariable Long[] repairInstanceIds) diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairRecordController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairRecordController.java index b94e417..b4a3930 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairRecordController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairRecordController.java @@ -32,7 +32,7 @@ public class DmsRepairRecordController extends BaseController { /** * 查询维修记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:list')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:list')") @GetMapping("/list") public TableDataInfo list(DmsRepairRecord dmsRepairRecord) { startPage(); @@ -43,7 +43,7 @@ public class DmsRepairRecordController extends BaseController { /** * 查询维修记录列表(不分页) */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:list')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:list')") @GetMapping("/listAll") public AjaxResult listAll(DmsRepairRecord dmsRepairRecord) { List list = dmsRepairRecordService.selectDmsRepairRecordList(dmsRepairRecord); @@ -53,7 +53,7 @@ public class DmsRepairRecordController extends BaseController { /** * 导出维修记录列表 */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:export')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:export')") @Log(title = "维修记录", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRepairRecord dmsRepairRecord) { @@ -65,7 +65,7 @@ public class DmsRepairRecordController extends BaseController { /** * 获取维修记录详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:query')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:query')") @GetMapping(value = "/{recordId}") public AjaxResult getInfo(@PathVariable("recordId") Long recordId) { return AjaxResult.success(dmsRepairRecordService.selectDmsRepairRecordByRecordId(recordId)); @@ -74,7 +74,7 @@ public class DmsRepairRecordController extends BaseController { /** * 新增维修记录 */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:add')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:add')") @Log(title = "维修记录", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRepairRecord dmsRepairRecord) { @@ -84,7 +84,7 @@ public class DmsRepairRecordController extends BaseController { /** * 修改维修记录 */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:edit')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:edit')") @Log(title = "维修记录", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRepairRecord dmsRepairRecord) { @@ -94,7 +94,7 @@ public class DmsRepairRecordController extends BaseController { /** * 删除维修记录 */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:remove')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:remove')") @Log(title = "维修记录", businessType = BusinessType.DELETE) @DeleteMapping("/{recordIds}") public AjaxResult remove(@PathVariable Long[] recordIds) { @@ -104,7 +104,7 @@ public class DmsRepairRecordController extends BaseController { /** * 存档维修记录 */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:archive')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:archive')") @Log(title = "维修记录存档", businessType = BusinessType.UPDATE) @PostMapping("/archive") public AjaxResult archive(@RequestBody Map params) { @@ -117,7 +117,7 @@ public class DmsRepairRecordController extends BaseController { /** * 查询设备维修历史 */ - @PreAuthorize("@ss.hasPermi('dms:repairRecord:query')") + //@PreAuthorize("@ss.hasPermi('dms:repairRecord:query')") @GetMapping("/history/{deviceId}") public AjaxResult getHistory(@PathVariable("deviceId") Long deviceId) { List list = dmsRepairRecordService.selectRepairHistoryByDeviceId(deviceId); diff --git a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairWorkOrderController.java b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairWorkOrderController.java index b6f27c7..0db7127 100644 --- a/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairWorkOrderController.java +++ b/aucma-dms/src/main/java/com/aucma/dms/controller/DmsRepairWorkOrderController.java @@ -31,7 +31,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 查询维修工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:list')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:list')") @GetMapping("/list") public TableDataInfo list(DmsRepairWorkOrder dmsRepairWorkOrder) { startPage(); @@ -42,7 +42,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 导出维修工单列表 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:export')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:export')") @Log(title = "维修工单", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DmsRepairWorkOrder dmsRepairWorkOrder) { @@ -54,7 +54,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 获取维修工单详细信息 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:query')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:query')") @GetMapping(value = "/{workOrderId}") public AjaxResult getInfo(@PathVariable("workOrderId") Long workOrderId) { return AjaxResult.success(dmsRepairWorkOrderService.selectDmsRepairWorkOrderByWorkOrderId(workOrderId)); @@ -63,7 +63,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 新增维修工单 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:add')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:add')") @Log(title = "维修工单", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DmsRepairWorkOrder dmsRepairWorkOrder) { @@ -73,7 +73,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 修改维修工单 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:edit')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:edit')") @Log(title = "维修工单", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DmsRepairWorkOrder dmsRepairWorkOrder) { @@ -83,7 +83,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 删除维修工单 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:remove')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:remove')") @Log(title = "维修工单", businessType = BusinessType.DELETE) @DeleteMapping("/{workOrderIds}") public AjaxResult remove(@PathVariable Long[] workOrderIds) { @@ -93,7 +93,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 派工 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:dispatch')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:dispatch')") @Log(title = "维修工单派工", businessType = BusinessType.UPDATE) @PostMapping("/dispatch") public AjaxResult dispatch(@RequestBody DmsRepairWorkOrder dmsRepairWorkOrder) { @@ -103,7 +103,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 开始维修 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:start')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:start')") @Log(title = "开始维修", businessType = BusinessType.UPDATE) @PostMapping("/start") public AjaxResult start(@RequestBody DmsRepairWorkOrder dmsRepairWorkOrder) { @@ -113,7 +113,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 完成维修 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:complete')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:complete')") @Log(title = "完成维修", businessType = BusinessType.UPDATE) @PostMapping("/complete") public AjaxResult complete(@RequestBody DmsRepairWorkOrder dmsRepairWorkOrder) { @@ -123,7 +123,7 @@ public class DmsRepairWorkOrderController extends BaseController { /** * 审批 */ - @PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:approve')") + //@PreAuthorize("@ss.hasPermi('dms:repairWorkOrder:approve')") @Log(title = "维修工单审批", businessType = BusinessType.UPDATE) @PostMapping("/approve") public AjaxResult approve(@RequestBody DmsRepairWorkOrder dmsRepairWorkOrder) {