|
@@ -88,7 +88,7 @@ public class ExamRecordIllegallyServiceImpl implements ExamRecordIllegallyServic
|
|
|
|
|
|
// 仅导出结果
|
|
|
String querySql = this.queryExamRecordIllegallyListSql(query, false, courseRule, orgRule);
|
|
|
- log.debug(querySql);
|
|
|
+ log.warn("导出违纪名单:{}", querySql);
|
|
|
List<ExamAuditInfo> list = jdbcTemplate.query(querySql, new BeanPropertyRowMapper(ExamAuditInfo.class));
|
|
|
|
|
|
// 填充其它信息
|
|
@@ -236,8 +236,9 @@ public class ExamRecordIllegallyServiceImpl implements ExamRecordIllegallyServic
|
|
|
if (!isCount) {
|
|
|
// sql.append(" group by rd.id");
|
|
|
|
|
|
- if (SelectType.EXPORT != query.getSelectType()) {
|
|
|
- // sql.append(" order by rd.id desc");
|
|
|
+ if (SelectType.EXPORT == query.getSelectType()) {
|
|
|
+ sql.append(" order by rd.id desc");
|
|
|
+ } else {
|
|
|
sql.append(" order by rd.update_time desc");
|
|
|
}
|
|
|
}
|