金币代理流水问题修复
This commit is contained in:
parent
6f35cb319f
commit
5e8dc1126d
@ -39,7 +39,11 @@ public class FreightBalanceRunningWaterServiceImpl extends
|
||||
@Override
|
||||
public List<FreightBalanceRunningWater> flowByUserId(Long userId, Long lastId) {
|
||||
return query()
|
||||
.eq(FreightBalanceRunningWater::getUserId, userId)
|
||||
.and(wrapper -> wrapper
|
||||
.eq(FreightBalanceRunningWater::getUserId, userId)
|
||||
.or()
|
||||
.eq(FreightBalanceRunningWater::getAcceptUserId, userId)
|
||||
)
|
||||
.lt(Objects.nonNull(lastId), FreightBalanceRunningWater::getId, lastId)
|
||||
.orderByDesc(FreightBalanceRunningWater::getId)
|
||||
.last(PageConstant.DEFAULT_LIMIT)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user