余额明细处理

This commit is contained in:
张松 2025-10-31 13:36:19 +08:00
parent fdba1146e5
commit f40a6b9e8e
1 changed files with 5 additions and 0 deletions

View File

@ -42,8 +42,13 @@ public class MkDistributionAmountFlowServiceImpl extends ServiceImpl<MkDistribut
.ge(MkDistributionAmountFlow::getCreateTime, startTime) .ge(MkDistributionAmountFlow::getCreateTime, startTime)
.select(OrderInfo::getOrderNo); .select(OrderInfo::getOrderNo);
if (StrUtil.isNotBlank(type)) { if (StrUtil.isNotBlank(type)) {
String[] split = type.split(",");
if (split.length != 0) {
queryWrapper.in(MkDistributionAmountFlow::getType, split);
}else {
queryWrapper.eq(MkDistributionAmountFlow::getType, type); queryWrapper.eq(MkDistributionAmountFlow::getType, type);
} }
}
if (StrUtil.isNotBlank(key)) { if (StrUtil.isNotBlank(key)) {
queryWrapper.and(and -> { queryWrapper.and(and -> {
and.or(or -> { and.or(or -> {