Browse Source

修改接口权限

develop
bobol 12 months ago
parent
commit
8cf6e4661d
  1. 16
      lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetAdjustDayMasterController.java

16
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") @GetMapping("/list")
public TableDataInfo list(DcBusiTargetAdjustDayMasterDao dcBusiTargetAdjustDayMasterDao) 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) @Log(title = "资产指标调整单主(日)", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, DcBusiTargetAdjustDayMasterDao dcBusiTargetAdjustDayMasterDao) 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}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) public AjaxResult getInfo(@PathVariable("id") Long id)
{ {
@ -80,7 +80,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController
* 新增资产指标调整单主() * 新增资产指标调整单主()
*/ */
@ApiOperation("新增资产指标调整单") @ApiOperation("新增资产指标调整单")
@PreAuthorize("@ss.hasPermi('lzbi:master:add')") @PreAuthorize("@ss.hasPermi('asset:targetAdjustBill:add')")
@Log(title = "资产指标调整单主(日)", businessType = BusinessType.INSERT) @Log(title = "资产指标调整单主(日)", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DcBusiTargetAdjustDayMasterDao<DcBusiTargetAdjustDaySubDao> dcBusiTargetAdjustDayMasterDao) public AjaxResult add(@RequestBody DcBusiTargetAdjustDayMasterDao<DcBusiTargetAdjustDaySubDao> 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) @Log(title = "资产指标调整单主(日)", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody DcBusiTargetAdjustDayMasterDao dcBusiTargetAdjustDayMasterDao) 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) @Log(title = "资产指标调整单主(日)", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) public AjaxResult remove(@PathVariable Long[] ids)
@ -115,7 +115,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController
*/ */
@ApiOperation("审核资产指标调整单") @ApiOperation("审核资产指标调整单")
@ApiImplicitParam(name = "id", value = "id", dataType = "Long", dataTypeClass = Long.class, paramType = "path", required = true) @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) @Log(title = "资产指标调整单主(日)", businessType = BusinessType.OTHER)
@PostMapping("/audit/{id}") @PostMapping("/audit/{id}")
public AjaxResult audit(@PathVariable("id") Long id) public AjaxResult audit(@PathVariable("id") Long id)
@ -128,7 +128,7 @@ public class DcBusiTargetAdjustDayMasterController extends BaseController
*/ */
@ApiOperation("处理资产指标调整单") @ApiOperation("处理资产指标调整单")
@ApiImplicitParam(name = "id", value = "id", dataType = "Long", dataTypeClass = Long.class, paramType = "path", required = true) @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) @Log(title = "资产指标调整单主(日)", businessType = BusinessType.OTHER)
@PostMapping("/dispose/{id}") @PostMapping("/dispose/{id}")
public AjaxResult dispose(@PathVariable("id") Long id) public AjaxResult dispose(@PathVariable("id") Long id)

Loading…
Cancel
Save