|  |  |  | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.daoPr.PrStManureMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.daoPr.PrStSoilMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.daoPr.PrStWeatherMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voPr.VoManure; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voPr.VoMqttSimple; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voPr.VoSoil; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voPr.VoWeather; | 
|---|
|  |  |  | import lombok.extern.slf4j.Slf4j; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  | 
|---|
|  |  |  | return this.weatherDao.selectAllSimple() ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String oneManureFBoxId(Long id){ | 
|---|
|  |  |  | VoManure vo = manureDao.selectOne(id); | 
|---|
|  |  |  | if(vo != null){ | 
|---|
|  |  |  | return vo.fboxId ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public String oneSoilFBoxId(Long id){ | 
|---|
|  |  |  | VoSoil vo = soilDao.selectOne(id); | 
|---|
|  |  |  | if(vo != null){ | 
|---|
|  |  |  | return vo.fboxId ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | public String oneWeatherFBoxId(Long id){ | 
|---|
|  |  |  | VoWeather vo = weatherDao.selectOne(id); | 
|---|
|  |  |  | if(vo != null){ | 
|---|
|  |  |  | return vo.fboxId ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null ; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|