From 8ff59060afb88087ba6b1293f93e1bc0aa80580a Mon Sep 17 00:00:00 2001 From: zhangmei <645025773@qq.com> Date: 星期二, 18 二月 2025 12:53:13 +0800 Subject: [PATCH] 流水统计 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBankFlowServiceImpl.java | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBankFlowServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBankFlowServiceImpl.java index 723c203..89e5fec 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBankFlowServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBankFlowServiceImpl.java @@ -6,9 +6,9 @@ import com.ruoyi.common.utils.StringUtils; import com.ruoyi.system.mapper.TBankFlowMapper; import com.ruoyi.system.model.TBankFlow; -import com.ruoyi.system.model.TFlowManagement; import com.ruoyi.system.query.TBankFlowQuery; import com.ruoyi.system.service.TBankFlowService; +import com.ruoyi.system.vo.TBankFlowStatisticsVo; import org.springframework.stereotype.Service; import java.util.List; @@ -31,6 +31,7 @@ pageInfo.setTotal(list.size()); return pageInfo; } + @Override public List<TBankFlow> makeQuery(TBankFlowQuery query) { LambdaQueryWrapper<TBankFlow> queryWrapper = new LambdaQueryWrapper<>(); @@ -43,4 +44,21 @@ ; return this.baseMapper.selectList(queryWrapper); } + + @Override + public TBankFlowStatisticsVo getPaymentStats(TBankFlowQuery query) { + return this.baseMapper.getPaymentStats(query); + } + + /** + * 根据银行流水号模糊查询 + * @param bankSerialNumber + * @return + */ + @Override + public List<TBankFlow> searchByBankSerialNumber(String bankSerialNumber) { + LambdaQueryWrapper<TBankFlow> queryWrapper = new LambdaQueryWrapper<>(); + queryWrapper.like(StringUtils.isNotEmpty(bankSerialNumber),TBankFlow::getBankSerialNumber,bankSerialNumber); + return this.baseMapper.selectList(queryWrapper); + } } -- Gitblit v1.7.1