Bläddra i källkod

教育类型参数业务

change 4 år sedan
förälder
incheckning
bd709e657d

+ 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>