소스 검색

教育类型参数业务

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>