| | |
| | | import cn.afterturn.easypoi.excel.entity.ExportParams; |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.xiaopeng.api.dto.order.GetOrderNumDto; |
| | | import com.xiaopeng.api.dto.statistics.OrderStatisticsDTO; |
| | | import com.xiaopeng.api.dto.statistics.StatisticsQueryDTO; |
| | | import com.xiaopeng.api.model.order.XpOrder; |
| | |
| | | /** |
| | | * 获取订单数量 |
| | | * |
| | | * @param timeStr 时间 |
| | | * @return 订单数量 |
| | | */ |
| | | @PostMapping("/inner/order/getOrderNum") |
| | | public R<Integer> getOrderNum(String timeStr){ |
| | | return R.ok(xpOrderService.getOrderNum(timeStr)); |
| | | public R<Integer> getOrderNum(@RequestBody GetOrderNumDto dto){ |
| | | return R.ok(xpOrderService.getOrderNum(dto)); |
| | | } |
| | | |
| | | /** |