zouxuan пре 7 месеци
родитељ
комит
8344246909

+ 2 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseGroupMapper.xml

@@ -1077,6 +1077,7 @@
                 AND cg.name_ LIKE concat('%',#{param.search},'%')
             </if>
         </where>
+        GROUP BY cg.id_ DESC
     </select>
     <select id="studentCourseGroup"
             resultType="com.yonge.cooleshow.biz.dal.wrapper.course.CourseGroupWrapper$StudentCourseGroupDto">
@@ -1117,7 +1118,7 @@
                 AND (cg.name_ LIKE concat('%',#{param.search},'%') OR su.username_ LIKE concat('%',#{param.search},'%'))
             </if>
         </where>
-        GROUP BY cg.id_
+        GROUP BY cg.id_ DESC
     </select>
 
     <update id="updateLockNum">