| | |
| | | import com.dy.common.util.IDLongGenerator; |
| | | import com.dy.common.webUtil.BaseResponse; |
| | | import com.dy.pipIrrGlobal.daoLargeScreen.Ls4StatisticsMapper; |
| | | import com.dy.pipIrrGlobal.pojoMd.MdEt0; |
| | | import com.dy.pipIrrGlobal.rtuMw.CodeLocal; |
| | | import com.dy.pipIrrGlobal.rtuMw.Web2RtuMw; |
| | | import com.dy.pipIrrGlobal.voLargeScreen.VoBaseInfo; |
| | | import com.dy.pipIrrGlobal.voLargeScreen.VoCurrentInfo; |
| | | import com.dy.pipIrrGlobal.voLargeScreen.VoMonitorInfo; |
| | | import com.dy.pipIrrGlobal.voMd.VoCrops; |
| | | 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; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.core.env.Environment; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | * 所有作物 |
| | | * @return 实体集合 |
| | | */ |
| | | public List<VoCrops> allCropts(){ |
| | | public List<VoCropsSimple> allCropts(){ |
| | | return this.dao.allCropts() ; |
| | | } |
| | | /** |
| | | * 所有作物 |
| | | * @return 实体集合 |
| | | */ |
| | | public List<MdEt0> et0InWeek(Long cropId){ |
| | | String startDate = DateTime.lastXDay_yyyy_MM_dd(1) ;//昨天 |
| | | String endDate = DateTime.lastXDay_yyyy_MM_dd(8) ;//8天前 |
| | | 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) ; |
| | | } |
| | | |