瀏覽代碼

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 (