zouxuan 5 年之前
父节点
当前提交
6c2edfa2d2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      mec-biz/src/main/resources/config/mybatis/ClassGroupMapper.xml

+ 1 - 0
mec-biz/src/main/resources/config/mybatis/ClassGroupMapper.xml

@@ -407,6 +407,7 @@
         <if test="search != null">
             AND cg.name_ LIKE CONCAT('%',#{search},'%')
         </if>
+        GROUP BY cg.id_
     </select>
 
     <select id="findNoClassSubjects" resultMap="ClassGroup">