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