#
luxiaotao1123
2024-02-18 56c4f53923375dc005c25530ee253b1e178a1c6c
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/system/controller/DeptController.java
@@ -49,7 +49,7 @@
    }
    @PreAuthorize("hasAuthority('system:dept:save')")
    @OperationLog("添加Dept")
    @OperationLog("添加部门")
    @PostMapping("/dept/save")
    public R save(@RequestBody Dept dept) {
        if (!deptService.save(dept)) {
@@ -59,7 +59,7 @@
    }
    @PreAuthorize("hasAuthority('system:dept:update')")
    @OperationLog("修改Dept")
    @OperationLog("修改部门")
    @PostMapping("/dept/update")
    public R update(@RequestBody Dept dept) {
        if (!deptService.updateById(dept)) {
@@ -69,7 +69,7 @@
    }
    @PreAuthorize("hasAuthority('system:dept:remove')")
    @OperationLog("删除Dept")
    @OperationLog("删除部门")
    @PostMapping("/dept/remove/{ids}")
    public R remove(@PathVariable Long[] ids) {
        if (!deptService.removeByIds(Arrays.asList(ids))) {