1.提现记录根据时间降序
This commit is contained in:
@@ -126,7 +126,7 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
|
|||||||
}
|
}
|
||||||
|
|
||||||
PageHelper.startPage(page, limit);
|
PageHelper.startPage(page, limit);
|
||||||
List<CashOut> cashOutList = list(queryWrapper.eq(CashOut::getUserType, 1).orderByDesc(CashOut::getId));
|
List<CashOut> cashOutList = list(queryWrapper.eq(CashOut::getUserType, 1).orderByDesc(CashOut::getCreateAt));
|
||||||
|
|
||||||
if (!isApp) {
|
if (!isApp) {
|
||||||
ArrayList<Long> userIdList = new ArrayList<>();
|
ArrayList<Long> userIdList = new ArrayList<>();
|
||||||
@@ -662,7 +662,7 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
|
|||||||
queryWrapper.le(CashOut::getCreateAt, cashOut.getEndTime());
|
queryWrapper.le(CashOut::getCreateAt, cashOut.getEndTime());
|
||||||
}
|
}
|
||||||
|
|
||||||
queryWrapper.orderByDesc(CashOut::getId);
|
queryWrapper.orderByDesc(CashOut::getCreateAt);
|
||||||
List<CashOut> page = list(queryWrapper);
|
List<CashOut> page = list(queryWrapper);
|
||||||
|
|
||||||
if (!page.isEmpty()) {
|
if (!page.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user