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