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