| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.iailab.framework.common.page.PageData; |
| | | import com.iailab.framework.common.service.impl.BaseServiceImpl; |
| | | import com.iailab.framework.common.util.object.ConvertUtils; |
| | | import com.iailab.module.model.api.mcs.dto.ChartParamDTO; |
| | | import com.iailab.module.model.mpk.dao.ChartParamDao; |
| | | import com.iailab.module.model.mpk.dto.ChartParamDTO; |
| | | import com.iailab.module.model.mpk.entity.ChartEntity; |
| | | import com.iailab.module.model.mpk.entity.ChartParamEntity; |
| | | import com.iailab.module.model.mpk.service.ChartParamService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<ChartParamDTO> list(String chartCode) { |
| | | List<ChartParamEntity> list = baseDao.selectList(new QueryWrapper<ChartParamEntity>().eq("chart_code", chartCode)); |
| | | return ConvertUtils.sourceToTarget(list,ChartParamDTO.class); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(String id) { |
| | | baseDao.deleteById(id); |
| | | } |