智慧保安后台管理-外网项目备份
zhongrj
2023-09-09 c273bf2f4e425c14ff9bddbc4c3bf5b647622fd9
成绩导出,系统使用有效期修改
4 files modified
10 ■■■■ changed files
src/main/java/org/springblade/modules/auth/endpoint/BladeTokenEndPoint.java 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/exam/excel/ExportExamScoreExcel.java 4 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml 2 ●●● patch | view | raw | blame | history
src/main/resources/application.yml 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/auth/endpoint/BladeTokenEndPoint.java
@@ -117,7 +117,7 @@
        UserInfo userInfo = granter.grant(tokenParameter);
        try {
            Long parse = new SimpleDateFormat("yyyy-MM-dd").parse("2023-09-11").getTime();
            Long parse = new SimpleDateFormat("yyyy-MM-dd").parse("2023-09-20").getTime();
            long now= System.currentTimeMillis();
            if (parse < now){
                throw new ServiceException("试用已到期");
src/main/java/org/springblade/modules/exam/excel/ExportExamScoreExcel.java
@@ -49,6 +49,10 @@
    @ExcelProperty("身份证号码")
    private String idCardNo;
    @ColumnWidth(50)
    @ExcelProperty("身份证住址")
    private String registered;
    @ColumnWidth(20)
    @ExcelProperty("准考证号")
    private String candidateNo;
src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml
@@ -370,7 +370,7 @@
        ke.exam_name examName,
        bu.real_name securityName,bu.cardid idCardNo,bu.unit_name unitName,bu.securitynumber as securityNumber,
        bd.dept_name companyName,
        es.exam_time examTime,exam_end_time examEndTime,es.candidate_no candidateNo,
        es.exam_time examTime,exam_end_time examEndTime,es.candidate_no candidateNo,bu.registered,
        es.theory_grade theoryGrade,
        case when es.learn_grade=0 then '合格'
            when es.learn_grade=1 then '不合格'
src/main/resources/application.yml
@@ -43,7 +43,7 @@
        session-stat-max-count: 10
  servlet:
    multipart:
      location: /tmp/undertow
      location: D:\tmp\undertow
# mybatis