From 484dc4c3535ad1d99ee5f8545d0eaffc9ae8a6c8 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 21 May 2021 11:33:33 +0800
Subject: [PATCH] modify
---
src/main/java/com/xcong/excoin/modules/otc/service/OtcOrderService.java | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/otc/service/OtcOrderService.java b/src/main/java/com/xcong/excoin/modules/otc/service/OtcOrderService.java
index 165241b..813a90d 100644
--- a/src/main/java/com/xcong/excoin/modules/otc/service/OtcOrderService.java
+++ b/src/main/java/com/xcong/excoin/modules/otc/service/OtcOrderService.java
@@ -1,7 +1,29 @@
package com.xcong.excoin.modules.otc.service;
+import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
+import com.xcong.excoin.common.response.Result;
+import com.xcong.excoin.modules.otc.dto.HasPayDto;
+import com.xcong.excoin.modules.otc.dto.OrderListDto;
+import com.xcong.excoin.modules.otc.dto.OtcOrderAddDto;
import com.xcong.excoin.modules.otc.entity.OtcOrder;
+import com.xcong.excoin.modules.otc.vo.OrderListVo;
public interface OtcOrderService extends IService<OtcOrder> {
+
+ Result buyOrder(OtcOrderAddDto orderAddDto);
+
+ Result saleOrder(OtcOrderAddDto orderAddDto);
+
+ IPage<OrderListVo> findOrderListInPage(OrderListDto orderListDto);
+
+ void hasPay(HasPayDto hasPayDto);
+
+ void finishOrder(Long id);
+
+ Result findBuyOrderDetail(Long id);
+
+ Result findSaleOrderDetail(Long id);
+
+ void cancelOrder(Long id);
}
--
Gitblit v1.9.1