wangliang 4 年 前
コミット
2736f79080

+ 2 - 1
themis-business/src/main/java/com/qmth/themis/business/service/TEExamService.java

@@ -3,6 +3,7 @@ package com.qmth.themis.business.service;
 import java.util.List;
 import java.util.Map;
 
+import com.qmth.themis.business.dto.response.TEExamQueryDto;
 import org.springframework.web.multipart.MultipartFile;
 
 import com.baomidou.mybatisplus.core.metadata.IPage;
@@ -40,7 +41,7 @@ public interface TEExamService extends IService<TEExam> {
      * @param enable
      * @return
      */
-    public IPage<TEExam> examQuery(IPage<Map> iPage, Long id, String code, String name, Integer mode, Integer enable);
+    public IPage<TEExamQueryDto> examQuery(IPage<Map> iPage, Long id, String code, String name, Integer mode, Integer enable);
 
     /**
      * 获取考试待考列表

+ 2 - 2
themis-business/src/main/resources/db/init.sql

@@ -801,8 +801,8 @@ CREATE TABLE `t_e_exam` (
 -- Records of t_e_exam
 -- ----------------------------
 BEGIN;
-INSERT INTO `t_e_exam` VALUES (18738036992901120, 1, '202007130001', '20200713test1', '20200713001', '2020-08-15 00:00:00', '2020-08-16 00:00:00', '456321', 10, 5, '我是考前须知1', 10, '我是考后说明1', 3, 60, 5, 1, 1, 1, 1, 1, 1, 1, 1, '2020-07-22 16:58:17', '2020-07-22 16:58:17', 'TOGETHER', 1, NULL, 10, 120, 1, 'LIVENESS', 1, 0, 1, '10', 3, 'ALL', 'HIGHEST_OBJECTIVE_SCORE', 1, '192.168.10.2,192.168.10.3', 'NEVER', 1, NULL, 1, 1, 'EQUAL', NULL, NULL);
-INSERT INTO `t_e_exam` VALUES (18738491387019264, 1, '202007130002', '20200713test2', '20200713002', '2020-08-15 00:00:00', '2020-08-16 00:00:00', '4563210', 10, 5, '我是考前须知2', 10, '我是考后说明2', 3, 60, 5, 1, 1, 1, 1, 1, 1, 1, 1, '2020-07-22 17:00:05', '2020-07-22 17:00:05', 'ANYTIME', 1, NULL, 10, 120, 1, 'LIVENESS', 1, 0, 1, '10', 3, 'ALL', 'HIGHEST_OBJECTIVE_SCORE', 1, '192.168.10.2,192.168.10.3', 'NEVER', 1, NULL, 1, 1, 'EQUAL', NULL, NULL);
+INSERT INTO `t_e_exam` VALUES (18738036992901120, 1, '202007130001', '20200713test1', '20200713001', '2020-08-15 00:00:00', '2020-08-16 00:00:00', '456321', 10, 5, '我是考前须知1', 10, '我是考后说明1', 3, 60, 5, 1, 1, 1, 1, 1, 1, 1, 1, '2020-07-22 16:58:17', '2020-07-22 16:58:17', 'TOGETHER', 1, NULL, 10, 120, 1, 'LIVENESS', 1, 0, 1, '10', 3, 'ALL', 'HIGHEST_OBJECTIVE_SCORE', 1, '192.168.10.2,192.168.10.3', 'NEVER', 1, NULL, 1, 1, 'EQUAL', NULL, NULL, NULL);
+INSERT INTO `t_e_exam` VALUES (18738491387019264, 1, '202007130002', '20200713test2', '20200713002', '2020-08-15 00:00:00', '2020-08-16 00:00:00', '4563210', 10, 5, '我是考前须知2', 10, '我是考后说明2', 3, 60, 5, 1, 1, 1, 1, 1, 1, 1, 1, '2020-07-22 17:00:05', '2020-07-22 17:00:05', 'ANYTIME', 1, NULL, 10, 120, 1, 'LIVENESS', 1, 0, 1, '10', 3, 'ALL', 'HIGHEST_OBJECTIVE_SCORE', 1, '192.168.10.2,192.168.10.3', 'NEVER', 1, NULL, 1, 1, 'EQUAL', NULL, NULL, NULL);
 COMMIT;
 
 -- ----------------------------