Преглед на файлове

fix 班级列表sql修改

tanzh преди 3 години
родител
ревизия
98da4d1322
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

@@ -273,7 +273,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             ) >0
         </if>
         <if test="businessId != null and businessId !='' ">
-            AND cb.business_id = #{businessId}
+            AND cb.id = #{businessId}
         </if>
         <if test="schoolId != null and schoolId !='' ">
             AND (