From b2f92df3d631bf54c98afa779e2bed49f906721b Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期四, 02 一月 2025 16:47:34 +0800 Subject: [PATCH] 模型下发配置表排序 --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelOutServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelOutServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelOutServiceImpl.java index fb781d1..03317e4 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelOutServiceImpl.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelOutServiceImpl.java @@ -68,7 +68,8 @@ @Override public List<StScheduleModelOutDTO> list(String modelId) { QueryWrapper<StScheduleModelOutEntity> queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("model_id", modelId); + queryWrapper.eq("model_id", modelId) + .orderByAsc("sort"); List<StScheduleModelOutEntity> list = baseDao.selectList(queryWrapper); return ConvertUtils.sourceToTarget(list, StScheduleModelOutDTO.class); } -- Gitblit v1.9.3