|
@@ -210,9 +210,11 @@ public class ExamRecordServiceImpl implements ExamRecordService {
|
|
|
"record_data.paper_type paper_type," +
|
|
|
"record_data.paper_struct_id paper_struct_id," +
|
|
|
"record_data.info_collector info_collector," +
|
|
|
+ "audit.info_collector audit_user_name," +
|
|
|
"GROUP_CONCAT(DISTINCT process.source_ip) ip" +
|
|
|
" from ec_oe_exam_record_data record_data " +
|
|
|
" LEFT JOIN ec_oe_exam_process_record AS process ON record_data.id = process.exam_record_data_id " +
|
|
|
+ " LEFT JOIN ec_oe_exam_audit AS audit ON record_data.id = audit.exam_record_data_id " +
|
|
|
" where 1=1";
|
|
|
|
|
|
/**
|
|
@@ -353,6 +355,7 @@ public class ExamRecordServiceImpl implements ExamRecordService {
|
|
|
examRecordData.setFaceVerifyResult(IsSuccess.strToEnum(rs.getString("face_verify_result")));
|
|
|
examRecordData.setBaiduFaceLivenessSuccessPercent(rs.getDouble("baidu_face_liveness_success_percent"));
|
|
|
examRecordData.setIp(rs.getString("ip"));
|
|
|
+ examRecordData.setAuditUserName(rs.getString("audit_user_name"));
|
|
|
|
|
|
return examRecordData;
|
|
|
}
|
|
@@ -398,6 +401,9 @@ public class ExamRecordServiceImpl implements ExamRecordService {
|
|
|
if (StringUtils.isNotBlank(query.getInfoCollector())) {
|
|
|
sql.append(" and record_data.info_collector LIKE '%" + query.getInfoCollector() + "%'");
|
|
|
}
|
|
|
+ if (StringUtils.isNotBlank(query.getAuditUserName())) {
|
|
|
+ sql.append(" and audit.audit_user_name LIKE '%" + query.getAuditUserName() + "%'");
|
|
|
+ }
|
|
|
if (query.getCourseId() != null) {
|
|
|
sql.append(" and record_data.course_id = " + query.getCourseId());
|
|
|
}
|