zouxuan 5 anni fa
parent
commit
6c2edfa2d2

+ 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">