From 7d098b8c03c2a3f2dc7b51f73cc8d16b56dfa764 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 18 May 2021 16:44:41 +0800
Subject: [PATCH] 20210518  订单

---
 src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java
index 57dbe5d..de52620 100644
--- a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java
+++ b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java
@@ -5,8 +5,10 @@
 import com.xcong.excoin.common.entity.FebsResponse;
 import com.xcong.excoin.common.entity.QueryRequest;
 import com.xcong.excoin.modules.member.entity.MemberAccountMoneyChangeEntity;
+import com.xcong.excoin.modules.otc.entity.OtcEntrustOrderEntity;
 import com.xcong.excoin.modules.otc.entity.OtcMarketBussinessEntity;
 import com.xcong.excoin.modules.otc.entity.OtcOrderAppealEntity;
+import com.xcong.excoin.modules.otc.entity.OtcOrderEntity;
 import com.xcong.excoin.modules.otc.service.OtcService;
 import lombok.RequiredArgsConstructor;
 import org.springframework.validation.annotation.Validated;
@@ -84,4 +86,22 @@
         return otcService.dealDone(id);
     }
 
+    /**
+     * 委托单列表
+     */
+    @GetMapping("otcEntrustList")
+    public FebsResponse otcEntrustList(OtcEntrustOrderEntity otcEntrustOrderEntity, QueryRequest request) {
+        Map<String, Object> data = getDataTable(otcService.otcEntrustList(otcEntrustOrderEntity, request));
+        return new FebsResponse().success().data(data);
+    }
+
+    /**
+     * 订单列表
+     */
+    @GetMapping("otcOrderList")
+    public FebsResponse otcOrderList(OtcOrderEntity otcOrderEntity, QueryRequest request) {
+        Map<String, Object> data = getDataTable(otcService.otcOrderList(otcOrderEntity, request));
+        return new FebsResponse().success().data(data);
+    }
+
 }

--
Gitblit v1.9.1