运行图加载计划查询bug修改
This commit is contained in:
parent
3cd7d4f58d
commit
9911d0e109
@ -136,7 +136,7 @@ public class LoadPlanService implements ILoadPlanService {
|
|||||||
@Override
|
@Override
|
||||||
public PageVO<RunPlanLoadVO> queryPagedLoadPlan(RunPlanLoadQueryVO queryVO) {
|
public PageVO<RunPlanLoadVO> queryPagedLoadPlan(RunPlanLoadQueryVO queryVO) {
|
||||||
RunPlanLoadExample runPlanLoadExample = new RunPlanLoadExample();
|
RunPlanLoadExample runPlanLoadExample = new RunPlanLoadExample();
|
||||||
runPlanLoadExample.setOrderByClause(" load_time DESC");
|
runPlanLoadExample.setOrderByClause(" load_time DESC, id");
|
||||||
RunPlanLoadExample.Criteria loadExampleCriteria = runPlanLoadExample.createCriteria();
|
RunPlanLoadExample.Criteria loadExampleCriteria = runPlanLoadExample.createCriteria();
|
||||||
if (Objects.nonNull(queryVO.getUserId())) {
|
if (Objects.nonNull(queryVO.getUserId())) {
|
||||||
loadExampleCriteria.andUserIdEqualTo(queryVO.getUserId());
|
loadExampleCriteria.andUserIdEqualTo(queryVO.getUserId());
|
||||||
|
Loading…
Reference in New Issue
Block a user