he2802 3 лет назад
Родитель
Сommit
787a18cb8e

+ 10 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/service/impl/CertificateTpServiceImpl.java

@@ -239,6 +239,8 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
                     vo.setMajor("一级建造师继续教育培训");
                     vo.setRemark1("其中必修");
                     vo.setRemark2("课 "+goodsVo.getClassHours()+" 学时,测试成绩合格。");
+                    vo.setTrainStartTime(studyRecordVo.getFirstStartTime()); //培训开始时间
+                    vo.setTrainStartTime(classGradeUser.getPeriodWaitTime());//学时变为待审核时间,也是学习完成时间
                     List<String> chapterListTxt = changeChapterList(chapterList);
                     vo.setChapterList(chapterListTxt);
                     String ossPath =drawPicOneBuild(vo);
@@ -267,6 +269,8 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
                     vo.setMajor("一级建造师继续教育培训");
                     vo.setRemark1("其中建");
                     vo.setRemark2("筑工程课 "+goodsVo.getClassHours()+" 学时,测试成绩合格。");
+                    vo.setTrainStartTime(studyRecordVo.getFirstStartTime()); //培训开始时间
+                    vo.setTrainStartTime(classGradeUser.getPeriodWaitTime());//学时变为待审核时间,也是学习完成时间
                     List<String> chapterListTxt = changeChapterList(chapterList);
                     vo.setChapterList(chapterListTxt);
                     String ossPath =drawPicOneBuild(vo);
@@ -295,6 +299,8 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
                     vo.setMajor("一级建造师继续教育培训");
                     vo.setRemark1("其中机");
                     vo.setRemark2("电工程课 "+goodsVo.getClassHours()+" 学时,测试成绩合格。");
+                    vo.setTrainStartTime(studyRecordVo.getFirstStartTime()); //培训开始时间
+                    vo.setTrainStartTime(classGradeUser.getPeriodWaitTime());//学时变为待审核时间,也是学习完成时间
                     List<String> chapterListTxt = changeChapterList(chapterList);
                     vo.setChapterList(chapterListTxt);
                     String ossPath =drawPicOneBuild(vo);
@@ -323,6 +329,8 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
                     vo.setMajor("一级建造师继续教育培训");
                     vo.setRemark1("其中市");
                     vo.setRemark2("政公用工程课 "+goodsVo.getClassHours()+" 学时,测试成绩合格。");
+                    vo.setTrainStartTime(studyRecordVo.getFirstStartTime()); //培训开始时间
+                    vo.setTrainStartTime(classGradeUser.getPeriodWaitTime());//学时变为待审核时间,也是学习完成时间
                     List<String> chapterListTxt = changeChapterList(chapterList);
                     vo.setChapterList(chapterListTxt);
                     String ossPath =drawPicOneBuild(vo);
@@ -351,6 +359,8 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
                     vo.setMajor("一级建造师继续教育培训");
                     vo.setRemark1("其中公");
                     vo.setRemark2("路工程课 "+goodsVo.getClassHours()+" 学时,测试成绩合格。");
+                    vo.setTrainStartTime(studyRecordVo.getFirstStartTime()); //培训开始时间
+                    vo.setTrainStartTime(classGradeUser.getPeriodWaitTime());//学时变为待审核时间,也是学习完成时间
                     List<String> chapterListTxt = changeChapterList(chapterList);
                     vo.setChapterList(chapterListTxt);
                     String ossPath =drawPicOneBuild(vo);