| package com.dy.pipIrrRemote.report.qo; | 
|   | 
| import com.dy.common.webUtil.QueryConditionVo; | 
| import lombok.*; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-07-23 16:31 | 
|  * @LastEditTime 2024-07-23 16:31 | 
|  * @Description 整点报查询对象 | 
|  */ | 
|   | 
| @Data | 
| @EqualsAndHashCode(callSuper = false) | 
| @ToString(callSuper = true) | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| @Builder | 
| public class OnHourQO extends QueryConditionVo { | 
|   | 
|     /** | 
|      * 取水口ID,最新记录跳转历史记录时使用 | 
|      */ | 
|     private Long intakeId; | 
|   | 
|     /** | 
|      * 取水口编号 | 
|      */ | 
|     private String intakeNum; | 
|   | 
|     /** | 
|      * 阀控器地址 | 
|      */ | 
|     private String rtuAddr; | 
|   | 
|     /** | 
|      * 查询开始日期 | 
|      */ | 
|     private String timeStart; | 
|   | 
|     /** | 
|      * 查询结束日期 | 
|      */ | 
|     private String timeStop; | 
|   | 
|   | 
|     public void completionTime(){ | 
|         if(this.timeStart != null && !this.timeStart.trim().equals("")) { | 
|             this.timeStart = timeStart + " 00:00:00"; | 
|         } | 
|         if(this.timeStop != null && !this.timeStart.trim().equals("")) { | 
|             this.timeStop = timeStop + " 23:59:59"; | 
|         } | 
|     } | 
| } |