From 4b677f722568b022be3aef6a2d29599c0e00d1af Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期二, 01 四月 2025 13:31:41 +0800
Subject: [PATCH] 修改建议状态

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java
index 2932e85..34d169e 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java
@@ -15,7 +15,6 @@
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
 
 import javax.annotation.Resource;
 import java.util.List;
@@ -102,4 +101,9 @@
         QueryWrapper<StScheduleModelEntity> wrapper = new QueryWrapper<>();
         return stScheduleModelDao.selectCount(wrapper);
     }
+
+    @Override
+    public StScheduleModelEntity getByModelCode(String modelCode) {
+        return stScheduleModelDao.selectOne("model_code", modelCode);
+    }
 }

--
Gitblit v1.9.3