change %!s(int64=3) %!d(string=hai) anos
pai
achega
4c6061ddeb

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/exam/service/impl/ExamApplyServiceImpl.java

@@ -64,7 +64,7 @@ public class ExamApplyServiceImpl extends ServiceImpl<ExamApplyMapper, ExamApply
             calendar.set(Calendar.MINUTE, 59);
             calendar.set(Calendar.SECOND, 59);
             calendar.set(Calendar.MILLISECOND, 999);
-            if (examApplyVo.getApplyEndTime() < calendar.getTimeInMillis()){
+            if (examApplyVo.getApplyEndTime() < calendar.getTimeInMillis()/1000){
                 ExamApply update = new ExamApply();
                 update.setApplyId(examApplyVo.getApplyId());
                 update.setStatus(2);

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/exam/service/impl/ExamBeforeServiceImpl.java

@@ -49,7 +49,7 @@ public class ExamBeforeServiceImpl extends ServiceImpl<ExamBeforeMapper, ExamBef
             calendar.set(Calendar.MINUTE, 59);
             calendar.set(Calendar.SECOND, 59);
             calendar.set(Calendar.MILLISECOND, 999);
-            if (examBeforeVo.getBeforeEndTime() < calendar.getTimeInMillis()){
+            if (examBeforeVo.getBeforeEndTime() < calendar.getTimeInMillis()/1000){
                 ExamBefore update = new ExamBefore();
                 update.setBeforeId(examBeforeVo.getBeforeId());
                 update.setStatus(2);