瀏覽代碼

小组课

zouxuan 7 月之前
父節點
當前提交
8344246909
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseGroupMapper.xml

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