| package com.dy.pipIrrRemote.mqttSd1.weather; | 
|   | 
| import com.dy.common.webUtil.QueryConditionVo; | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import lombok.*; | 
|   | 
| /** | 
|  * @Author: liurunyu | 
|  * @Date: 2025/6/26 09:33 | 
|  * @Description | 
|  */ | 
| @Data | 
| @EqualsAndHashCode(callSuper = false) | 
| @ToString(callSuper = true) | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| @Builder | 
| public class WeatherQo extends QueryConditionVo { | 
|     /** | 
|      * 气象站ID | 
|      */ | 
|     @Schema(description = "气象站ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Long weatherId; | 
|   | 
|     /** | 
|      * 气象站编号 | 
|      */ | 
|     @Schema(description = "气象站编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public Integer no ; | 
|   | 
|     /** | 
|      * 气象站名称 | 
|      */ | 
|     @Schema(description = "气象站名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public String name; | 
|     /** | 
|      * 查询开始日期 | 
|      */ | 
|     @Schema(description = "查询开始日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public String timeStart; | 
|   | 
|     /** | 
|      * 查询结束日期 | 
|      */ | 
|     @Schema(description = "查询结束日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     public 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"; | 
|         } | 
|     } | 
| } |