Pārlūkot izejas kodu

教师教研排序、考试统计

tags/正式3.10.0
王宁 pirms 1 gada
vecāks
revīzija
68bdd4a156

+ 1
- 1
sapi/src/main/resources/mapper/research/ResearchUserMapper.xml Parādīt failu

@@ -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>

Notiek ielāde…
Atcelt
Saglabāt