浏览代码

学时审核

change 4 年之前
父节点
当前提交
8e7f996aba
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      zhongzheng-system/src/main/resources/mapper/modules/bank/ExamMapper.xml

+ 4 - 4
zhongzheng-system/src/main/resources/mapper/modules/bank/ExamMapper.xml

@@ -70,16 +70,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 LEFT JOIN course_business cb ON qb.business_id = cb.id
                 LEFT JOIN course_subject cs ON cs.id = qb.subject_id where 1=1
         <if test="educationTypeId != null and educationTypeId != ''">
-            AND cet.education_type_id = #{educationTypeId}
+            AND cet.id = #{educationTypeId}
         </if>
         <if test="subjectId != null and subjectId != ''">
-            AND cs.subject_id = #{subjectId}
+            AND cs.id = #{subjectId}
         </if>
         <if test="businessId != null and businessId != ''">
-            AND cb.business_id = #{businessId}
+            AND cb.id = #{businessId}
         </if>
         <if test="projectId != null and projectId != ''">
-            AND cpt.project_id = #{projectId}
+            AND cpt.id = #{projectId}
         </if>
         <if test="examPaperId != null and examPaperId != ''">
             AND e.exam_paper_id = #{examPaperId}