Преглед изворни кода

订单量以及单日营业额

liude пре 1 година
родитељ
комит
145e519527

+ 25 - 0
src/main/java/com/chelvc/cloud/maintain/controller/OmsOrderController.java

@@ -105,4 +105,29 @@ public class OmsOrderController {
     public OmsOrderReturnApplyDTO getOrderReturnApplyInfo(@PathVariable("id") Long id) {
         return this.iOmsOrderReturnApplyService.getOrderReturnApplyInfo(id);
     }
+
+
+    /**
+     * 商家端查询订单分页
+     *
+     * @param param 查询参数
+     * @return 订单分页信息
+     */
+    @GetMapping("/order/merchantPaging")
+    public Pagination<OmsOrderDTO> getMerchantOrderPaging(@Valid OrderPagingParam param) {
+        return this.omsOrderService.getMerchantOrderPaging(param);
+    }
+
+
+    /**
+     * 商家端查询订单量以及今日收入
+     *
+     * @return 订单量以及今日收入
+     */
+    @GetMapping("/order/getOrderQuantity")
+    public Map<String, Object> getOrderQuantity() {
+        return this.omsOrderService.getOrderQuantity();
+    }
+
+
 }