运行图加载计划查询bug修改

This commit is contained in:
joylink_zhangsai 2020-12-11 13:37:38 +08:00
parent 3cd7d4f58d
commit 9911d0e109

View File

@ -136,7 +136,7 @@ public class LoadPlanService implements ILoadPlanService {
@Override
public PageVO<RunPlanLoadVO> queryPagedLoadPlan(RunPlanLoadQueryVO queryVO) {
RunPlanLoadExample runPlanLoadExample = new RunPlanLoadExample();
runPlanLoadExample.setOrderByClause(" load_time DESC");
runPlanLoadExample.setOrderByClause(" load_time DESC, id");
RunPlanLoadExample.Criteria loadExampleCriteria = runPlanLoadExample.createCriteria();
if (Objects.nonNull(queryVO.getUserId())) {
loadExampleCriteria.andUserIdEqualTo(queryVO.getUserId());