From 2e57ef64fed2e9c12cc7d673c31624a06bc0efe2 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 04 Jun 2021 10:02:41 +0800
Subject: [PATCH] modify
---
src/main/java/com/xcong/excoin/modules/otc/service/OtcOrderService.java | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 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 8649544..2f77b52 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
@@ -2,18 +2,31 @@
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
-import com.xcong.excoin.modules.otc.dto.OrderAddDto;
+import com.xcong.excoin.common.response.Result;
+import com.xcong.excoin.modules.otc.dto.HasPayDto;
+import com.xcong.excoin.modules.otc.dto.OrderApealDto;
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> {
- void buyOrder(OrderAddDto orderAddDto);
+ Result buyOrder(OtcOrderAddDto orderAddDto);
- void saleOrder(OrderAddDto orderAddDto);
+ Result saleOrder(OtcOrderAddDto orderAddDto);
IPage<OrderListVo> findOrderListInPage(OrderListDto orderListDto);
- void hasPay(Long id);
+ void hasPay(HasPayDto hasPayDto);
+
+ void finishOrder(Long id);
+
+ Result findBuyOrderDetail(Long id);
+
+ Result findSaleOrderDetail(Long id);
+
+ void cancelOrder(Long id);
+
+ Result orderApeal(OrderApealDto orderApealDto);
}
--
Gitblit v1.9.1