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/service/impl/OtcServiceImpl.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcServiceImpl.java b/src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcServiceImpl.java index 48f0e33..ae69ac7 100644 --- a/src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcServiceImpl.java +++ b/src/main/java/com/xcong/excoin/modules/otc/service/impl/OtcServiceImpl.java @@ -11,9 +11,11 @@ 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.mapper.OtcEntrustOrderMapper; import com.xcong.excoin.modules.otc.mapper.OtcMarketBussinessMapper; import com.xcong.excoin.modules.otc.mapper.OtcOrderAppealMapper; +import com.xcong.excoin.modules.otc.mapper.OtcOrderMapper; import com.xcong.excoin.modules.otc.service.OtcService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; @@ -31,6 +33,8 @@ private OtcOrderAppealMapper otcOrderAppealMapper; @Resource private OtcEntrustOrderMapper otcEntrustOrderMapper; + @Resource + private OtcOrderMapper otcOrderMapper; @Resource private MemberMapper memberMapper; @@ -99,6 +103,7 @@ } @Override + @Transactional public FebsResponse dealIng(Long id) { OtcOrderAppealEntity otcOrderAppealEntity = otcOrderAppealMapper.selectById(id); Integer status = otcOrderAppealEntity.getStatus(); @@ -118,4 +123,11 @@ return otcEntrustOrderEntitys; } + @Override + public IPage<OtcOrderEntity> otcOrderList(OtcOrderEntity otcOrderEntity, QueryRequest request) { + Page<OtcOrderEntity> page = new Page<>(request.getPageNum(), request.getPageSize()); + IPage<OtcOrderEntity> otcOrderEntitys = otcOrderMapper.otcOrderList(page, otcOrderEntity); + return otcOrderEntitys; + } + } -- Gitblit v1.9.1