nili 8 months ago
parent
commit
7eae18b85b
  1. 1
      game-service/src/main/java/awesome/group/game/service/AdminDeviceService.java

1
game-service/src/main/java/awesome/group/game/service/AdminDeviceService.java

@ -134,6 +134,7 @@ public class AdminDeviceService {
advQuery.in(MatrixAdvRecord::getAppId, appIds); advQuery.in(MatrixAdvRecord::getAppId, appIds);
advQuery.gt(MatrixAdvRecord::getCreatedAt, new Timestamp(DateUtil.getDayBeginTimestamp(System.currentTimeMillis()))); advQuery.gt(MatrixAdvRecord::getCreatedAt, new Timestamp(DateUtil.getDayBeginTimestamp(System.currentTimeMillis())));
advQuery.eq(MatrixAdvRecord::getAdminId, adminId); advQuery.eq(MatrixAdvRecord::getAdminId, adminId);
advQuery.eq(MatrixAdvRecord::getAdvType, 3);//只展示激励视频
MatrixAdvRecord record = advRecordMapper.selectOne(advQuery); MatrixAdvRecord record = advRecordMapper.selectOne(advQuery);
OverviewBo bo = new OverviewBo(); OverviewBo bo = new OverviewBo();
bo.todayIncome = record == null ? 0 : record.getEcpm(); bo.todayIncome = record == null ? 0 : record.getEcpm();

Loading…
Cancel
Save