fuliqi
2024-03-21 618517e7ad4e3e7e9865c324cdabd90bf8ef8d17
核算权限注释
1个文件已修改
12 ■■■■ 已修改文件
ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java
@@ -30,7 +30,7 @@
    /**
     * 查询核算规则列表
     */
    @PreAuthorize("@ss.hasPermi('platform:rules:list')")
//    @PreAuthorize("@ss.hasPermi('platform:rules:list')")
    @GetMapping("/list")
    public TableDataInfo list(AccountingRules accountingRules) {
        startPage();
@@ -41,7 +41,7 @@
    /**
     * 导出核算规则列表
     */
    @PreAuthorize("@ss.hasPermi('platform:rules:export')")
//    @PreAuthorize("@ss.hasPermi('platform:rules:export')")
    @Log(title = "核算规则", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, AccountingRules accountingRules) {
@@ -53,7 +53,7 @@
    /**
     * 获取核算规则详细信息
     */
    @PreAuthorize("@ss.hasPermi('platform:rules:query')")
//    @PreAuthorize("@ss.hasPermi('platform:rules:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Integer id) {
        return success(accountingRulesService.selectAccountingRulesById(id));
@@ -62,7 +62,7 @@
    /**
     * 新增核算规则
     */
    @PreAuthorize("@ss.hasPermi('platform:rules:add')")
//    @PreAuthorize("@ss.hasPermi('platform:rules:add')")
    @Log(title = "核算规则", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody AccountingRules accountingRules) {
@@ -72,7 +72,7 @@
    /**
     * 修改核算规则
     */
    @PreAuthorize("@ss.hasPermi('platform:rules:edit')")
//    @PreAuthorize("@ss.hasPermi('platform:rules:edit')")
    @Log(title = "核算规则", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody AccountingRules accountingRules) {
@@ -82,7 +82,7 @@
    /**
     * 删除核算规则
     */
    @PreAuthorize("@ss.hasPermi('platform:rules:remove')")
//    @PreAuthorize("@ss.hasPermi('platform:rules:remove')")
    @Log(title = "核算规则", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Integer[] ids) {