浏览代码

教育类型参数业务

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

+ 5 - 2
zhongzheng-system/src/main/resources/mapper/modules/course/CourseBusinessMapper.xml

@@ -53,10 +53,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND b.encoder = #{encoder}
         </if>
         <if test="projectId != null and projectId != ''">
-            AND b.project_id = #{projectId}
+            AND b.id = #{projectId}
         </if>
         <if test="educationId != null and educationId != ''">
-            AND e.education_id = #{educationId}
+            AND e.id = #{educationId}
+        </if>
+        <if test="id != null and id != ''">
+            AND b.id = #{id}
         </if>
     </select>