|
|
@@ -1141,7 +1141,10 @@ public class FsUserServiceImpl implements IFsUserService {
|
|
|
public List<FsUserGraphicStatisticsVO> graphicStatisticsDetailsV2(Long companyUserId, Long videoId, Long periodId) {
|
|
|
Map<String, Object> result = fsUserMapper.countCourseInviteFunnel(companyUserId, videoId, periodId);
|
|
|
List<FsUserGraphicStatisticsVO> list = new LinkedList<>();
|
|
|
- list.add(new FsUserGraphicStatisticsVO("邀请看课人数(未发送成功人" + toInt(result.get("sendFailed")) + "+发送成功" + toInt(result.get("sendSuccess")) + "人)", toInt(result.get("inviteTotal")), toInt(result.get("inviteTotal"))));
|
|
|
+ int inviteTotal = toInt(result.get("inviteTotal"));
|
|
|
+ int sendSuccess = toInt(result.get("sendSuccess"));
|
|
|
+ int sendFailed = inviteTotal - sendSuccess;
|
|
|
+ list.add(new FsUserGraphicStatisticsVO("邀请看课人数(未发送成功人" + sendFailed + "+发送成功" + sendSuccess + "人)", inviteTotal, inviteTotal));
|
|
|
list.add(new FsUserGraphicStatisticsVO("未看课" + toInt(result.get("notWatched")) + "人", toInt(result.get("notWatched")), toInt(result.get("notWatched"))));
|
|
|
list.add(new FsUserGraphicStatisticsVO("未完播" + toInt(result.get("watchingIncomplete")) + "人", toInt(result.get("watchingIncomplete")),toInt(result.get("watchingIncomplete"))));
|
|
|
list.add(new FsUserGraphicStatisticsVO("完播" + toInt(result.get("watchedComplete")) + "人", toInt(result.get("watchedComplete")), toInt(result.get("watchedComplete"))));
|