统计接口新增1222
This commit is contained in:
@@ -44,7 +44,7 @@ public class DeliveryOrderController extends BaseController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增:详细列表(表头 + 货物明细 + 照片),不分页
|
||||
* 详细列表(表头 + 货物明细 + 照片),不分页
|
||||
*/
|
||||
// @PreAuthorize("@ss.hasPermi('document:order:list')")
|
||||
@GetMapping("/listWithDetail")
|
||||
@@ -156,7 +156,6 @@ public class DeliveryOrderController extends BaseController {
|
||||
// ======================== 统计接口 ========================
|
||||
|
||||
/** 总览统计 */
|
||||
//@PreAuthorize("@ss.hasPermi('document:order:stat')")
|
||||
@PostMapping("/stat/overview")
|
||||
public AjaxResult statOverview(@RequestBody DeliveryOrderStatQuery query) {
|
||||
DeliveryOverviewStatVO vo = deliveryOrderService.statOverview(query);
|
||||
@@ -164,7 +163,6 @@ public class DeliveryOrderController extends BaseController {
|
||||
}
|
||||
|
||||
/** 按配送状态统计 */
|
||||
//@PreAuthorize("@ss.hasPermi('document:order:stat')")
|
||||
@PostMapping("/stat/status")
|
||||
public AjaxResult statByStatus(@RequestBody DeliveryOrderStatQuery query) {
|
||||
List<DeliveryStatusStatVO> list = deliveryOrderService.statByStatus(query);
|
||||
@@ -172,7 +170,6 @@ public class DeliveryOrderController extends BaseController {
|
||||
}
|
||||
|
||||
/** 按车辆类型统计 */
|
||||
//@PreAuthorize("@ss.hasPermi('document:order:stat')")
|
||||
@PostMapping("/stat/vehicleType")
|
||||
public AjaxResult statByVehicleType(@RequestBody DeliveryOrderStatQuery query) {
|
||||
List<DeliveryVehicleTypeStatVO> list = deliveryOrderService.statByVehicleType(query);
|
||||
@@ -180,7 +177,6 @@ public class DeliveryOrderController extends BaseController {
|
||||
}
|
||||
|
||||
/** 按日期(日维度)统计 */
|
||||
//@PreAuthorize("@ss.hasPermi('document:order:stat')")
|
||||
@PostMapping("/stat/daily")
|
||||
public AjaxResult statByDaily(@RequestBody DeliveryOrderStatQuery query) {
|
||||
List<DeliveryDailyStatVO> list = deliveryOrderService.statByDaily(query);
|
||||
@@ -188,10 +184,10 @@ public class DeliveryOrderController extends BaseController {
|
||||
}
|
||||
|
||||
/** 按日期(月维度)统计 */
|
||||
//@PreAuthorize("@ss.hasPermi('document:order:stat')")
|
||||
@PostMapping("/stat/monthly")
|
||||
public AjaxResult statByMonthly(@RequestBody DeliveryOrderStatQuery query) {
|
||||
List<DeliveryMonthlyStatVO> list = deliveryOrderService.statByMonthly(query);
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user