修正统计逻辑

This commit is contained in:
easonzhu 2025-03-28 14:10:44 +08:00
parent 3ca1fe23c1
commit 601d339055

View File

@ -360,7 +360,7 @@ public class AdminVideoStatisticService {
.eq(VideoDataType.ADVISOR.value.equals(type), VideoLive::getAdvisorId, advisorId)
.eq(VideoDataType.VIDEO.value.equals(type), VideoLive::getId, videoId)
.in(CollUtil.isNotEmpty(authSet) && videoId == null, VideoLive::getAdvisorId, authSet)
.eq(VideoLive::getStatus, VideoStatus.PASS.value)
.in(VideoLive::getStatus, VideoStatus.PASS.value, VideoStatus.SOLD_OUT.value)
.eq(VideoLive::getIsCart, IsOrNot.IS.value)
.between(startTime != null && endTime != null, VideoLive::getRealStartTime, startTime, endTime);
List<VideoLive> videoLiveList = videoLiveMapper.selectList(wrapper);