bug--I24DQ5账单记录排序问题
This commit is contained in:
@ -179,7 +179,7 @@ public class YxUserBillServiceImpl extends BaseServiceImpl<UserBillMapper, YxUse
|
|||||||
@Override
|
@Override
|
||||||
public List<BillVo> getUserBillList(int page, int limit, long uid, int type) {
|
public List<BillVo> getUserBillList(int page, int limit, long uid, int type) {
|
||||||
QueryWrapper<YxUserBill> wrapper = new QueryWrapper<>();
|
QueryWrapper<YxUserBill> wrapper = new QueryWrapper<>();
|
||||||
wrapper.lambda().eq(YxUserBill::getUid,uid).orderByDesc(YxUserBill::getId);
|
wrapper.lambda().eq(YxUserBill::getUid,uid).orderByAsc(YxUserBill::getId);
|
||||||
wrapper.groupBy("time");
|
wrapper.groupBy("time");
|
||||||
switch (BillInfoEnum.toType(type)){
|
switch (BillInfoEnum.toType(type)){
|
||||||
case PAY_PRODUCT:
|
case PAY_PRODUCT:
|
||||||
|
Reference in New Issue
Block a user