package com.welampiot.service.impl; import com.welampiot.dao.WeatherRS485DevInfoDao; import com.welampiot.dto.WeatherRS485DevInfoDTO; import com.welampiot.service.WeatherRS485DevInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * ClassName: WeatherRS485DevInfoServiceImpl * Package: com.welampiot.service.impl * Description: * * @Author: zhj_Start * @Create: 2023/8/2 - 21:08 * @Version: v1.0 */ @Service public class WeatherRS485DevInfoServiceImpl implements WeatherRS485DevInfoService { @Autowired private WeatherRS485DevInfoDao weatherRS485DevInfoDao; @Override public void addWeatherRS485DevInfoData(WeatherRS485DevInfoDTO dto) { weatherRS485DevInfoDao.addWeatherRS485DevInfoData(dto); } @Override public List getListByWeatherId(int weatherId) { return weatherRS485DevInfoDao.getListByWeatherId(weatherId); } }