diff --git a/lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetAdjustDayMasterController.java b/lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetAdjustDayMasterController.java index a4be5e3..9ad4289 100644 --- a/lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetAdjustDayMasterController.java +++ b/lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetAdjustDayMasterController.java @@ -44,7 +44,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController /** * 查询资产指标调整单主(日)列表 */ - @PreAuthorize("@ss.hasPermi('lzbi:master:list')") + @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:list')") @GetMapping("/list") public TableDataInfo list(DcBusiTargetAdjustDayMasterDao dcBusiTargetAdjustDayMasterDao) { @@ -56,7 +56,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController /** * 导出资产指标调整单主(日)列表 */ - @PreAuthorize("@ss.hasPermi('lzbi:master:export')") + @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:export')") @Log(title = "资产指标调整单主(日)", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DcBusiTargetAdjustDayMasterDao dcBusiTargetAdjustDayMasterDao) @@ -69,7 +69,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController /** * 获取资产指标调整单主(日)详细信息 */ - @PreAuthorize("@ss.hasPermi('lzbi:master:query')") + @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -80,7 +80,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController * 新增资产指标调整单主(日) */ @ApiOperation("新增资产指标调整单") - @PreAuthorize("@ss.hasPermi('lzbi:master:add')") + @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:add')") @Log(title = "资产指标调整单主(日)", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DcBusiTargetAdjustDayMasterDao dcBusiTargetAdjustDayMasterDao) @@ -91,7 +91,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController /** * 修改资产指标调整单主(日) */ - @PreAuthorize("@ss.hasPermi('lzbi:master:edit')") + @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:edit')") @Log(title = "资产指标调整单主(日)", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DcBusiTargetAdjustDayMasterDao dcBusiTargetAdjustDayMasterDao) @@ -102,7 +102,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController /** * 删除资产指标调整单主(日) */ - @PreAuthorize("@ss.hasPermi('lzbi:master:remove')") + @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:remove')") @Log(title = "资产指标调整单主(日)", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) @@ -115,7 +115,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController */ @ApiOperation("审核资产指标调整单") @ApiImplicitParam(name = "id", value = "id", dataType = "Long", dataTypeClass = Long.class, paramType = "path", required = true) - @PreAuthorize("@ss.hasPermi('lzbi:master:add')") + @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:audit')") @Log(title = "资产指标调整单主(日)", businessType = BusinessType.OTHER) @PostMapping("/audit/{id}") public AjaxResult audit(@PathVariable("id") Long id) @@ -128,7 +128,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController */ @ApiOperation("处理资产指标调整单") @ApiImplicitParam(name = "id", value = "id", dataType = "Long", dataTypeClass = Long.class, paramType = "path", required = true) - @PreAuthorize("@ss.hasPermi('lzbi:master:add')") + @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:dispose')") @Log(title = "资产指标调整单主(日)", businessType = BusinessType.OTHER) @PostMapping("/dispose/{id}") public AjaxResult dispose(@PathVariable("id") Long id)