| | |
| | | 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; |
| | |
| | | |
| | | @Autowired |
| | | private MmModelArithSettingsDao mmModelArithSettingsDao; |
| | | |
| | | |
| | | @Override |
| | | public void saveList(List<MmModelArithSettingsEntity> list) { |
| | | QueryWrapper<MmModelArithSettingsEntity> queryWrapper = new QueryWrapper(); |
| | |
| | | |
| | | @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); |
| | | } |
| | | } |