huliguo
9 天以前 594cfe56c8713b78e12894f6281923684385f927
pt-admin/src/main/java/com/ruoyi/web/controller/errand/CourierController.java
@@ -49,6 +49,16 @@
    }
    /**
     * 工作台-数据统计
     */
    @GetMapping("/getWorkNumber")
    @ApiOperation(value = "工作台-订单数量统计",tags = "app用户端-跑腿员")
    public R<WorkNumberVO> getWorkNumber() {
        return R.ok(courierService.getWorkNumber());
    }
    /**
     * 订单列表  1待确认2进行中3已取消4已完成
     */
    @GetMapping("/getCourierOrderList")
@@ -82,7 +92,7 @@
    }
    /**
     * 加载未绑定小区的跑腿员   权限设置
     * 加载未绑定小区的跑腿员
     */
    @GetMapping("/getAllCourierList")
    @PreAuthorize("@ss.hasPermi('system:appuser:list')")
@@ -92,7 +102,7 @@
    }
    /**
     * 跑腿员管理列表 权限设置
     * 跑腿员管理列表
     */
    @PostMapping("/list")
    @PreAuthorize("@ss.hasPermi('system:courier:list')")
@@ -101,7 +111,7 @@
        return R.ok(courierService.getCourierPageList(courierPageListDTO));
    }
    /**
     * 查看详情 权限设置
     * 查看详情
     */
    @GetMapping("/detail")
    @PreAuthorize("@ss.hasPermi('system:courier:list')")
@@ -110,7 +120,7 @@
        return R.ok(courierService.detail(id));
    }
    /**
     * 添加 权限设置
     * 添加
     */
    @PostMapping("/add")
    @PreAuthorize("@ss.hasPermi('system:courier:list')")
@@ -120,7 +130,7 @@
        return R.ok();
    }
    /**
     * 编辑 权限设置
     * 编辑
     */
    @PutMapping("/edit")
    @PreAuthorize("@ss.hasPermi('system:courier:list')")
@@ -131,7 +141,7 @@
    }
    /**
     * 删除 权限设置
     * 删除
     */
    @DeleteMapping("/delete")
    @PreAuthorize("@ss.hasPermi('system:courier:list')")
@@ -141,7 +151,7 @@
        return R.ok();
    }
    /**
     * 复职/离职 权限设置
     * 复职/离职
     */
    @PutMapping("/froze")
    @PreAuthorize("@ss.hasPermi('system:courier:list')")