瀏覽代碼

fix: 进线客户统计

xdd 1 月之前
父節點
當前提交
b69c76e166

+ 2 - 2
fs-service-system/src/main/java/com/fs/qw/mapper/QwWatchLogMapper.java

@@ -199,7 +199,7 @@ public interface QwWatchLogMapper extends BaseMapper<QwWatchLog>{
 
 
     List<QwWatchLogAllStatisticsListVO> selectQwWatchLogAllStatisticsListVONew(@Param("companyUserIds") List<Long> userIds,
-                                                                               @Param("sDate") Date sDate, @Param("eDate") Date eDate,
+                                                                               @Param("sDate") String sDate, @Param("eDate") String eDate,
                                                                                @Param("project") Long project,
                                                                                @Param("courseId") Long courseId,
                                                                                @Param("videoId") Long videoId);
@@ -230,5 +230,5 @@ public interface QwWatchLogMapper extends BaseMapper<QwWatchLog>{
 
     Long selectQwExtCountByDayAndCount(QwWatchLogStatisticsListParam param);
 
-    Long selectQwWatchLogAllStatisticsListVONewCount(List<Long> userIds, Date sTime, Date eTime, Long project, Long courseId, Long videoId);
+    Long selectQwWatchLogAllStatisticsListVONewCount(List<Long> userIds, String sTime, String eTime, Long project, Long courseId, Long videoId);
 }

+ 2 - 2
fs-service-system/src/main/java/com/fs/qw/service/impl/QwWatchLogServiceImpl.java

@@ -285,7 +285,7 @@ public class QwWatchLogServiceImpl extends ServiceImpl<QwWatchLogMapper, QwWatch
         List<QwWatchLogAllStatisticsListVO> list = new ArrayList<>();
 
         List<QwWatchLogAllStatisticsListVO> vos = qwWatchLogMapper
-                .selectQwWatchLogAllStatisticsListVONew(userIds, param.getSTime(), param.getETime(),
+                .selectQwWatchLogAllStatisticsListVONew(userIds, param.getStartDate(), param.getEndDate(),
                         param.getProject(),param.getCourseId(),param.getVideoId()
                         );
         for (QwWatchLogAllStatisticsListVO item : vos) {
@@ -318,7 +318,7 @@ public class QwWatchLogServiceImpl extends ServiceImpl<QwWatchLogMapper, QwWatch
         }
 
         Long total = qwWatchLogMapper
-                .selectQwWatchLogAllStatisticsListVONewCount(userIds, param.getSTime(), param.getETime(),
+                .selectQwWatchLogAllStatisticsListVONewCount(userIds, param.getStartDate(), param.getStartDate(),
                         param.getProject(),param.getCourseId(),param.getVideoId()
                 );