From ac5f25a5d96254a6eb190c2188093062c773f4ab Mon Sep 17 00:00:00 2001
From: CeDo <cedoogle@gmail.com>
Date: 星期六, 17 四月 2021 17:38:25 +0800
Subject: [PATCH] Default Changelist

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ShopApi.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ShopApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ShopApi.java
index e134219..208e2f5 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ShopApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ShopApi.java
@@ -2,12 +2,14 @@
 
 import com.panzhihua.common.controller.BaseController;
 import com.panzhihua.common.model.dtos.PageDTO;
+import com.panzhihua.common.model.dtos.shop.PageComShopOrderSearchDTO;
 import com.panzhihua.common.model.dtos.shop.PageComShopStoreDTO;
 import com.panzhihua.common.model.vos.LoginUserInfoVO;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.common.model.vos.shop.ShopOperLogVO;
 import com.panzhihua.common.model.vos.shop.ShopStoreVO;
 import com.panzhihua.service_community.service.ComShopOperLogService;
+import com.panzhihua.service_community.service.ComShopOrderService;
 import com.panzhihua.service_community.service.ComShopStoreService;
 import lombok.NonNull;
 import lombok.extern.slf4j.Slf4j;
@@ -25,6 +27,8 @@
     private ComShopStoreService comShopStoreService;
     @Resource
     private ComShopOperLogService comShopOperLogService;
+    @Resource
+    private ComShopOrderService comShopOrderService;
 
     /**
      * 店铺列表-分页查询
@@ -102,4 +106,15 @@
     public R pageShopOperLog(@RequestBody PageDTO pageDTO) {
         return comShopOperLogService.pageShopOperLog(pageDTO);
     }
+
+
+    /**
+     * 分页查询 商家订单
+     * @param pageComShopOrderSearchDTO 分页数据
+     * @return 分页订单
+     */
+    @PostMapping("/order/page")
+    public R pageShopOrder(@RequestBody PageComShopOrderSearchDTO pageComShopOrderSearchDTO) {
+        return comShopOrderService.pageShopOrder(pageComShopOrderSearchDTO);
+    }
 }

--
Gitblit v1.7.1