Commit afe58e251e5ebabb5343ec5cfb2ae41194bc3100

Authored by guzijian
1 parent 3efc5173

feat: 灵活跟班权限恢复

Bsth-admin/src/main/java/com/ruoyi/expand/controller/DriverSchedulingExpandController.java
... ... @@ -82,10 +82,9 @@ public class DriverSchedulingExpandController extends BaseController
82 82 }
83 83  
84 84 /**
85   - * 新增灵活跟班
  85 + * 查询灵活跟班
86 86 */
87   - @PreAuthorize("@ss.hasPermi('expand:expand:add')")
88   - @Log(title = "新增灵活跟班", businessType = BusinessType.INSERT)
  87 + @PreAuthorize("@ss.hasPermi('expand:expand:query')")
89 88 @GetMapping("querySmartExpand")
90 89 public Result<SmartExpandVo> querySmartExpand(@RequestParam("id") Long id )
91 90 {
... ... @@ -93,9 +92,9 @@ public class DriverSchedulingExpandController extends BaseController
93 92 }
94 93  
95 94 /**
96   - * 新增灵活跟班
  95 + * 修改
97 96 */
98   - @PreAuthorize("@ss.hasPermi('expand:expand:add')")
  97 + @PreAuthorize("@ss.hasPermi('expand:expand:edit')")
99 98 @Log(title = "新增灵活跟班", businessType = BusinessType.INSERT)
100 99 @PutMapping("updateSmartExpand")
101 100 public Result<SmartExpandVo> updateSmartExpand(@RequestBody SmartExpandVo vo)
... ...