| | |
| | | import com.dy.pipIrrGlobal.voLargeScreen.VoBaseInfo; |
| | | import com.dy.pipIrrGlobal.voLargeScreen.VoCurrentInfo; |
| | | import com.dy.pipIrrGlobal.voLargeScreen.VoMonitorInfo; |
| | | import com.dy.pipIrrGlobal.voMd.VoCropsSimple; |
| | | import com.dy.pipIrrGlobal.voMd.VoEt0Simple; |
| | | import com.dy.pipIrrGlobal.voSpecial.VoTopXClient; |
| | | import com.dy.pipIrrGlobal.voSpecial.VoTopXIntake; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | return this.dao.topXIntakeAtCertainDay(idStart, idEnd, 5) ; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 所有作物 |
| | | * @return 实体集合 |
| | | */ |
| | | public List<VoCropsSimple> allCropts(){ |
| | | return this.dao.allCropts() ; |
| | | } |
| | | /** |
| | | * 所有作物 |
| | | * @return 实体集合 |
| | | */ |
| | | public List<VoEt0Simple> et0InWeek(Long cropId){ |
| | | String startDate = DateTime.lastXDay_yyyy_MM_dd(8) ;//8天前 |
| | | String endDate = DateTime.lastXDay_yyyy_MM_dd(1) ;//昨天 |
| | | return this.dao.et0InWeek(cropId, startDate, endDate) ; |
| | | } |
| | | |
| | | } |