he2802 hace 1 año
padre
commit
e43a58c1c4

+ 4 - 4
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/ClassGradeUserServiceImpl.java

@@ -3872,7 +3872,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
                 }
             }
             ExcelUtil<DangAnStudentExportAllVo> util2 = new ExcelUtil<DangAnStudentExportAllVo>(DangAnStudentExportAllVo.class);
-            String filePath2 = goodsDirPath+"/学习记录"+DateUtils.getNowTime()+".xlsx";
+            String filePath2 = goodsDirPath+"/学习记录"+System.currentTimeMillis()+".xlsx";
             util2.exportEasyExcelUtil(studyList,DangAnStudentExportAllVo.class,filePath2);
         }
 
@@ -4296,7 +4296,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
                 }
 
             }
-            String goodsPeriodPath = goodsDirPath+"/学时记录"+DateUtils.getNowTime()+".xlsx";
+            String goodsPeriodPath = goodsDirPath+"/学时记录"+System.currentTimeMillis()+".xlsx";
             ExcelUtil<DangAnPeriodExportAllVo> util3 = new ExcelUtil<DangAnPeriodExportAllVo>(DangAnPeriodExportAllVo.class);
             util3.exportEasyExcelUtil(studyList,DangAnPeriodExportAllVo.class,goodsPeriodPath);
         }
@@ -4459,7 +4459,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
                 }
             }
             ExcelUtil<DangAnStudentExportLiveAllVo> util2 = new ExcelUtil<DangAnStudentExportLiveAllVo>(DangAnStudentExportLiveAllVo.class);
-            String filePath2 = goodsDirPath+"/直播记录"+DateUtils.getNowTime()+".xlsx";
+            String filePath2 = goodsDirPath+"/直播记录"+System.currentTimeMillis()+".xlsx";
             util2.exportEasyExcelUtil(studyList,DangAnStudentExportLiveAllVo.class,filePath2);
         }
         return true;
@@ -4551,7 +4551,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
                 }
             }
             ExcelUtil<DangAnExamItemExportVo> util2 = new ExcelUtil<DangAnExamItemExportVo>(DangAnExamItemExportVo.class);
-            String filePath2 = goodsDirPath+"/学习记录"+DateUtils.getNowTime()+".xlsx";
+            String filePath2 = goodsDirPath+"/学习记录"+System.currentTimeMillis()+".xlsx";
             util2.exportEasyExcelUtil(exportItemList ,DangAnExamItemExportVo.class,filePath2);
         }
         return true;