瀏覽代碼

教师教研排序、考试统计

tags/正式3.10.0
王宁 1 年之前
父節點
當前提交
68bdd4a156
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      sapi/src/main/resources/mapper/research/ResearchUserMapper.xml

+ 1
- 1
sapi/src/main/resources/mapper/research/ResearchUserMapper.xml 查看文件

@@ -37,7 +37,7 @@
37 37
         LEFT JOIN t_user u ON r.createid=u.userid
38 38
         WHERE ru.userid=#{userid} and r.starttime<=#{timestamp}
39 39
         <if test="rustate!=null"> and ru.rustate=#{rustate}</if>
40
-        GROUP BY r.researchid ORDER BY ru.rustate,r.createtime desc
40
+        GROUP BY r.researchid ORDER BY r.createtime desc
41 41
         <if test="rorder=='stoptime'">,r.stoptime DESC</if>
42 42
         <if test="rorder=='readnum'">,r.readnum DESC</if>
43 43
         <if test="rorder=='createtime'">,r.createtime DESC</if>

Loading…
取消
儲存