9 changed files with 269 additions and 4 deletions
@ -0,0 +1,55 @@ |
|||||
|
package com.kms.yxgh.df.dto; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.Collections; |
||||
|
import java.util.List; |
||||
|
|
||||
|
@ApiModel("获取巡查情况概览统计图表隐患信息") |
||||
|
@Data |
||||
|
public class SzCharItemDto { |
||||
|
@ApiModelProperty(value = "x轴") |
||||
|
private List<String> xAxis = Collections.emptyList(); |
||||
|
|
||||
|
@ApiModelProperty(value = "y轴") |
||||
|
private List<YAxis> yAxis = Collections.emptyList(); |
||||
|
; |
||||
|
|
||||
|
@ApiModelProperty(value = "堤防数量") |
||||
|
private int dfNumber; |
||||
|
|
||||
|
@ApiModelProperty(value = "一般隐患数量") |
||||
|
private int ybNumber; |
||||
|
|
||||
|
@ApiModelProperty(value = "重大隐患数量") |
||||
|
private int zdNumber; |
||||
|
|
||||
|
@ApiModelProperty(value = "处置状态数量") |
||||
|
private int czNumber; |
||||
|
|
||||
|
|
||||
|
@Data |
||||
|
@ApiModel("y轴") |
||||
|
public static class YAxis { |
||||
|
@ApiModelProperty(value = "名称") |
||||
|
private String name; |
||||
|
|
||||
|
@ApiModelProperty(value = "单位") |
||||
|
private String unit; |
||||
|
|
||||
|
@ApiModelProperty(value = "数据") |
||||
|
private List<Series> series; |
||||
|
} |
||||
|
|
||||
|
@ApiModel("y轴数据") |
||||
|
@Data |
||||
|
public static class Series { |
||||
|
@ApiModelProperty("次数") |
||||
|
private Integer count; |
||||
|
@ApiModelProperty("隐患数量对应的类型1,处理数量对应的是2") |
||||
|
private Integer type; |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,55 @@ |
|||||
|
package com.kms.yxgh.sz.dto; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.Collections; |
||||
|
import java.util.List; |
||||
|
|
||||
|
@ApiModel("水闸获取巡查情况概览统计图表信息") |
||||
|
@Data |
||||
|
public class SzCharInfoDto { |
||||
|
@ApiModelProperty(value = "x轴") |
||||
|
private List<String> xAxis = Collections.emptyList(); |
||||
|
|
||||
|
@ApiModelProperty(value = "y轴") |
||||
|
private List<YAxis> yAxis = Collections.emptyList(); |
||||
|
; |
||||
|
|
||||
|
@ApiModelProperty(value = "标线") |
||||
|
private List<MarkLine> markLine = Collections.emptyList(); |
||||
|
; |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel("y轴") |
||||
|
public static class YAxis { |
||||
|
@ApiModelProperty(value = "名称") |
||||
|
private String name; |
||||
|
|
||||
|
@ApiModelProperty(value = "单位") |
||||
|
private String unit; |
||||
|
|
||||
|
@ApiModelProperty(value = "数据") |
||||
|
private List<Series> series; |
||||
|
} |
||||
|
|
||||
|
@ApiModel("y轴数据") |
||||
|
@Data |
||||
|
public static class Series { |
||||
|
@ApiModelProperty("次数") |
||||
|
private Integer count; |
||||
|
@ApiModelProperty("负责人类型") |
||||
|
private String dutyHolderType; |
||||
|
} |
||||
|
|
||||
|
@ApiModel("标线") |
||||
|
@Data |
||||
|
public static class MarkLine { |
||||
|
@ApiModelProperty(value = "名称") |
||||
|
private String name; |
||||
|
|
||||
|
@ApiModelProperty(value = "值") |
||||
|
private String value; |
||||
|
} |
||||
|
} |
@ -0,0 +1,27 @@ |
|||||
|
package com.kms.yxgh.sz.dto; |
||||
|
import com.kms.yxgh.common.dto.IAdcd; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @ClassName: SzHiddenDangerQueDto |
||||
|
* @Description: TODO |
||||
|
* @Date: 2024/3/5 上午10:18 |
||||
|
* * |
||||
|
* @author: hxh |
||||
|
* @version: 1.0 |
||||
|
*/ |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel("水闸责任人巡查情况概览隐患统计") |
||||
|
public class SzCharInfoItemQueDto implements IAdcd { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
@ApiModelProperty("查询开始时间 yyyy-MM-dd HH:mm:ss") |
||||
|
private String patrolStart; |
||||
|
@ApiModelProperty("查询结束时间 yyyy-MM-dd HH:mm:ss") |
||||
|
private String patrolEnd; |
||||
|
|
||||
|
@ApiModelProperty("地区code") |
||||
|
private String adcd; |
||||
|
} |
@ -0,0 +1,27 @@ |
|||||
|
package com.kms.yxgh.sz.dto; |
||||
|
import com.kms.yxgh.common.dto.IAdcd; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @ClassName: SzCharInfoQueDto |
||||
|
* @Description: TODO |
||||
|
* @Date: 2024/3/5 上午10:18 |
||||
|
* * |
||||
|
* @author: hxh |
||||
|
* @version: 1.0 |
||||
|
*/ |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel("水闸责任人巡查情况概览统计") |
||||
|
public class SzCharInfoQueDto implements IAdcd { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
@ApiModelProperty("查询开始时间 yyyy-MM-dd HH:mm:ss") |
||||
|
private String patrolStart; |
||||
|
@ApiModelProperty("查询结束时间 yyyy-MM-dd HH:mm:ss") |
||||
|
private String patrolEnd; |
||||
|
|
||||
|
@ApiModelProperty("地区code") |
||||
|
private String adcd; |
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.kms.yxgh.sz.model; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @ClassName: SzHiddenDangerModel |
||||
|
* @Description: 水闸巡查隐患概览统计 |
||||
|
* @Date: 2024/3/5 上午10:51 |
||||
|
* * |
||||
|
* @author: lyd |
||||
|
* @version: 1.0 |
||||
|
*/ |
||||
|
|
||||
|
@ApiModel("水闸巡查隐患概览统计") |
||||
|
@Data |
||||
|
public class SzHiddenDangerModel { |
||||
|
|
||||
|
@ApiModelProperty("地区code") |
||||
|
private String adcd; |
||||
|
|
||||
|
@ApiModelProperty("隐患类型") |
||||
|
private String problem; |
||||
|
|
||||
|
@ApiModelProperty("数量") |
||||
|
private Integer count; |
||||
|
|
||||
|
@ApiModelProperty("处置状态") |
||||
|
private Integer handleStatus; |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.kms.yxgh.sz.model; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @ClassName: SzStatisticsModelDto |
||||
|
* @Date: 2024/3/5 上午10:51 |
||||
|
* * |
||||
|
* @author: lyd |
||||
|
* @version: 1.0 |
||||
|
*/ |
||||
|
|
||||
|
@ApiModel("水闸巡查情况概览") |
||||
|
@Data |
||||
|
public class SzStatisticsModelDto { |
||||
|
|
||||
|
@ApiModelProperty("次数") |
||||
|
private Integer count; |
||||
|
@ApiModelProperty("堤防代码") |
||||
|
private String adcd; |
||||
|
@ApiModelProperty("巡查责任人类型") |
||||
|
private String dutyHolderType; |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue