From ed4f78cccbb2cf672d6b3230069979288232ab4a Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 04 十一月 2024 08:25:28 +0800
Subject: [PATCH] 计划数据

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java
index f26796c..e84ba70 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmModelArithSettingsServiceImpl.java
@@ -1,5 +1,6 @@
 package com.iailab.module.model.mcs.pre.service.impl;
 
+import com.baomidou.dynamic.datasource.annotation.DSTransactional;
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.iailab.framework.common.service.impl.BaseServiceImpl;
@@ -23,7 +24,7 @@
 
     @Autowired
     private MmModelArithSettingsDao mmModelArithSettingsDao;
-    
+
     @Override
     public void saveList(List<MmModelArithSettingsEntity> list) {
         QueryWrapper<MmModelArithSettingsEntity> queryWrapper = new QueryWrapper();
@@ -48,8 +49,8 @@
 
     @Override
     public List<MmModelArithSettingsEntity> getByModelId(String modelId) {
-        QueryWrapper<MmModelArithSettingsEntity> queryWrapper = new QueryWrapper();
-        queryWrapper.eq("modelid", modelId);
-        return mmModelArithSettingsDao.selectList(queryWrapper);
+        Map<String, Object> params = new HashMap<>();
+        params.put("modelid", modelId);
+        return mmModelArithSettingsDao.getMmModelArithSettings(params);
     }
 }

--
Gitblit v1.9.3