Selaa lähdekoodia

试卷加学期id代码提交

pans 7 kuukautta sitten
vanhempi
sitoutus
f60f9b9491

+ 0 - 2
snowy-plugin/snowy-plugin-exam/snowy-plugin-exam-func/src/main/java/vip/xiaonuo/exam/domain/exam/TExamAddParam.java

@@ -78,8 +78,6 @@ public class TExamAddParam {
     @ApiModelProperty(value = "课时ID", position = 14)
     private String hourId;
 
-    @ApiModelProperty(value = "专业id", position = 15)
-    private String majorId;
 
     @ApiModelProperty(value = "学期id", position = 15)
     private String semesterId;

+ 0 - 2
snowy-plugin/snowy-plugin-exam/snowy-plugin-exam-func/src/main/java/vip/xiaonuo/exam/domain/exam/TExamEditParam.java

@@ -76,8 +76,6 @@ public class TExamEditParam {
     private String jobId;
 
 
-    @ApiModelProperty(value = "专业id", position = 15)
-    private String majorId;
 
     @ApiModelProperty(value = "学期id", position = 15)
     private String semesterId;

+ 0 - 3
snowy-plugin/snowy-plugin-exam/snowy-plugin-exam-func/src/main/java/vip/xiaonuo/exam/domain/exam/TExamPageParam.java

@@ -84,9 +84,6 @@ public class TExamPageParam {
     @ApiModelProperty(value = "考试类型", position = 12)
     private String examType;
 
-    @ApiModelProperty(value = "专业id", position = 15)
-    private String majorId;
-
     @ApiModelProperty(value = "学期id", position = 15)
     private String semesterId;
 }

+ 0 - 9
snowy-plugin/snowy-plugin-exam/snowy-plugin-exam-func/src/main/java/vip/xiaonuo/exam/mapper/mapping/TExamMapper.xml

@@ -18,14 +18,11 @@
            a.START_JOB_ID startJobId,
            a.END_JOB_ID endJobId,
            a.EXAM_TYPE examType,
-           a.MAJOR_ID majorId,
            a.SEMESTER_ID semesterId,
-           b.major_name majorName,
            c.name semesterName,
            a.course_id courseId
        FROM
            ONLINEEDU.T_EXAM a
-       LEFT JOIN "major" b ON a.MAJOR_ID =b."id"
        LEFT JOIN  SEMESTER c ON a.SEMESTER_ID =c.ID
     <where>
        <if test="tExamPageParam.examName != null and tExamPageParam.examName != ''">
@@ -37,9 +34,6 @@
         <if test="tExamPageParam.semesterId != null and tExamPageParam.semesterId != ''">
             and a.SEMESTER_ID = #{tExamPageParam.semesterId}
         </if>
-        <if test="tExamPageParam.majorId != null and tExamPageParam.majorId != ''">
-            and a.MAJOR_ID = #{tExamPageParam.majorId}
-        </if>
         <if test="tExamPageParam.examType != null and tExamPageParam.examType != ''">
             and a.EXAM_TYPE = #{tExamPageParam.examType}
         </if>
@@ -65,14 +59,11 @@
             a.START_JOB_ID startJobId,
             a.END_JOB_ID endJobId,
             a.EXAM_TYPE examType,
-            a.MAJOR_ID majorId,
             a.SEMESTER_ID semesterId,
-            b.major_name majorName,
             c.name semesterName,
             a.course_id courseId
         FROM
             ONLINEEDU.T_EXAM a
-        LEFT JOIN "major" b ON a.MAJOR_ID =b."id"
         LEFT JOIN  SEMESTER c ON a.SEMESTER_ID =c.ID
         where a.ID=#{id}
     </select>

+ 0 - 5
snowy-plugin/snowy-plugin-exam/snowy-plugin-exam-func/src/main/java/vip/xiaonuo/exam/vo/TExamVo.java

@@ -79,14 +79,9 @@ public class TExamVo {
     @ApiModelProperty(value = "考试类型", position = 15)
     private String examType;
 
-    @ApiModelProperty(value = "专业id", position = 15)
-    private Integer majorId;
-
     @ApiModelProperty(value = "学期id", position = 15)
     private String semesterId;
 
-    @ApiModelProperty(value = "专业名称", position = 15)
-    private String majorName;
 
     @ApiModelProperty(value = "学期名称", position = 15)
     private String semesterName;