使一个站的气象、墒情历史数据查询支持一天的时间范围内查询
| | |
| | | return BaseResponseUtils.buildFail("墒情站id不能为空") ; |
| | | } |
| | | qo.completionTime(); |
| | | if(qo.timeStop == null || qo.timeStop.trim().equals("")){ |
| | | if(qo.timeStart != null && !qo.timeStart.trim().equals("")){ |
| | | qo.timeStop = qo.timeStart + " 23:59:59"; |
| | | } |
| | | } |
| | | return BaseResponseUtils.buildSuccess(sv.oneHistory(qo)); |
| | | } catch (Exception e) { |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | |
| | | return BaseResponseUtils.buildFail("气象站id不能为空") ; |
| | | } |
| | | qo.completionTime(); |
| | | if(qo.timeStop == null || qo.timeStop.trim().equals("")){ |
| | | if(qo.timeStart != null && !qo.timeStart.trim().equals("")){ |
| | | qo.timeStop = qo.timeStart + " 23:59:59"; |
| | | } |
| | | } |
| | | return BaseResponseUtils.buildSuccess(sv.oneHistory(qo)); |
| | | } catch (Exception e) { |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |