fix(任务中心): 查询排序优化,按时间排序
This commit is contained in:
parent
1db7049dd1
commit
120ce28f47
|
@ -44,14 +44,11 @@
|
|||
<if test="request.executionStatus != null and request.executionStatus != ''">
|
||||
and t.status = #{request.executionStatus}
|
||||
</if>
|
||||
<if test="request.executor != null and request.executor != ''">
|
||||
and t1.name = #{request.executor}
|
||||
</if>
|
||||
<if test="request.executor != null and request.executor != ''">
|
||||
and t.user_id = #{request.executor}
|
||||
</if>
|
||||
)
|
||||
)tt ORDER BY FIELD(tt.executionStatus, 'Running', 'Waiting', 'Error', 'Success'),tt.executionTime DESC;
|
||||
)tt ORDER BY tt.executionTime DESC;
|
||||
</select>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue