Browse Source

账户流水按创建时间排序

chunping 3 years ago
parent
commit
2dc578cec6

+ 1 - 1
mp-admin/src/main/java/com/qs/mp/web/controller/api/channel/ChannelMoneyController.java

@@ -53,7 +53,7 @@ public class ChannelMoneyController extends BaseApiController {
     Long channelId = SecurityUtils.getLoginUser().getChannelId();
     QueryWrapper<ChannelMoneyLog> queryWrapper = new QueryWrapper();
     queryWrapper.lambda().eq(ChannelMoneyLog::getChannelId, channelId);
-    queryWrapper.lambda().orderByDesc(ChannelMoneyLog::getBizTime);
+    queryWrapper.lambda().orderByDesc(ChannelMoneyLog::getCreatedTime);
     startPage();
     List<ChannelMoneyLog> list = channelMoneyLogService.list(queryWrapper);
     List<ChannelMoneyLogVO> channelMoneyLogVOS = mapperFacade.mapAsList(list, ChannelMoneyLogVO.class);