|
@@ -53,6 +53,8 @@ import com.zhongzheng.modules.user.service.*;
|
|
|
import com.zhongzheng.modules.user.vo.*;
|
|
|
import net.polyv.live.v1.entity.channel.operate.LiveChannelBasicInfoResponse;
|
|
|
import net.polyv.live.v1.entity.channel.viewdata.LiveListChannelViewlogResponse;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -73,7 +75,7 @@ import java.util.stream.Collectors;
|
|
|
*/
|
|
|
@Service
|
|
|
public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMapper, UserStudyRecord> implements IUserStudyRecordService {
|
|
|
-
|
|
|
+ private static final Logger log = LoggerFactory.getLogger(UserStudyRecordServiceImpl.class);
|
|
|
@Autowired
|
|
|
private UserStudyRecordMapper userStudyRecordMapper;
|
|
|
|
|
@@ -921,6 +923,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
userPeriod.setModuleId(entity.getModuleId());
|
|
|
userPeriod.setChapterId(entity.getChapterId());
|
|
|
userPeriod.setGradeId(entity.getGradeId());
|
|
|
+ log.error("学时记录插入"+JSON.toJSONString(userPeriod));
|
|
|
iUserPeriodService.save(userPeriod);
|
|
|
periodId = userPeriod.getId();
|
|
|
UserPeriodStatus userPeriodStatusAddBo = new UserPeriodStatus();
|