| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrRemote.common.qo; | 
 |  |  |  | 
 |  |  | import com.dy.common.webUtil.QueryConditionVo; | 
 |  |  | import lombok.*; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-07-03 9:25 | 
 |  |  |  * @LastEditTime 2024-07-03 9:25 | 
 |  |  |  * @Description 命令日志历史记录查询视图 | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | @EqualsAndHashCode(callSuper = false) | 
 |  |  | @ToString(callSuper = true) | 
 |  |  | @NoArgsConstructor | 
 |  |  | @AllArgsConstructor | 
 |  |  | @Builder | 
 |  |  | public class QoCommand extends QueryConditionVo { | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 取水口ID | 
 |  |  |      */ | 
 |  |  |     private Long intakeId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 命令名称 | 
 |  |  |      */ | 
 |  |  |     private String commandName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 命令结果,0-失败,1-成功 | 
 |  |  |      */ | 
 |  |  |     private Integer result; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 查询起始时间 | 
 |  |  |      */ | 
 |  |  |     private String timeStart; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 查询结束时间 | 
 |  |  |      */ | 
 |  |  |     private String timeStop; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     public void completionTime(){ | 
 |  |  |         if(timeStart != null && !timeStart.trim().equals("")) { | 
 |  |  |             timeStart = timeStart + " 00:00:00"; | 
 |  |  |         } | 
 |  |  |         if(timeStop != null && !timeStop.trim().equals("")) { | 
 |  |  |             timeStop = timeStop + " 23:59:59"; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |     } | 
 |  |  | } |