houzhongjian
2024-11-14 08923c6d95dc8f0f415de94e1d4e3230cdcf7a8e
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);
    }
}