he2802 1 년 전
부모
커밋
19ffd4a03f
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      zhongzheng-system/src/main/resources/mapper/modules/order/OrderBusinessConfigMapper.xml

+ 4 - 1
zhongzheng-system/src/main/resources/mapper/modules/order/OrderBusinessConfigMapper.xml

@@ -44,9 +44,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         LEFT JOIN course_project_type cpt ON cb.project_id = cpt.id
         LEFT JOIN course_education_type cet ON cet.id = cpt.education_id
         WHERE
-        obc.`status` = 1
+        1=1
         and cet.`status` = 1
         and cb.`status` = 1
+        <if test="status != null and status != ''">
+            and obc.`status` = #{status}
+        </if>
         <if test="gradeType != null and gradeType != ''">
             and obc.grade_type = #{gradeType}
         </if>