From e1e4c29a71886cba3072bb94e0cf307bf335f03a Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 21 May 2021 18:36:56 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/modules/otc/dao/OtcOrderDao.java | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/dao/OtcOrderDao.java b/src/main/java/com/xcong/excoin/modules/otc/dao/OtcOrderDao.java index 46705e1..04413c9 100644 --- a/src/main/java/com/xcong/excoin/modules/otc/dao/OtcOrderDao.java +++ b/src/main/java/com/xcong/excoin/modules/otc/dao/OtcOrderDao.java @@ -7,6 +7,7 @@ import com.xcong.excoin.modules.otc.vo.OrderListVo; import org.apache.ibatis.annotations.Param; +import java.math.BigDecimal; import java.util.List; public interface OtcOrderDao extends BaseMapper<OtcOrder> { @@ -15,5 +16,17 @@ IPage<OrderListVo> selectOrdderListInPage(@Param("record") OtcOrder order, Page<OrderListVo> page); - int updateOrderStatusByOrderNo(@Param("status") Integer status, @Param("orderNo") String orderNo); + int updateOrderStatusByOrderNo(@Param("status") Integer status, @Param("payName") String payName, @Param("orderNo") String orderNo); + + OtcOrder selectOrderByOrderNoAndType(@Param("orderNo") String orderNo, @Param("orderType") String orderType); + + List<OtcOrder> selectOrderListWithStatusAndType(@Param("type") String orderType, @Param("status") Integer status); + + Integer selectMemberCntForEntrust(@Param("entrustMemberId") Long entrustMemberId); + + Integer selectTotalOrderCount(@Param("entrustMemberId") Long entrustMemberId, @Param("status") Integer status); + + BigDecimal selectMemberAvgPayTime(@Param("memberId") Long memberId); + + BigDecimal selectMemberAvgCoinTime(@Param("memberId") Long memberId); } -- Gitblit v1.9.1