he2802 1 年之前
父節點
當前提交
64783956ed

+ 2 - 2
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/UserPeriodServiceImpl.java

@@ -781,7 +781,7 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
                                     syncUserChapterItem.setImageSrc(ossHost+"/"+photo.getPhoto());
                                     syncUserChapterItem.setImageTime(DateUtils.timestampToDateFormat(photo.getCreateTime(),DateUtils.YYYY_MM_DD_HH_MM_SS));
                                     syncUserChapterItem.setMatchData(Validator.isNotEmpty(photo.getSimilarity())?photo.getSimilarity().toString():null);
-                                    syncUserChapterItem.setExamTime(DateUtils.timestampToDateFormat(userPeriodStatusVo.getRecordStartTime(),DateUtils.YYYY_MM_DD_HH_MM_SS));
+                                    syncUserChapterItem.setExamTime(DateUtils.timestampToDateFormat(userPeriodStatusVo.getRecordEndTime(),DateUtils.YYYY_MM_DD_HH_MM_SS));
                                     syncUserChapterItem.setExamScore(userPeriodStatusVo.getPerformance().toString());
                                     syncUserChapterItem.setStudyIP(userPeriodStatusVo.getIp());
                                 }
@@ -909,7 +909,7 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
                                     syncUserChapterChildItem.setImageSrc(ossHost+"/"+photo.getPhoto());
                                     syncUserChapterChildItem.setImageTime(DateUtils.timestampToDateFormat(photo.getCreateTime(),DateUtils.YYYY_MM_DD_HH_MM_SS));
                                     syncUserChapterChildItem.setMatchData(Validator.isNotEmpty(photo.getSimilarity())?photo.getSimilarity().toString():null);
-                                    syncUserChapterChildItem.setExamTime(DateUtils.timestampToDateFormat(userPeriodStatusVo.getRecordStartTime(),DateUtils.YYYY_MM_DD_HH_MM_SS));
+                                    syncUserChapterChildItem.setExamTime(DateUtils.timestampToDateFormat(userPeriodStatusVo.getRecordEndTime(),DateUtils.YYYY_MM_DD_HH_MM_SS));
                                     syncUserChapterChildItem.setExamScore(userPeriodStatusVo.getPerformance().toString());
                                     syncUserChapterChildItem.setStudyIP(userPeriodStatusVo.getIp());
                                 }