package com.ruoyi.monitoring.service.impl;

import com.mybatisflex.solon.service.impl.ServiceImpl;
import com.ruoyi.monitoring.domain.CmcTemperature;
import com.ruoyi.monitoring.mapper.CmcTemperatureMapper;
import com.ruoyi.monitoring.service.ICmcTemperatureService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

import java.util.List;

/**
 * 水温监测 服务层
 * @author cmc
 */
@Component
public class CmcTemperatureServiceImpl extends ServiceImpl<CmcTemperatureMapper, CmcTemperature> implements ICmcTemperatureService {

    @Inject
    CmcTemperatureMapper cmcTemperatureMapper;

    /**
     * 查询水温监测列表信息
     * @param cmcTemperature 水温监测信息
     * @return 水温监测列表
     */
    @Override
    public List<CmcTemperature> listTemperature(CmcTemperature cmcTemperature) {
        return  cmcTemperatureMapper.listTemperature(cmcTemperature);
    }

}
