1个文件已删除
1个文件已修改
133个文件已添加
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建事件请求参数") |
| | | public class EventAddDTO { |
| | | |
| | | @Length(max=20) |
| | | @ApiModelProperty(value = "服务单号", hidden = false, example = "") |
| | | private String orderSn; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "1、办件事件2是宣传事件3是阅读事件", hidden = false, example = "1") |
| | | private Long eventCategory; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | @Length(max=20) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMemberTelephone; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件标题", hidden = false, example = "") |
| | | private String eventTitle; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "宣传类型", hidden = false, example = "1") |
| | | private Integer propagandaType; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "宣传时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date propagandaTime; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "当event_type_category是1填写事件类型1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群信息上报", hidden = false, example = "1") |
| | | private Integer eventType; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件描述", hidden = false, example = "") |
| | | private String eventDes; |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "宣传对象", hidden = false, example = "") |
| | | private String propagandaObject; |
| | | |
| | | @Length(max=10) |
| | | @ApiModelProperty(value = "宣传人数", hidden = false, example = "") |
| | | private String propagandaNum; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer communityProcess; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "发生时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date happenTime; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生地点", hidden = false, example = "") |
| | | private String happentAddress; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String happentLatLng; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件状态(1草稿箱2发布3逻辑删除4、撤销)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "1待处理2已解决3待验证", hidden = false, example = "1") |
| | | private Integer eventProcessStatus; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer processType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long processUserId; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String processUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date processDate; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String processDesc; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件来源", hidden = false, example = "") |
| | | private String eventResource; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "危险级别", hidden = false, example = "1") |
| | | private Integer dangerLevel; |
| | | |
| | | |
| | | @ApiModelProperty(value = "红牌", hidden = false, example = "true") |
| | | private Boolean redCard; |
| | | |
| | | |
| | | @ApiModelProperty(value = "黄牌", hidden = false, example = "true") |
| | | private Boolean yellowCard; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否重大", hidden = false, example = "true") |
| | | private Boolean major; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "死亡人数", hidden = false, example = "1") |
| | | private Integer deathsNumber; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "受伤人数", hidden = false, example = "1") |
| | | private Integer injuriesNumber; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否疑难事件", hidden = false, example = "true") |
| | | private Boolean difficult; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDate; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建APP应用版本信息请求参数") |
| | | public class EventApplicationAppReleaseAddDTO { |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "应用ID", hidden = false, example = "1") |
| | | private Integer productId; |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "应用名称", hidden = false, example = "") |
| | | private String productName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "版本编号", hidden = false, example = "") |
| | | private String releaseNumber; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "通知行为(1、强制更新2、提示更新)", hidden = false, example = "1") |
| | | private Integer action; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "版本地址", hidden = false, example = "") |
| | | private String url; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除APP应用版本信息请求参数") |
| | | public class EventApplicationAppReleaseDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑APP应用版本信息请求参数") |
| | | public class EventApplicationAppReleaseEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "应用ID", hidden = false, example = "1") |
| | | private Integer productId; |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "应用名称", hidden = false, example = "") |
| | | private String productName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "版本编号", hidden = false, example = "") |
| | | private String releaseNumber; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "通知行为(1、强制更新2、提示更新)", hidden = false, example = "1") |
| | | private Integer action; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "版本地址", hidden = false, example = "") |
| | | private String url; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建用户协议和隐私政策信息请求参数") |
| | | public class EventApplicationUserNoticeAddDTO { |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "应用ID", hidden = false, example = "1") |
| | | private Integer productId; |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "应用名称", hidden = false, example = "") |
| | | private String productName; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "通知行为(1、强制通知必须手段确定2、提示更新,自动消退)", hidden = false, example = "1") |
| | | private Integer action; |
| | | |
| | | @Length(max=1000) |
| | | @ApiModelProperty(value = "内容", hidden = false, example = "") |
| | | private String content; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除用户协议和隐私政策信息请求参数") |
| | | public class EventApplicationUserNoticeDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑用户协议和隐私政策信息请求参数") |
| | | public class EventApplicationUserNoticeEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "应用ID", hidden = false, example = "1") |
| | | private Integer productId; |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "应用名称", hidden = false, example = "") |
| | | private String productName; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "通知行为(1、强制通知必须手段确定2、提示更新,自动消退)", hidden = false, example = "1") |
| | | private Integer action; |
| | | |
| | | @Length(max=1000) |
| | | @ApiModelProperty(value = "内容", hidden = false, example = "") |
| | | private String content; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除事件请求参数") |
| | | public class EventDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑事件请求参数") |
| | | public class EventEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @Length(max=20) |
| | | @ApiModelProperty(value = "服务单号", hidden = false, example = "") |
| | | private String orderSn; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "1、办件事件2是宣传事件3是阅读事件", hidden = false, example = "1") |
| | | private Long eventCategory; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | @Length(max=20) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMemberTelephone; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件标题", hidden = false, example = "") |
| | | private String eventTitle; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "宣传类型", hidden = false, example = "1") |
| | | private Integer propagandaType; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "宣传时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date propagandaTime; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "当event_type_category是1填写事件类型1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群信息上报", hidden = false, example = "1") |
| | | private Integer eventType; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件描述", hidden = false, example = "") |
| | | private String eventDes; |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "宣传对象", hidden = false, example = "") |
| | | private String propagandaObject; |
| | | |
| | | @Length(max=10) |
| | | @ApiModelProperty(value = "宣传人数", hidden = false, example = "") |
| | | private String propagandaNum; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer communityProcess; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "发生时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date happenTime; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生地点", hidden = false, example = "") |
| | | private String happentAddress; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String happentLatLng; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件状态(1草稿箱2发布3逻辑删除4、撤销)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "1待处理2已解决3待验证", hidden = false, example = "1") |
| | | private Integer eventProcessStatus; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer processType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long processUserId; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String processUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date processDate; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String processDesc; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件来源", hidden = false, example = "") |
| | | private String eventResource; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "危险级别", hidden = false, example = "1") |
| | | private Integer dangerLevel; |
| | | |
| | | |
| | | @ApiModelProperty(value = "红牌", hidden = false, example = "true") |
| | | private Boolean redCard; |
| | | |
| | | |
| | | @ApiModelProperty(value = "黄牌", hidden = false, example = "true") |
| | | private Boolean yellowCard; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否重大", hidden = false, example = "true") |
| | | private Boolean major; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "死亡人数", hidden = false, example = "1") |
| | | private Integer deathsNumber; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "受伤人数", hidden = false, example = "1") |
| | | private Integer injuriesNumber; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否疑难事件", hidden = false, example = "true") |
| | | private Boolean difficult; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDate; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建区县/街道/社区/网格员网格数据管理请求参数") |
| | | public class EventGridDataAddDTO { |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "类型,1、区县网格2街道网格3社区网格", hidden = false, example = "1") |
| | | private Long type; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "区/县ID", hidden = false, example = "1") |
| | | private Long zoneId; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "所属图层", hidden = false, example = "1") |
| | | private Integer mapLevel; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "面积", hidden = false, example = "") |
| | | private String area; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "线条颜色", hidden = false, example = "") |
| | | private String lineColor; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "线条宽度", hidden = false, example = "") |
| | | private String lineBroadband; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "填充颜色", hidden = false, example = "") |
| | | private String fillColor; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "备注", hidden = false, example = "") |
| | | private String remarks; |
| | | |
| | | @Length(max=2147483647) |
| | | @ApiModelProperty(value = "围栏数据", hidden = false, example = "") |
| | | private String data; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除区县/街道/社区/网格员网格数据管理请求参数") |
| | | public class EventGridDataDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑区县/街道/社区/网格员网格数据管理请求参数") |
| | | public class EventGridDataEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "类型,1、区县网格2街道网格3社区网格", hidden = false, example = "1") |
| | | private Long type; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "区/县ID", hidden = false, example = "1") |
| | | private Long zoneId; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "所属图层", hidden = false, example = "1") |
| | | private Integer mapLevel; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "面积", hidden = false, example = "") |
| | | private String area; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "线条颜色", hidden = false, example = "") |
| | | private String lineColor; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "线条宽度", hidden = false, example = "") |
| | | private String lineBroadband; |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "填充颜色", hidden = false, example = "") |
| | | private String fillColor; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "备注", hidden = false, example = "") |
| | | private String remarks; |
| | | |
| | | @Length(max=2147483647) |
| | | @ApiModelProperty(value = "围栏数据", hidden = false, example = "") |
| | | private String data; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建网格员定时上报地理信息请求参数") |
| | | public class EventGridMemberGpsLogAddDTO { |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割", hidden = false, example = "") |
| | | private String lngLat; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "位置信息状态(1、为判定2、正常3、是不正常)", hidden = false, example = "1") |
| | | private Integer positionStation; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除网格员定时上报地理信息请求参数") |
| | | public class EventGridMemberGpsLogDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑网格员定时上报地理信息请求参数") |
| | | public class EventGridMemberGpsLogEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割", hidden = false, example = "") |
| | | private String lngLat; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "位置信息状态(1、为判定2、正常3、是不正常)", hidden = false, example = "1") |
| | | private Integer positionStation; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建网格和网格员的关联关系请求参数") |
| | | public class EventGridMemberRelationAddDTO { |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除网格和网格员的关联关系请求参数") |
| | | public class EventGridMemberRelationDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑网格和网格员的关联关系请求参数") |
| | | public class EventGridMemberRelationEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建网格员定时上报地理预警记录请求参数") |
| | | public class EventGridMemberWarnLogAddDTO { |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割", hidden = false, example = "") |
| | | private String lngLat; |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "预警信息内容", hidden = false, example = "") |
| | | private String content; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除网格员定时上报地理预警记录请求参数") |
| | | public class EventGridMemberWarnLogDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑网格员定时上报地理预警记录请求参数") |
| | | public class EventGridMemberWarnLogEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割", hidden = false, example = "") |
| | | private String lngLat; |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "预警信息内容", hidden = false, example = "") |
| | | private String content; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建重点人群记录请求参数") |
| | | public class EventMainMemberAddDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMember; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMemberTele; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "需走访人ID", hidden = false, example = "1") |
| | | private Long visiterId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人名字", hidden = false, example = "") |
| | | private String visiterName; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "需走访人员性别", hidden = false, example = "1") |
| | | private Integer visiterSex; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人电话", hidden = false, example = "") |
| | | private String visiterTele; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人居住地址", hidden = false, example = "") |
| | | private String visiterAddress; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人地址精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String visiterAddressLatLng; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员", hidden = false, example = "1") |
| | | private Integer visiterType; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer actOpara; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "上报状态", hidden = false, example = "1") |
| | | private Integer reporting; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer dellType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long dellUserId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String dellUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date dellDate; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String dellDesc; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDate; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "走访频率配置,一个月几次", hidden = false, example = "") |
| | | private String visiterConfig; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除重点人群记录请求参数") |
| | | public class EventMainMemberDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑重点人群记录请求参数") |
| | | public class EventMainMemberEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMember; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMemberTele; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "需走访人ID", hidden = false, example = "1") |
| | | private Long visiterId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人名字", hidden = false, example = "") |
| | | private String visiterName; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "需走访人员性别", hidden = false, example = "1") |
| | | private Integer visiterSex; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人电话", hidden = false, example = "") |
| | | private String visiterTele; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人居住地址", hidden = false, example = "") |
| | | private String visiterAddress; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人地址精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String visiterAddressLatLng; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员", hidden = false, example = "1") |
| | | private Integer visiterType; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer actOpara; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "上报状态", hidden = false, example = "1") |
| | | private Integer reporting; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer dellType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long dellUserId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String dellUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date dellDate; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String dellDesc; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDate; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "走访频率配置,一个月几次", hidden = false, example = "") |
| | | private String visiterConfig; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建事件或者走访中关联的图片音频和视频文件请求参数") |
| | | public class EventResourceAddDTO { |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件上传的资源类型(1是图片2是音频3是是视频)", hidden = false, example = "1") |
| | | private Integer type; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "资源名称", hidden = false, example = "") |
| | | private String resourceName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "资源大小", hidden = false, example = "") |
| | | private String resourceSize; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件上传的资源URL地址", hidden = false, example = "") |
| | | private String url; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除事件或者走访中关联的图片音频和视频文件请求参数") |
| | | public class EventResourceDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "分类(1、事件 2、走访)", hidden = false, example = "1") |
| | | private Integer classification; |
| | | @ApiModelProperty(value = "事件或者走访任务关联ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑事件或者走访中关联的图片音频和视频文件请求参数") |
| | | public class EventResourceEditDTO { |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "分类(1、事件 2、走访)", hidden = false, example = "1") |
| | | private Integer classification; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件或者走访任务关联ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件上传的资源类型(1是图片2是音频3是是视频)", hidden = false, example = "1") |
| | | private Integer type; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "资源名称", hidden = false, example = "") |
| | | private String resourceName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "资源大小", hidden = false, example = "") |
| | | private String resourceSize; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件上传的资源URL地址", hidden = false, example = "") |
| | | private String url; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建事件处理流转记录请求参数") |
| | | public class EventTransferRecordAddDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件ID", hidden = false, example = "1") |
| | | private Long eventId; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "来源类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer fromType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件来源机构或网格员", hidden = false, example = "1") |
| | | private Long from; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "转交办理人路径名称", hidden = false, example = "") |
| | | private String fromName; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "转交类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer toType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件下游机构或网格员", hidden = false, example = "1") |
| | | private Long to; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需要办理人路径名称", hidden = false, example = "") |
| | | private String toName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理结果", hidden = false, example = "") |
| | | private String processResult; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date processDate; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除事件处理流转记录请求参数") |
| | | public class EventTransferRecordDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑事件处理流转记录请求参数") |
| | | public class EventTransferRecordEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件ID", hidden = false, example = "1") |
| | | private Long eventId; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "来源类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer fromType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件来源机构或网格员", hidden = false, example = "1") |
| | | private Long from; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "转交办理人路径名称", hidden = false, example = "") |
| | | private String fromName; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "转交类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer toType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件下游机构或网格员", hidden = false, example = "1") |
| | | private Long to; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需要办理人路径名称", hidden = false, example = "") |
| | | private String toName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理结果", hidden = false, example = "") |
| | | private String processResult; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date processDate; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("创建重点人群走访记录请求参数") |
| | | public class EventVisitingTasksAddDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMember; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMenberTele; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "需走访人ID", hidden = false, example = "1") |
| | | private Long visiterId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人名字", hidden = false, example = "") |
| | | private String visiterName; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "需走访人员性别", hidden = false, example = "1") |
| | | private Integer visiterSex; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人电话", hidden = false, example = "") |
| | | private String visiterTele; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人居住地址", hidden = false, example = "") |
| | | private String visiterAddress; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员", hidden = false, example = "1") |
| | | private Integer visiterType; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件标题", hidden = false, example = "") |
| | | private String eventTitle; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件类型", hidden = false, example = "1") |
| | | private Integer eventType; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件描述", hidden = false, example = "") |
| | | private String eventDes; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer actOpara; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "发生时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date happenTime; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生地点", hidden = false, example = "") |
| | | private String happentAddress; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String happentLatLng; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "上报状态", hidden = false, example = "1") |
| | | private Integer reporting; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer dellType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long dellUserId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String dellUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date dellDate; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String dellDesc; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDate; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否异常行为", hidden = false, example = "true") |
| | | private Boolean exception; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "走访内容根据重点人员类型输入项不同,录入全部的表单内容数据", hidden = false, example = "") |
| | | private String tableContentJson; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 删除表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("删除重点人群走访记录请求参数") |
| | | public class EventVisitingTasksDeleteDTO { |
| | | |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 编辑表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("编辑重点人群走访记录请求参数") |
| | | public class EventVisitingTasksEditDTO { |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMember; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMenberTele; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "需走访人ID", hidden = false, example = "1") |
| | | private Long visiterId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人名字", hidden = false, example = "") |
| | | private String visiterName; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "需走访人员性别", hidden = false, example = "1") |
| | | private Integer visiterSex; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人电话", hidden = false, example = "") |
| | | private String visiterTele; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人居住地址", hidden = false, example = "") |
| | | private String visiterAddress; |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员", hidden = false, example = "1") |
| | | private Integer visiterType; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件标题", hidden = false, example = "") |
| | | private String eventTitle; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件类型", hidden = false, example = "1") |
| | | private Integer eventType; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件描述", hidden = false, example = "") |
| | | private String eventDes; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer actOpara; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "发生时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date happenTime; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生地点", hidden = false, example = "") |
| | | private String happentAddress; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String happentLatLng; |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "上报状态", hidden = false, example = "1") |
| | | private Integer reporting; |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer dellType; |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long dellUserId; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String dellUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date dellDate; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String dellDesc; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDate; |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否异常行为", hidden = false, example = "true") |
| | | private Boolean exception; |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "走访内容根据重点人员类型输入项不同,录入全部的表单内容数据", hidden = false, example = "") |
| | | private String tableContentJson; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询APP应用版本信息请求参数") |
| | | public class PageEventApplicationAppReleaseDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "应用ID", hidden = false, example = "1") |
| | | private Integer productId; |
| | | |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "应用名称", hidden = false, example = "") |
| | | private String productName; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "版本编号", hidden = false, example = "") |
| | | private String releaseNumber; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "通知行为(1、强制更新2、提示更新)", hidden = false, example = "1") |
| | | private Integer action; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "版本地址", hidden = false, example = "") |
| | | private String url; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询用户协议和隐私政策信息请求参数") |
| | | public class PageEventApplicationUserNoticeDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "应用ID", hidden = false, example = "1") |
| | | private Integer productId; |
| | | |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "应用名称", hidden = false, example = "") |
| | | private String productName; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "通知行为(1、强制通知必须手段确定2、提示更新,自动消退)", hidden = false, example = "1") |
| | | private Integer action; |
| | | |
| | | |
| | | @Length(max=1000) |
| | | @ApiModelProperty(value = "内容", hidden = false, example = "") |
| | | private String content; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询事件请求参数") |
| | | public class PageEventDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @Length(max=20) |
| | | @ApiModelProperty(value = "服务单号", hidden = false, example = "") |
| | | private String orderSn; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "1、办件事件2是宣传事件3是阅读事件", hidden = false, example = "1") |
| | | private Long eventCategory; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | |
| | | @Length(max=20) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMemberTelephone; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件标题", hidden = false, example = "") |
| | | private String eventTitle; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "宣传类型", hidden = false, example = "1") |
| | | private Integer propagandaType; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "宣传时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date propagandaTimeBegin; |
| | | @ApiModelProperty(value = "宣传时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date propagandaTimeEnd; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "当event_type_category是1填写事件类型1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群信息上报", hidden = false, example = "1") |
| | | private Integer eventType; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件描述", hidden = false, example = "") |
| | | private String eventDes; |
| | | |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "宣传对象", hidden = false, example = "") |
| | | private String propagandaObject; |
| | | |
| | | |
| | | @Length(max=10) |
| | | @ApiModelProperty(value = "宣传人数", hidden = false, example = "") |
| | | private String propagandaNum; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer communityProcess; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "发生时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date happenTimeBegin; |
| | | @ApiModelProperty(value = "发生时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date happenTimeEnd; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生地点", hidden = false, example = "") |
| | | private String happentAddress; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String happentLatLng; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件状态(1草稿箱2发布3逻辑删除4、撤销)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "1待处理2已解决3待验证", hidden = false, example = "1") |
| | | private Integer eventProcessStatus; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer processType; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long processUserId; |
| | | |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String processUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date processDateBegin; |
| | | @ApiModelProperty(value = "处理时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date processDateEnd; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String processDesc; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件来源", hidden = false, example = "") |
| | | private String eventResource; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "危险级别", hidden = false, example = "1") |
| | | private Integer dangerLevel; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "红牌", hidden = false, example = "true") |
| | | private Boolean redCard; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "黄牌", hidden = false, example = "true") |
| | | private Boolean yellowCard; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否重大", hidden = false, example = "true") |
| | | private Boolean major; |
| | | |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "死亡人数", hidden = false, example = "1") |
| | | private Integer deathsNumber; |
| | | |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "受伤人数", hidden = false, example = "1") |
| | | private Integer injuriesNumber; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否疑难事件", hidden = false, example = "true") |
| | | private Boolean difficult; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDateBegin; |
| | | @ApiModelProperty(value = "上报提交时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDateEnd; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "修改人", hidden = false, example = "1") |
| | | private Long updateBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "修改时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date updateAtBegin; |
| | | @ApiModelProperty(value = "修改时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询区县/街道/社区/网格员网格数据管理请求参数") |
| | | public class PageEventGridDataDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "类型,1、区县网格2街道网格3社区网格", hidden = false, example = "1") |
| | | private Long type; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "区/县ID", hidden = false, example = "1") |
| | | private Long zoneId; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "所属图层", hidden = false, example = "1") |
| | | private Integer mapLevel; |
| | | |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "面积", hidden = false, example = "") |
| | | private String area; |
| | | |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "线条颜色", hidden = false, example = "") |
| | | private String lineColor; |
| | | |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "线条宽度", hidden = false, example = "") |
| | | private String lineBroadband; |
| | | |
| | | |
| | | @Length(max=100) |
| | | @ApiModelProperty(value = "填充颜色", hidden = false, example = "") |
| | | private String fillColor; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "备注", hidden = false, example = "") |
| | | private String remarks; |
| | | |
| | | |
| | | @Length(max=2147483647) |
| | | @ApiModelProperty(value = "围栏数据", hidden = false, example = "") |
| | | private String data; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "修改人", hidden = false, example = "1") |
| | | private Long updateBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "修改时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date updateAtBegin; |
| | | @ApiModelProperty(value = "修改时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询网格员定时上报地理信息请求参数") |
| | | public class PageEventGridMemberGpsLogDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割", hidden = false, example = "") |
| | | private String lngLat; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "位置信息状态(1、为判定2、正常3、是不正常)", hidden = false, example = "1") |
| | | private Integer positionStation; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询网格和网格员的关联关系请求参数") |
| | | public class PageEventGridMemberRelationDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询网格员定时上报地理预警记录请求参数") |
| | | public class PageEventGridMemberWarnLogDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "主键ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属街道", hidden = false, example = "1") |
| | | private Long gridStreetId; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格所属社区ID", hidden = false, example = "1") |
| | | private Long gridCommunityId; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格ID", hidden = false, example = "1") |
| | | private Long gridId; |
| | | |
| | | |
| | | @NotBlank() @Length(max=100) |
| | | @ApiModelProperty(value = "网格名称", hidden = false, example = "") |
| | | private String gridName; |
| | | |
| | | |
| | | @NotNull() @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员ID", hidden = false, example = "1") |
| | | private Long gridMemberId; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割", hidden = false, example = "") |
| | | private String lngLat; |
| | | |
| | | |
| | | @Length(max=50) |
| | | @ApiModelProperty(value = "预警信息内容", hidden = false, example = "") |
| | | private String content; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询重点人群记录请求参数") |
| | | public class PageEventMainMemberDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMember; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMemberTele; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "需走访人ID", hidden = false, example = "1") |
| | | private Long visiterId; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人名字", hidden = false, example = "") |
| | | private String visiterName; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "需走访人员性别", hidden = false, example = "1") |
| | | private Integer visiterSex; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人电话", hidden = false, example = "") |
| | | private String visiterTele; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人居住地址", hidden = false, example = "") |
| | | private String visiterAddress; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人地址精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String visiterAddressLatLng; |
| | | |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员", hidden = false, example = "1") |
| | | private Integer visiterType; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer actOpara; |
| | | |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "上报状态", hidden = false, example = "1") |
| | | private Integer reporting; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer dellType; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long dellUserId; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String dellUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date dellDateBegin; |
| | | @ApiModelProperty(value = "处理时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date dellDateEnd; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String dellDesc; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDateBegin; |
| | | @ApiModelProperty(value = "上报提交时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDateEnd; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "走访频率配置,一个月几次", hidden = false, example = "") |
| | | private String visiterConfig; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建事件-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建事件-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "修改人", hidden = false, example = "1") |
| | | private Long updateBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "修改时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date updateAtBegin; |
| | | @ApiModelProperty(value = "修改时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询事件或者走访中关联的图片音频和视频文件请求参数") |
| | | public class PageEventResourceDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "分类(1、事件 2、走访)", hidden = false, example = "1") |
| | | private Integer classification; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件或者走访任务关联ID", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件上传的资源类型(1是图片2是音频3是是视频)", hidden = false, example = "1") |
| | | private Integer type; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "资源名称", hidden = false, example = "") |
| | | private String resourceName; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "资源大小", hidden = false, example = "") |
| | | private String resourceSize; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件上传的资源URL地址", hidden = false, example = "") |
| | | private String url; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询事件处理流转记录请求参数") |
| | | public class PageEventTransferRecordDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件ID", hidden = false, example = "1") |
| | | private Long eventId; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "来源类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer fromType; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件来源机构或网格员", hidden = false, example = "1") |
| | | private Long from; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "转交办理人路径名称", hidden = false, example = "") |
| | | private String fromName; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "转交类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer toType; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "事件下游机构或网格员", hidden = false, example = "1") |
| | | private Long to; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需要办理人路径名称", hidden = false, example = "") |
| | | private String toName; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理结果", hidden = false, example = "") |
| | | private String processResult; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date processDateBegin; |
| | | @ApiModelProperty(value = "处理时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date processDateEnd; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.Pattern; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.base.CaseFormat; |
| | | |
| | | /** |
| | | * 分页查询表单 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("查询重点人群走访记录请求参数") |
| | | public class PageEventVisitingTasksDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | private Long pageNum = 1L; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | private Long pageSize = 10L; |
| | | |
| | | @ApiModelProperty(value = "排序字段, 默认createAt", example = "createAt") |
| | | private String sortAttr="createAt"; |
| | | |
| | | @ApiModelProperty(value = "排序方式: asc/desc(默认)", example = "desc") |
| | | @Pattern(regexp = "asc|desc|ASC|DESC") |
| | | private String sortType="desc"; |
| | | |
| | | public String getSortColumns(){ |
| | | String dbColumn = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, sortAttr); |
| | | return dbColumn; |
| | | } |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "id", hidden = false, example = "1") |
| | | private Long id; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处的街道", hidden = false, example = "1") |
| | | private Long gridMemberStreet; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员所处社区", hidden = false, example = "1") |
| | | private Long gridMemberCommunity; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "网格员", hidden = false, example = "1") |
| | | private Long gridMember; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员名字", hidden = false, example = "") |
| | | private String gridMemberName; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "网格员联系方式", hidden = false, example = "") |
| | | private String gridMenberTele; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "需走访人ID", hidden = false, example = "1") |
| | | private Long visiterId; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人名字", hidden = false, example = "") |
| | | private String visiterName; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "需走访人员性别", hidden = false, example = "1") |
| | | private Integer visiterSex; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人电话", hidden = false, example = "") |
| | | private String visiterTele; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "需走访人居住地址", hidden = false, example = "") |
| | | private String visiterAddress; |
| | | |
| | | |
| | | @Max(9999999999L) |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员", hidden = false, example = "1") |
| | | private Integer visiterType; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件标题", hidden = false, example = "") |
| | | private String eventTitle; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件类型", hidden = false, example = "1") |
| | | private Integer eventType; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "事件描述", hidden = false, example = "") |
| | | private String eventDes; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)", hidden = false, example = "1") |
| | | private Integer actOpara; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "发生时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date happenTimeBegin; |
| | | @ApiModelProperty(value = "发生时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date happenTimeEnd; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生地点", hidden = false, example = "") |
| | | private String happentAddress; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)", hidden = false, example = "") |
| | | private String happentLatLng; |
| | | |
| | | |
| | | @Max(127) |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)", hidden = false, example = "1") |
| | | private Integer eventStatus; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "上报状态", hidden = false, example = "1") |
| | | private Integer reporting; |
| | | |
| | | |
| | | @Max(32767) |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)", hidden = false, example = "1") |
| | | private Integer dellType; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "处理人ID", hidden = false, example = "1") |
| | | private Long dellUserId; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "处理人名称", hidden = false, example = "") |
| | | private String dellUserName; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "处理时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date dellDateBegin; |
| | | @ApiModelProperty(value = "处理时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date dellDateEnd; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述", hidden = false, example = "") |
| | | private String dellDesc; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否有效", hidden = false, example = "true") |
| | | private Boolean invalid; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否紧急", hidden = false, example = "true") |
| | | private Boolean urgent; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否催办", hidden = false, example = "true") |
| | | private Boolean urgentDell; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "上报提交时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date submitDateBegin; |
| | | @ApiModelProperty(value = "上报提交时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDateEnd; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "是否异常行为", hidden = false, example = "true") |
| | | private Boolean exception; |
| | | |
| | | |
| | | @Length(max=255) |
| | | @ApiModelProperty(value = "走访内容根据重点人员类型输入项不同,录入全部的表单内容数据", hidden = false, example = "") |
| | | private String tableContentJson; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "创建人", hidden = false, example = "1") |
| | | private Long createBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "创建事件-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date createAtBegin; |
| | | @ApiModelProperty(value = "创建事件-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAtEnd; |
| | | |
| | | |
| | | @Max(9223372036854775807L) |
| | | @ApiModelProperty(value = "修改人", hidden = false, example = "1") |
| | | private Long updateBy; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @ApiModelProperty(value = "修改时间-开始时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | private Date updateAtBegin; |
| | | @ApiModelProperty(value = "修改时间-结束时间", hidden = false, example = "2021-05-01 18:05:50") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAtEnd; |
| | | |
| | | |
| | | @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") |
| | | private Long userId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("APP应用版本信息详细返回参数") |
| | | public class EventApplicationAppReleaseDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "应用ID") |
| | | private Integer productId; |
| | | |
| | | @ApiModelProperty(value = "应用名称") |
| | | private String productName; |
| | | |
| | | @ApiModelProperty(value = "版本编号") |
| | | private String releaseNumber; |
| | | |
| | | @ApiModelProperty(value = "通知行为(1、强制更新2、提示更新)") |
| | | private Integer action; |
| | | |
| | | @ApiModelProperty(value = "版本地址") |
| | | private String url; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("APP应用版本信息返回参数") |
| | | public class EventApplicationAppReleaseVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "应用ID") |
| | | private Integer productId; |
| | | |
| | | @ApiModelProperty(value = "应用名称") |
| | | private String productName; |
| | | |
| | | @ApiModelProperty(value = "版本编号") |
| | | private String releaseNumber; |
| | | |
| | | @ApiModelProperty(value = "通知行为(1、强制更新2、提示更新)") |
| | | private Integer action; |
| | | |
| | | @ApiModelProperty(value = "版本地址") |
| | | private String url; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("用户协议和隐私政策信息详细返回参数") |
| | | public class EventApplicationUserNoticeDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "应用ID") |
| | | private Integer productId; |
| | | |
| | | @ApiModelProperty(value = "应用名称") |
| | | private String productName; |
| | | |
| | | @ApiModelProperty(value = "通知行为(1、强制通知必须手段确定2、提示更新,自动消退)") |
| | | private Integer action; |
| | | |
| | | @ApiModelProperty(value = "内容") |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("用户协议和隐私政策信息返回参数") |
| | | public class EventApplicationUserNoticeVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "应用ID") |
| | | private Integer productId; |
| | | |
| | | @ApiModelProperty(value = "应用名称") |
| | | private String productName; |
| | | |
| | | @ApiModelProperty(value = "通知行为(1、强制通知必须手段确定2、提示更新,自动消退)") |
| | | private Integer action; |
| | | |
| | | @ApiModelProperty(value = "内容") |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("事件详细返回参数") |
| | | public class EventDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "服务单号") |
| | | private String orderSn; |
| | | |
| | | @ApiModelProperty(value = "1、办件事件2是宣传事件3是阅读事件") |
| | | private Long eventCategory; |
| | | |
| | | @ApiModelProperty(value = "网格员所处的街道") |
| | | private Long gridMemberStreet; |
| | | |
| | | @ApiModelProperty(value = "网格员所处社区") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @ApiModelProperty(value = "网格ID") |
| | | private Long gridId; |
| | | |
| | | @ApiModelProperty(value = "网格员") |
| | | private Long gridMemberId; |
| | | |
| | | @ApiModelProperty(value = "网格员名字") |
| | | private String gridMemberName; |
| | | |
| | | @ApiModelProperty(value = "网格员联系方式") |
| | | private String gridMemberTelephone; |
| | | |
| | | @ApiModelProperty(value = "事件标题") |
| | | private String eventTitle; |
| | | |
| | | @ApiModelProperty(value = "宣传类型") |
| | | private Integer propagandaType; |
| | | |
| | | @ApiModelProperty(value = "宣传时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date propagandaTime; |
| | | |
| | | @ApiModelProperty(value = "当event_type_category是1填写事件类型1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群信息上报") |
| | | private Integer eventType; |
| | | |
| | | @ApiModelProperty(value = "事件描述") |
| | | private String eventDes; |
| | | |
| | | @ApiModelProperty(value = "宣传对象") |
| | | private String propagandaObject; |
| | | |
| | | @ApiModelProperty(value = "宣传人数") |
| | | private String propagandaNum; |
| | | |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)") |
| | | private Integer communityProcess; |
| | | |
| | | @ApiModelProperty(value = "发生时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date happenTime; |
| | | |
| | | @ApiModelProperty(value = "发生地点") |
| | | private String happentAddress; |
| | | |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)") |
| | | private String happentLatLng; |
| | | |
| | | @ApiModelProperty(value = "事件状态(1草稿箱2发布3逻辑删除4、撤销)") |
| | | private Integer eventStatus; |
| | | |
| | | @ApiModelProperty(value = "1待处理2已解决3待验证") |
| | | private Integer eventProcessStatus; |
| | | |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)") |
| | | private Integer processType; |
| | | |
| | | @ApiModelProperty(value = "处理人ID") |
| | | private Long processUserId; |
| | | |
| | | @ApiModelProperty(value = "处理人名称") |
| | | private String processUserName; |
| | | |
| | | @ApiModelProperty(value = "处理时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date processDate; |
| | | |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述") |
| | | private String processDesc; |
| | | |
| | | @ApiModelProperty(value = "事件来源") |
| | | private String eventResource; |
| | | |
| | | @ApiModelProperty(value = "危险级别") |
| | | private Integer dangerLevel; |
| | | |
| | | @ApiModelProperty(value = "红牌") |
| | | private Boolean redCard; |
| | | |
| | | @ApiModelProperty(value = "黄牌") |
| | | private Boolean yellowCard; |
| | | |
| | | @ApiModelProperty(value = "是否有效") |
| | | private Boolean invalid; |
| | | |
| | | @ApiModelProperty(value = "是否重大") |
| | | private Boolean major; |
| | | |
| | | @ApiModelProperty(value = "死亡人数") |
| | | private Integer deathsNumber; |
| | | |
| | | @ApiModelProperty(value = "受伤人数") |
| | | private Integer injuriesNumber; |
| | | |
| | | @ApiModelProperty(value = "是否疑难事件") |
| | | private Boolean difficult; |
| | | |
| | | @ApiModelProperty(value = "是否紧急") |
| | | private Boolean urgent; |
| | | |
| | | @ApiModelProperty(value = "是否催办") |
| | | private Boolean urgentDell; |
| | | |
| | | @ApiModelProperty(value = "上报提交时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDate; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "修改人") |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("区县/街道/社区/网格员网格数据管理详细返回参数") |
| | | public class EventGridDataDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "类型,1、区县网格2街道网格3社区网格") |
| | | private Long type; |
| | | |
| | | @ApiModelProperty(value = "区/县ID") |
| | | private Long zoneId; |
| | | |
| | | @ApiModelProperty(value = "网格所属街道") |
| | | private Long gridStreetId; |
| | | |
| | | @ApiModelProperty(value = "网格所属社区ID") |
| | | private Long gridCommunityId; |
| | | |
| | | @ApiModelProperty(value = "网格名称") |
| | | private String gridName; |
| | | |
| | | @ApiModelProperty(value = "所属图层") |
| | | private Integer mapLevel; |
| | | |
| | | @ApiModelProperty(value = "面积") |
| | | private String area; |
| | | |
| | | @ApiModelProperty(value = "线条颜色") |
| | | private String lineColor; |
| | | |
| | | @ApiModelProperty(value = "线条宽度") |
| | | private String lineBroadband; |
| | | |
| | | @ApiModelProperty(value = "填充颜色") |
| | | private String fillColor; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | private String remarks; |
| | | |
| | | @ApiModelProperty(value = "围栏数据") |
| | | private String data; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "修改人") |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("区县/街道/社区/网格员网格数据管理返回参数") |
| | | public class EventGridDataVO { |
| | | |
| | | @ApiModelProperty(value = "主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "类型,1、区县网格2街道网格3社区网格") |
| | | private Long type; |
| | | |
| | | @ApiModelProperty(value = "区/县ID") |
| | | private Long zoneId; |
| | | |
| | | @ApiModelProperty(value = "网格所属街道") |
| | | private Long gridStreetId; |
| | | |
| | | @ApiModelProperty(value = "网格所属社区ID") |
| | | private Long gridCommunityId; |
| | | |
| | | @ApiModelProperty(value = "网格名称") |
| | | private String gridName; |
| | | |
| | | @ApiModelProperty(value = "所属图层") |
| | | private Integer mapLevel; |
| | | |
| | | @ApiModelProperty(value = "面积") |
| | | private String area; |
| | | |
| | | @ApiModelProperty(value = "线条颜色") |
| | | private String lineColor; |
| | | |
| | | @ApiModelProperty(value = "线条宽度") |
| | | private String lineBroadband; |
| | | |
| | | @ApiModelProperty(value = "填充颜色") |
| | | private String fillColor; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | private String remarks; |
| | | |
| | | @ApiModelProperty(value = "围栏数据") |
| | | private String data; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "修改人") |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("网格员定时上报地理信息详细返回参数") |
| | | public class EventGridMemberGpsLogDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格所属街道") |
| | | private Long gridStreetId; |
| | | |
| | | @ApiModelProperty(value = "网格所属社区ID") |
| | | private Long gridCommunityId; |
| | | |
| | | @ApiModelProperty(value = "网格ID") |
| | | private Long gridId; |
| | | |
| | | @ApiModelProperty(value = "网格名称") |
| | | private String gridName; |
| | | |
| | | @ApiModelProperty(value = "网格员ID") |
| | | private Long gridMemberId; |
| | | |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割") |
| | | private String lngLat; |
| | | |
| | | @ApiModelProperty(value = "位置信息状态(1、为判定2、正常3、是不正常)") |
| | | private Integer positionStation; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("网格员定时上报地理信息返回参数") |
| | | public class EventGridMemberGpsLogVO { |
| | | |
| | | @ApiModelProperty(value = "主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格所属街道") |
| | | private Long gridStreetId; |
| | | |
| | | @ApiModelProperty(value = "网格所属社区ID") |
| | | private Long gridCommunityId; |
| | | |
| | | @ApiModelProperty(value = "网格ID") |
| | | private Long gridId; |
| | | |
| | | @ApiModelProperty(value = "网格名称") |
| | | private String gridName; |
| | | |
| | | @ApiModelProperty(value = "网格员ID") |
| | | private Long gridMemberId; |
| | | |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割") |
| | | private String lngLat; |
| | | |
| | | @ApiModelProperty(value = "位置信息状态(1、为判定2、正常3、是不正常)") |
| | | private Integer positionStation; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("网格和网格员的关联关系详细返回参数") |
| | | public class EventGridMemberRelationDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格所属街道") |
| | | private Long gridStreetId; |
| | | |
| | | @ApiModelProperty(value = "网格所属社区ID") |
| | | private Long gridCommunityId; |
| | | |
| | | @ApiModelProperty(value = "网格ID") |
| | | private Long gridId; |
| | | |
| | | @ApiModelProperty(value = "网格名称") |
| | | private String gridName; |
| | | |
| | | @ApiModelProperty(value = "网格员ID") |
| | | private Long gridMemberId; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("网格和网格员的关联关系返回参数") |
| | | public class EventGridMemberRelationVO { |
| | | |
| | | @ApiModelProperty(value = "主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格所属街道") |
| | | private Long gridStreetId; |
| | | |
| | | @ApiModelProperty(value = "网格所属社区ID") |
| | | private Long gridCommunityId; |
| | | |
| | | @ApiModelProperty(value = "网格ID") |
| | | private Long gridId; |
| | | |
| | | @ApiModelProperty(value = "网格名称") |
| | | private String gridName; |
| | | |
| | | @ApiModelProperty(value = "网格员ID") |
| | | private Long gridMemberId; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("网格员定时上报地理预警记录详细返回参数") |
| | | public class EventGridMemberWarnLogDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格所属街道") |
| | | private Long gridStreetId; |
| | | |
| | | @ApiModelProperty(value = "网格所属社区ID") |
| | | private Long gridCommunityId; |
| | | |
| | | @ApiModelProperty(value = "网格ID") |
| | | private Long gridId; |
| | | |
| | | @ApiModelProperty(value = "网格名称") |
| | | private String gridName; |
| | | |
| | | @ApiModelProperty(value = "网格员ID") |
| | | private Long gridMemberId; |
| | | |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割") |
| | | private String lngLat; |
| | | |
| | | @ApiModelProperty(value = "预警信息内容") |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("网格员定时上报地理预警记录返回参数") |
| | | public class EventGridMemberWarnLogVO { |
| | | |
| | | @ApiModelProperty(value = "主键ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格所属街道") |
| | | private Long gridStreetId; |
| | | |
| | | @ApiModelProperty(value = "网格所属社区ID") |
| | | private Long gridCommunityId; |
| | | |
| | | @ApiModelProperty(value = "网格ID") |
| | | private Long gridId; |
| | | |
| | | @ApiModelProperty(value = "网格名称") |
| | | private String gridName; |
| | | |
| | | @ApiModelProperty(value = "网格员ID") |
| | | private Long gridMemberId; |
| | | |
| | | @ApiModelProperty(value = "精度维度信息,逗号分割") |
| | | private String lngLat; |
| | | |
| | | @ApiModelProperty(value = "预警信息内容") |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("重点人群记录详细返回参数") |
| | | public class EventMainMemberDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格员所处的街道") |
| | | private Long gridMemberStreet; |
| | | |
| | | @ApiModelProperty(value = "网格员所处社区") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @ApiModelProperty(value = "网格员") |
| | | private Long gridMember; |
| | | |
| | | @ApiModelProperty(value = "网格员名字") |
| | | private String gridMemberName; |
| | | |
| | | @ApiModelProperty(value = "网格员联系方式") |
| | | private String gridMemberTele; |
| | | |
| | | @ApiModelProperty(value = "需走访人ID") |
| | | private Long visiterId; |
| | | |
| | | @ApiModelProperty(value = "需走访人名字") |
| | | private String visiterName; |
| | | |
| | | @ApiModelProperty(value = "需走访人员性别") |
| | | private Integer visiterSex; |
| | | |
| | | @ApiModelProperty(value = "需走访人电话") |
| | | private String visiterTele; |
| | | |
| | | @ApiModelProperty(value = "需走访人居住地址") |
| | | private String visiterAddress; |
| | | |
| | | @ApiModelProperty(value = "需走访人地址精度纬度信息(逗号隔开)") |
| | | private String visiterAddressLatLng; |
| | | |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员") |
| | | private Integer visiterType; |
| | | |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)") |
| | | private Integer actOpara; |
| | | |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)") |
| | | private Integer eventStatus; |
| | | |
| | | @ApiModelProperty(value = "上报状态") |
| | | private Integer reporting; |
| | | |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)") |
| | | private Integer dellType; |
| | | |
| | | @ApiModelProperty(value = "处理人ID") |
| | | private Long dellUserId; |
| | | |
| | | @ApiModelProperty(value = "处理人名称") |
| | | private String dellUserName; |
| | | |
| | | @ApiModelProperty(value = "处理时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date dellDate; |
| | | |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述") |
| | | private String dellDesc; |
| | | |
| | | @ApiModelProperty(value = "是否有效") |
| | | private Boolean invalid; |
| | | |
| | | @ApiModelProperty(value = "是否紧急") |
| | | private Boolean urgent; |
| | | |
| | | @ApiModelProperty(value = "是否催办") |
| | | private Boolean urgentDell; |
| | | |
| | | @ApiModelProperty(value = "上报提交时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDate; |
| | | |
| | | @ApiModelProperty(value = "走访频率配置,一个月几次") |
| | | private String visiterConfig; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建事件") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "修改人") |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("重点人群记录返回参数") |
| | | public class EventMainMemberVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格员所处的街道") |
| | | private Long gridMemberStreet; |
| | | |
| | | @ApiModelProperty(value = "网格员所处社区") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @ApiModelProperty(value = "网格员") |
| | | private Long gridMember; |
| | | |
| | | @ApiModelProperty(value = "网格员名字") |
| | | private String gridMemberName; |
| | | |
| | | @ApiModelProperty(value = "网格员联系方式") |
| | | private String gridMemberTele; |
| | | |
| | | @ApiModelProperty(value = "需走访人ID") |
| | | private Long visiterId; |
| | | |
| | | @ApiModelProperty(value = "需走访人名字") |
| | | private String visiterName; |
| | | |
| | | @ApiModelProperty(value = "需走访人员性别") |
| | | private Integer visiterSex; |
| | | |
| | | @ApiModelProperty(value = "需走访人电话") |
| | | private String visiterTele; |
| | | |
| | | @ApiModelProperty(value = "需走访人居住地址") |
| | | private String visiterAddress; |
| | | |
| | | @ApiModelProperty(value = "需走访人地址精度纬度信息(逗号隔开)") |
| | | private String visiterAddressLatLng; |
| | | |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员") |
| | | private Integer visiterType; |
| | | |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)") |
| | | private Integer actOpara; |
| | | |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)") |
| | | private Integer eventStatus; |
| | | |
| | | @ApiModelProperty(value = "上报状态") |
| | | private Integer reporting; |
| | | |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)") |
| | | private Integer dellType; |
| | | |
| | | @ApiModelProperty(value = "处理人ID") |
| | | private Long dellUserId; |
| | | |
| | | @ApiModelProperty(value = "处理人名称") |
| | | private String dellUserName; |
| | | |
| | | @ApiModelProperty(value = "处理时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date dellDate; |
| | | |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述") |
| | | private String dellDesc; |
| | | |
| | | @ApiModelProperty(value = "是否有效") |
| | | private Boolean invalid; |
| | | |
| | | @ApiModelProperty(value = "是否紧急") |
| | | private Boolean urgent; |
| | | |
| | | @ApiModelProperty(value = "是否催办") |
| | | private Boolean urgentDell; |
| | | |
| | | @ApiModelProperty(value = "上报提交时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDate; |
| | | |
| | | @ApiModelProperty(value = "走访频率配置,一个月几次") |
| | | private String visiterConfig; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建事件") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "修改人") |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("事件或者走访中关联的图片音频和视频文件详细返回参数") |
| | | public class EventResourceDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "分类(1、事件 2、走访)") |
| | | private Integer classification; |
| | | |
| | | @ApiModelProperty(value = "事件或者走访任务关联ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "事件上传的资源类型(1是图片2是音频3是是视频)") |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty(value = "资源名称") |
| | | private String resourceName; |
| | | |
| | | @ApiModelProperty(value = "资源大小") |
| | | private String resourceSize; |
| | | |
| | | @ApiModelProperty(value = "事件上传的资源URL地址") |
| | | private String url; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("事件或者走访中关联的图片音频和视频文件返回参数") |
| | | public class EventResourceVO { |
| | | |
| | | @ApiModelProperty(value = "分类(1、事件 2、走访)") |
| | | private Integer classification; |
| | | |
| | | @ApiModelProperty(value = "事件或者走访任务关联ID") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "事件上传的资源类型(1是图片2是音频3是是视频)") |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty(value = "资源名称") |
| | | private String resourceName; |
| | | |
| | | @ApiModelProperty(value = "资源大小") |
| | | private String resourceSize; |
| | | |
| | | @ApiModelProperty(value = "事件上传的资源URL地址") |
| | | private String url; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("事件处理流转记录详细返回参数") |
| | | public class EventTransferRecordDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "事件ID") |
| | | private Long eventId; |
| | | |
| | | @ApiModelProperty(value = "来源类型(1、网格员2、社区3、是街道)") |
| | | private Integer fromType; |
| | | |
| | | @ApiModelProperty(value = "事件来源机构或网格员") |
| | | private Long from; |
| | | |
| | | @ApiModelProperty(value = "转交办理人路径名称") |
| | | private String fromName; |
| | | |
| | | @ApiModelProperty(value = "转交类型(1、网格员2、社区3、是街道)") |
| | | private Integer toType; |
| | | |
| | | @ApiModelProperty(value = "事件下游机构或网格员") |
| | | private Long to; |
| | | |
| | | @ApiModelProperty(value = "需要办理人路径名称") |
| | | private String toName; |
| | | |
| | | @ApiModelProperty(value = "处理结果") |
| | | private String processResult; |
| | | |
| | | @ApiModelProperty(value = "处理时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date processDate; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("事件处理流转记录返回参数") |
| | | public class EventTransferRecordVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "事件ID") |
| | | private Long eventId; |
| | | |
| | | @ApiModelProperty(value = "来源类型(1、网格员2、社区3、是街道)") |
| | | private Integer fromType; |
| | | |
| | | @ApiModelProperty(value = "事件来源机构或网格员") |
| | | private Long from; |
| | | |
| | | @ApiModelProperty(value = "转交办理人路径名称") |
| | | private String fromName; |
| | | |
| | | @ApiModelProperty(value = "转交类型(1、网格员2、社区3、是街道)") |
| | | private Integer toType; |
| | | |
| | | @ApiModelProperty(value = "事件下游机构或网格员") |
| | | private Long to; |
| | | |
| | | @ApiModelProperty(value = "需要办理人路径名称") |
| | | private String toName; |
| | | |
| | | @ApiModelProperty(value = "处理结果") |
| | | private String processResult; |
| | | |
| | | @ApiModelProperty(value = "处理时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date processDate; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("事件返回参数") |
| | | public class EventVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "服务单号") |
| | | private String orderSn; |
| | | |
| | | @ApiModelProperty(value = "1、办件事件2是宣传事件3是阅读事件") |
| | | private Long eventCategory; |
| | | |
| | | @ApiModelProperty(value = "网格员所处的街道") |
| | | private Long gridMemberStreet; |
| | | |
| | | @ApiModelProperty(value = "网格员所处社区") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @ApiModelProperty(value = "网格ID") |
| | | private Long gridId; |
| | | |
| | | @ApiModelProperty(value = "网格员") |
| | | private Long gridMemberId; |
| | | |
| | | @ApiModelProperty(value = "网格员名字") |
| | | private String gridMemberName; |
| | | |
| | | @ApiModelProperty(value = "网格员联系方式") |
| | | private String gridMemberTelephone; |
| | | |
| | | @ApiModelProperty(value = "事件标题") |
| | | private String eventTitle; |
| | | |
| | | @ApiModelProperty(value = "宣传类型") |
| | | private Integer propagandaType; |
| | | |
| | | @ApiModelProperty(value = "宣传时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date propagandaTime; |
| | | |
| | | @ApiModelProperty(value = "当event_type_category是1填写事件类型1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群信息上报") |
| | | private Integer eventType; |
| | | |
| | | @ApiModelProperty(value = "事件描述") |
| | | private String eventDes; |
| | | |
| | | @ApiModelProperty(value = "宣传对象") |
| | | private String propagandaObject; |
| | | |
| | | @ApiModelProperty(value = "宣传人数") |
| | | private String propagandaNum; |
| | | |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)") |
| | | private Integer communityProcess; |
| | | |
| | | @ApiModelProperty(value = "发生时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date happenTime; |
| | | |
| | | @ApiModelProperty(value = "发生地点") |
| | | private String happentAddress; |
| | | |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)") |
| | | private String happentLatLng; |
| | | |
| | | @ApiModelProperty(value = "事件状态(1草稿箱2发布3逻辑删除4、撤销)") |
| | | private Integer eventStatus; |
| | | |
| | | @ApiModelProperty(value = "1待处理2已解决3待验证") |
| | | private Integer eventProcessStatus; |
| | | |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)") |
| | | private Integer processType; |
| | | |
| | | @ApiModelProperty(value = "处理人ID") |
| | | private Long processUserId; |
| | | |
| | | @ApiModelProperty(value = "处理人名称") |
| | | private String processUserName; |
| | | |
| | | @ApiModelProperty(value = "处理时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date processDate; |
| | | |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述") |
| | | private String processDesc; |
| | | |
| | | @ApiModelProperty(value = "事件来源") |
| | | private String eventResource; |
| | | |
| | | @ApiModelProperty(value = "危险级别") |
| | | private Integer dangerLevel; |
| | | |
| | | @ApiModelProperty(value = "红牌") |
| | | private Boolean redCard; |
| | | |
| | | @ApiModelProperty(value = "黄牌") |
| | | private Boolean yellowCard; |
| | | |
| | | @ApiModelProperty(value = "是否有效") |
| | | private Boolean invalid; |
| | | |
| | | @ApiModelProperty(value = "是否重大") |
| | | private Boolean major; |
| | | |
| | | @ApiModelProperty(value = "死亡人数") |
| | | private Integer deathsNumber; |
| | | |
| | | @ApiModelProperty(value = "受伤人数") |
| | | private Integer injuriesNumber; |
| | | |
| | | @ApiModelProperty(value = "是否疑难事件") |
| | | private Boolean difficult; |
| | | |
| | | @ApiModelProperty(value = "是否紧急") |
| | | private Boolean urgent; |
| | | |
| | | @ApiModelProperty(value = "是否催办") |
| | | private Boolean urgentDell; |
| | | |
| | | @ApiModelProperty(value = "上报提交时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDate; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "修改人") |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("重点人群走访记录详细返回参数") |
| | | public class EventVisitingTasksDetailsVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格员所处的街道") |
| | | private Long gridMemberStreet; |
| | | |
| | | @ApiModelProperty(value = "网格员所处社区") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @ApiModelProperty(value = "网格员") |
| | | private Long gridMember; |
| | | |
| | | @ApiModelProperty(value = "网格员名字") |
| | | private String gridMemberName; |
| | | |
| | | @ApiModelProperty(value = "网格员联系方式") |
| | | private String gridMenberTele; |
| | | |
| | | @ApiModelProperty(value = "需走访人ID") |
| | | private Long visiterId; |
| | | |
| | | @ApiModelProperty(value = "需走访人名字") |
| | | private String visiterName; |
| | | |
| | | @ApiModelProperty(value = "需走访人员性别") |
| | | private Integer visiterSex; |
| | | |
| | | @ApiModelProperty(value = "需走访人电话") |
| | | private String visiterTele; |
| | | |
| | | @ApiModelProperty(value = "需走访人居住地址") |
| | | private String visiterAddress; |
| | | |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员") |
| | | private Integer visiterType; |
| | | |
| | | @ApiModelProperty(value = "事件标题") |
| | | private String eventTitle; |
| | | |
| | | @ApiModelProperty(value = "事件类型") |
| | | private Integer eventType; |
| | | |
| | | @ApiModelProperty(value = "事件描述") |
| | | private String eventDes; |
| | | |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)") |
| | | private Integer actOpara; |
| | | |
| | | @ApiModelProperty(value = "发生时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date happenTime; |
| | | |
| | | @ApiModelProperty(value = "发生地点") |
| | | private String happentAddress; |
| | | |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)") |
| | | private String happentLatLng; |
| | | |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)") |
| | | private Integer eventStatus; |
| | | |
| | | @ApiModelProperty(value = "上报状态") |
| | | private Integer reporting; |
| | | |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)") |
| | | private Integer dellType; |
| | | |
| | | @ApiModelProperty(value = "处理人ID") |
| | | private Long dellUserId; |
| | | |
| | | @ApiModelProperty(value = "处理人名称") |
| | | private String dellUserName; |
| | | |
| | | @ApiModelProperty(value = "处理时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date dellDate; |
| | | |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述") |
| | | private String dellDesc; |
| | | |
| | | @ApiModelProperty(value = "是否有效") |
| | | private Boolean invalid; |
| | | |
| | | @ApiModelProperty(value = "是否紧急") |
| | | private Boolean urgent; |
| | | |
| | | @ApiModelProperty(value = "是否催办") |
| | | private Boolean urgentDell; |
| | | |
| | | @ApiModelProperty(value = "上报提交时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDate; |
| | | |
| | | @ApiModelProperty(value = "是否异常行为") |
| | | private Boolean exception; |
| | | |
| | | @ApiModelProperty(value = "走访内容根据重点人员类型输入项不同,录入全部的表单内容数据") |
| | | private String tableContentJson; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建事件") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "修改人") |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.grid; |
| | | |
| | | import java.util.*; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @ApiModel("重点人群走访记录返回参数") |
| | | public class EventVisitingTasksVO { |
| | | |
| | | @ApiModelProperty(value = "id") |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "网格员所处的街道") |
| | | private Long gridMemberStreet; |
| | | |
| | | @ApiModelProperty(value = "网格员所处社区") |
| | | private Long gridMemberCommunity; |
| | | |
| | | @ApiModelProperty(value = "网格员") |
| | | private Long gridMember; |
| | | |
| | | @ApiModelProperty(value = "网格员名字") |
| | | private String gridMemberName; |
| | | |
| | | @ApiModelProperty(value = "网格员联系方式") |
| | | private String gridMenberTele; |
| | | |
| | | @ApiModelProperty(value = "需走访人ID") |
| | | private Long visiterId; |
| | | |
| | | @ApiModelProperty(value = "需走访人名字") |
| | | private String visiterName; |
| | | |
| | | @ApiModelProperty(value = "需走访人员性别") |
| | | private Integer visiterSex; |
| | | |
| | | @ApiModelProperty(value = "需走访人电话") |
| | | private String visiterTele; |
| | | |
| | | @ApiModelProperty(value = "需走访人居住地址") |
| | | private String visiterAddress; |
| | | |
| | | @ApiModelProperty(value = "人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员") |
| | | private Integer visiterType; |
| | | |
| | | @ApiModelProperty(value = "事件标题") |
| | | private String eventTitle; |
| | | |
| | | @ApiModelProperty(value = "事件类型") |
| | | private Integer eventType; |
| | | |
| | | @ApiModelProperty(value = "事件描述") |
| | | private String eventDes; |
| | | |
| | | @ApiModelProperty(value = "社区处理(0是无需社区1是社区处理)") |
| | | private Integer actOpara; |
| | | |
| | | @ApiModelProperty(value = "发生时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date happenTime; |
| | | |
| | | @ApiModelProperty(value = "发生地点") |
| | | private String happentAddress; |
| | | |
| | | @ApiModelProperty(value = "发生的精度纬度信息(逗号隔开)") |
| | | private String happentLatLng; |
| | | |
| | | @ApiModelProperty(value = "事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常)") |
| | | private Integer eventStatus; |
| | | |
| | | @ApiModelProperty(value = "上报状态") |
| | | private Integer reporting; |
| | | |
| | | @ApiModelProperty(value = "当前处理对象类型(1、网格员2、社区3、是街道)") |
| | | private Integer dellType; |
| | | |
| | | @ApiModelProperty(value = "处理人ID") |
| | | private Long dellUserId; |
| | | |
| | | @ApiModelProperty(value = "处理人名称") |
| | | private String dellUserName; |
| | | |
| | | @ApiModelProperty(value = "处理时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date dellDate; |
| | | |
| | | @ApiModelProperty(value = "解决人针对解决事件的处理描述") |
| | | private String dellDesc; |
| | | |
| | | @ApiModelProperty(value = "是否有效") |
| | | private Boolean invalid; |
| | | |
| | | @ApiModelProperty(value = "是否紧急") |
| | | private Boolean urgent; |
| | | |
| | | @ApiModelProperty(value = "是否催办") |
| | | private Boolean urgentDell; |
| | | |
| | | @ApiModelProperty(value = "上报提交时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date submitDate; |
| | | |
| | | @ApiModelProperty(value = "是否异常行为") |
| | | private Boolean exception; |
| | | |
| | | @ApiModelProperty(value = "走访内容根据重点人员类型输入项不同,录入全部的表单内容数据") |
| | | private String tableContentJson; |
| | | |
| | | @ApiModelProperty(value = "创建人") |
| | | private Long createBy; |
| | | |
| | | @ApiModelProperty(value = "创建事件") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createAt; |
| | | |
| | | @ApiModelProperty(value = "修改人") |
| | | private Long updateBy; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.service.grid; |
| | | |
| | | import com.panzhihua.common.model.dtos.grid.*; |
| | | import com.panzhihua.common.model.vos.*; |
| | | import com.panzhihua.common.model.vos.grid.*; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @FeignClient(name = "grid") |
| | | public interface GridService { |
| | | |
| | | /** |
| | | * 新增事件 |
| | | * @param eventAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/event/add") |
| | | R add(@RequestBody EventAddDTO eventAddDTO); |
| | | |
| | | /** |
| | | * 修改事件 |
| | | * @param eventEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/event/edit") |
| | | R edit(@RequestBody EventEditDTO eventEditDTO); |
| | | |
| | | /** |
| | | * 分页查找事件 |
| | | * @param pageEventDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/event/page") |
| | | R query(@RequestBody PageEventDTO pageEventDTO); |
| | | |
| | | /** |
| | | * 删除事件 |
| | | * @param eventDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/event/delete") |
| | | R delete(@RequestBody EventDeleteDTO eventDeleteDTO); |
| | | |
| | | /** |
| | | * 查询事件详细信息 |
| | | * @param id 事件 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/event/{id}") |
| | | R<EventDetailsVO> eventDetails(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 新增网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberrelation/add") |
| | | R add(@RequestBody EventGridMemberRelationAddDTO eventGridMemberRelationAddDTO); |
| | | |
| | | /** |
| | | * 修改网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberrelation/edit") |
| | | R edit(@RequestBody EventGridMemberRelationEditDTO eventGridMemberRelationEditDTO); |
| | | |
| | | /** |
| | | * 分页查找网格和网格员的关联关系 |
| | | * @param pageEventGridMemberRelationDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberrelation/page") |
| | | R query(@RequestBody PageEventGridMemberRelationDTO pageEventGridMemberRelationDTO); |
| | | |
| | | /** |
| | | * 删除网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventgridmemberrelation/delete") |
| | | R delete(@RequestBody EventGridMemberRelationDeleteDTO eventGridMemberRelationDeleteDTO); |
| | | |
| | | /** |
| | | * 查询网格和网格员的关联关系详细信息 |
| | | * @param id 网格和网格员的关联关系 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberrelation/{id}") |
| | | R<EventGridMemberRelationDetailsVO> eventGridMemberRelationDetails(@PathVariable("id") Long id); |
| | | |
| | | |
| | | /** |
| | | * 新增网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberwarnlog/add") |
| | | R add(@RequestBody EventGridMemberWarnLogAddDTO eventGridMemberWarnLogAddDTO); |
| | | |
| | | /** |
| | | * 修改网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberwarnlog/edit") |
| | | R edit(@RequestBody EventGridMemberWarnLogEditDTO eventGridMemberWarnLogEditDTO); |
| | | |
| | | /** |
| | | * 分页查找网格员定时上报地理预警记录 |
| | | * @param pageEventGridMemberWarnLogDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberwarnlog/page") |
| | | R query(@RequestBody PageEventGridMemberWarnLogDTO pageEventGridMemberWarnLogDTO); |
| | | |
| | | /** |
| | | * 删除网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventgridmemberwarnlog/delete") |
| | | R delete(@RequestBody EventGridMemberWarnLogDeleteDTO eventGridMemberWarnLogDeleteDTO); |
| | | |
| | | /** |
| | | * 查询网格员定时上报地理预警记录详细信息 |
| | | * @param id 网格员定时上报地理预警记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventgridmemberwarnlog/{id}") |
| | | R<EventGridMemberWarnLogDetailsVO> eventGridMemberWarnLogDetails(@PathVariable("id") Long id); |
| | | |
| | | |
| | | /** |
| | | * 新增重点人群记录 |
| | | * @param eventMainMemberAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventmainmember/add") |
| | | R add(@RequestBody EventMainMemberAddDTO eventMainMemberAddDTO); |
| | | |
| | | /** |
| | | * 修改重点人群记录 |
| | | * @param eventMainMemberEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventmainmember/edit") |
| | | R edit(@RequestBody EventMainMemberEditDTO eventMainMemberEditDTO); |
| | | |
| | | /** |
| | | * 分页查找重点人群记录 |
| | | * @param pageEventMainMemberDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventmainmember/page") |
| | | R query(@RequestBody PageEventMainMemberDTO pageEventMainMemberDTO); |
| | | |
| | | /** |
| | | * 删除重点人群记录 |
| | | * @param eventMainMemberDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventmainmember/delete") |
| | | R delete(@RequestBody EventMainMemberDeleteDTO eventMainMemberDeleteDTO); |
| | | |
| | | /** |
| | | * 查询重点人群记录详细信息 |
| | | * @param id 重点人群记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventmainmember/{id}") |
| | | R<EventMainMemberDetailsVO> eventMainMemberDetails(@PathVariable("id") Long id); |
| | | |
| | | |
| | | /** |
| | | * 新增事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventresource/add") |
| | | R add(@RequestBody EventResourceAddDTO eventResourceAddDTO); |
| | | |
| | | /** |
| | | * 修改事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventresource/edit") |
| | | R edit(@RequestBody EventResourceEditDTO eventResourceEditDTO); |
| | | |
| | | /** |
| | | * 分页查找事件或者走访中关联的图片音频和视频文件 |
| | | * @param pageEventResourceDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventresource/page") |
| | | R query(@RequestBody PageEventResourceDTO pageEventResourceDTO); |
| | | |
| | | /** |
| | | * 删除事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventresource/delete") |
| | | R delete(@RequestBody EventResourceDeleteDTO eventResourceDeleteDTO); |
| | | |
| | | /** |
| | | * 查询事件或者走访中关联的图片音频和视频文件详细信息 |
| | | * @param id 事件或者走访中关联的图片音频和视频文件 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventresource/{id}") |
| | | R<EventResourceDetailsVO> eventResourceDetails(@PathVariable("id") Long id); |
| | | |
| | | |
| | | /** |
| | | * 新增事件处理流转记录 |
| | | * @param eventTransferRecordAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventtransferrecord/add") |
| | | R add(@RequestBody EventTransferRecordAddDTO eventTransferRecordAddDTO); |
| | | |
| | | /** |
| | | * 修改事件处理流转记录 |
| | | * @param eventTransferRecordEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventtransferrecord/edit") |
| | | R edit(@RequestBody EventTransferRecordEditDTO eventTransferRecordEditDTO); |
| | | |
| | | /** |
| | | * 分页查找事件处理流转记录 |
| | | * @param pageEventTransferRecordDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventtransferrecord/page") |
| | | R query(@RequestBody PageEventTransferRecordDTO pageEventTransferRecordDTO); |
| | | |
| | | /** |
| | | * 删除事件处理流转记录 |
| | | * @param eventTransferRecordDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventtransferrecord/delete") |
| | | R delete(@RequestBody EventTransferRecordDeleteDTO eventTransferRecordDeleteDTO); |
| | | |
| | | /** |
| | | * 查询事件处理流转记录详细信息 |
| | | * @param id 事件处理流转记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventtransferrecord/{id}") |
| | | R<EventTransferRecordDetailsVO> eventTransferRecordDetails(@PathVariable("id") Long id); |
| | | |
| | | |
| | | /** |
| | | * 新增重点人群走访记录 |
| | | * @param eventVisitingTasksAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/add") |
| | | R add(@RequestBody EventVisitingTasksAddDTO eventVisitingTasksAddDTO); |
| | | |
| | | /** |
| | | * 修改重点人群走访记录 |
| | | * @param eventVisitingTasksEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/edit") |
| | | R edit(@RequestBody EventVisitingTasksEditDTO eventVisitingTasksEditDTO); |
| | | |
| | | /** |
| | | * 分页查找重点人群走访记录 |
| | | * @param pageEventVisitingTasksDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/page") |
| | | R query(@RequestBody PageEventVisitingTasksDTO pageEventVisitingTasksDTO); |
| | | |
| | | /** |
| | | * 删除重点人群走访记录 |
| | | * @param eventVisitingTasksDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/delete") |
| | | R delete(@RequestBody EventVisitingTasksDeleteDTO eventVisitingTasksDeleteDTO); |
| | | |
| | | /** |
| | | * 查询重点人群走访记录详细信息 |
| | | * @param id 重点人群走访记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventvisitingtasks/{id}") |
| | | R<EventVisitingTasksDetailsVO> eventVisitingTasksDetails(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 新增APP应用版本信息 |
| | | * @param eventApplicationAppReleaseAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventapplicationapprelease/add") |
| | | R add(@RequestBody EventApplicationAppReleaseAddDTO eventApplicationAppReleaseAddDTO); |
| | | |
| | | /** |
| | | * 修改APP应用版本信息 |
| | | * @param eventApplicationAppReleaseEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventapplicationapprelease/edit") |
| | | R edit(@RequestBody EventApplicationAppReleaseEditDTO eventApplicationAppReleaseEditDTO); |
| | | |
| | | /** |
| | | * 分页查找APP应用版本信息 |
| | | * @param pageEventApplicationAppReleaseDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventapplicationapprelease/page") |
| | | R query(@RequestBody PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO); |
| | | |
| | | /** |
| | | * 删除APP应用版本信息 |
| | | * @param eventApplicationAppReleaseDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventapplicationapprelease/delete") |
| | | R delete(@RequestBody EventApplicationAppReleaseDeleteDTO eventApplicationAppReleaseDeleteDTO); |
| | | |
| | | /** |
| | | * 查询APP应用版本信息详细信息 |
| | | * @param id APP应用版本信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventapplicationapprelease/{id}") |
| | | R<EventApplicationAppReleaseDetailsVO> eventApplicationAppReleaseDetails(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 新增用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventapplicationusernotice/add") |
| | | R add(@RequestBody EventApplicationUserNoticeAddDTO eventApplicationUserNoticeAddDTO); |
| | | |
| | | /** |
| | | * 修改用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventapplicationusernotice/edit") |
| | | R edit(@RequestBody EventApplicationUserNoticeEditDTO eventApplicationUserNoticeEditDTO); |
| | | |
| | | /** |
| | | * 分页查找用户协议和隐私政策信息 |
| | | * @param pageEventApplicationUserNoticeDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventapplicationusernotice/page") |
| | | R query(@RequestBody PageEventApplicationUserNoticeDTO pageEventApplicationUserNoticeDTO); |
| | | |
| | | /** |
| | | * 删除用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventapplicationusernotice/delete") |
| | | R delete(@RequestBody EventApplicationUserNoticeDeleteDTO eventApplicationUserNoticeDeleteDTO); |
| | | |
| | | /** |
| | | * 查询用户协议和隐私政策信息详细信息 |
| | | * @param id 用户协议和隐私政策信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventapplicationusernotice/{id}") |
| | | R<EventApplicationUserNoticeDetailsVO> eventApplicationUserNoticeDetails(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 新增区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventgriddata/add") |
| | | R add(@RequestBody EventGridDataAddDTO eventGridDataAddDTO); |
| | | |
| | | /** |
| | | * 修改区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventgriddata/edit") |
| | | R edit(@RequestBody EventGridDataEditDTO eventGridDataEditDTO); |
| | | |
| | | /** |
| | | * 分页查找区县/街道/社区/网格员网格数据管理 |
| | | * @param pageEventGridDataDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventgriddata/page") |
| | | R query(@RequestBody PageEventGridDataDTO pageEventGridDataDTO); |
| | | |
| | | /** |
| | | * 删除区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventgriddata/delete") |
| | | R delete(@RequestBody EventGridDataDeleteDTO eventGridDataDeleteDTO); |
| | | |
| | | /** |
| | | * 查询区县/街道/社区/网格员网格数据管理详细信息 |
| | | * @param id 区县/街道/社区/网格员网格数据管理 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventgriddata/{id}") |
| | | R<EventGridDataDetailsVO> eventGridDataDetails(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 新增网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/eventgridmembergpslog/add") |
| | | R add(@RequestBody EventGridMemberGpsLogAddDTO eventGridMemberGpsLogAddDTO); |
| | | |
| | | /** |
| | | * 修改网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventgridmembergpslog/edit") |
| | | R edit(@RequestBody EventGridMemberGpsLogEditDTO eventGridMemberGpsLogEditDTO); |
| | | |
| | | /** |
| | | * 分页查找网格员定时上报地理信息 |
| | | * @param pageEventGridMemberGpsLogDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/eventgridmembergpslog/page") |
| | | R query(@RequestBody PageEventGridMemberGpsLogDTO pageEventGridMemberGpsLogDTO); |
| | | |
| | | /** |
| | | * 删除网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/eventgridmembergpslog/delete") |
| | | R delete(@RequestBody EventGridMemberGpsLogDeleteDTO eventGridMemberGpsLogDeleteDTO); |
| | | |
| | | /** |
| | | * 查询网格员定时上报地理信息详细信息 |
| | | * @param id 网格员定时上报地理信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/eventgridmembergpslog/{id}") |
| | | R<EventGridMemberGpsLogDetailsVO> eventGridMemberGpsLogDetails(@PathVariable("id") Long id); |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventVO; |
| | | import com.panzhihua.service_grid.service.EventService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/event") |
| | | public class EventApi{ |
| | | |
| | | @Resource |
| | | private EventService eventService; |
| | | |
| | | /** |
| | | * 新增事件 |
| | | * @param eventAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventAddDTO eventAddDTO){ |
| | | return eventService.add(eventAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改事件 |
| | | * @param eventEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventEditDTO eventEditDTO){ |
| | | return eventService.edit(eventEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找事件 |
| | | * @param pageEventDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventVO>> query(@RequestBody PageEventDTO pageEventDTO){ |
| | | return eventService.query(pageEventDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除事件 |
| | | * @param EventDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventDeleteDTO EventDeleteDTO){ |
| | | return eventService.delete(EventDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询事件详细信息 |
| | | * @param id 事件 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventDetailsVO> eventDetails(@PathVariable("id") Long id){ |
| | | return eventService.eventDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventApplicationAppReleaseDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseVO; |
| | | import com.panzhihua.service_grid.service.EventApplicationAppReleaseService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventapplicationapprelease") |
| | | public class EventApplicationAppReleaseApi{ |
| | | |
| | | @Resource |
| | | private EventApplicationAppReleaseService eventApplicationAppReleaseService; |
| | | |
| | | /** |
| | | * 新增APP应用版本信息 |
| | | * @param eventApplicationAppReleaseAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventApplicationAppReleaseAddDTO eventApplicationAppReleaseAddDTO){ |
| | | return eventApplicationAppReleaseService.add(eventApplicationAppReleaseAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改APP应用版本信息 |
| | | * @param eventApplicationAppReleaseEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventApplicationAppReleaseEditDTO eventApplicationAppReleaseEditDTO){ |
| | | return eventApplicationAppReleaseService.edit(eventApplicationAppReleaseEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找APP应用版本信息 |
| | | * @param pageEventApplicationAppReleaseDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventApplicationAppReleaseVO>> query(@RequestBody PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO){ |
| | | return eventApplicationAppReleaseService.query(pageEventApplicationAppReleaseDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除APP应用版本信息 |
| | | * @param EventApplicationAppReleaseDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventApplicationAppReleaseDeleteDTO EventApplicationAppReleaseDeleteDTO){ |
| | | return eventApplicationAppReleaseService.delete(EventApplicationAppReleaseDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询APP应用版本信息详细信息 |
| | | * @param id APP应用版本信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventApplicationAppReleaseDetailsVO> eventApplicationAppReleaseDetails(@PathVariable("id") Long id){ |
| | | return eventApplicationAppReleaseService.eventApplicationAppReleaseDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventApplicationUserNoticeDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationUserNoticeDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationUserNoticeVO; |
| | | import com.panzhihua.service_grid.service.EventApplicationUserNoticeService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventapplicationusernotice") |
| | | public class EventApplicationUserNoticeApi{ |
| | | |
| | | @Resource |
| | | private EventApplicationUserNoticeService eventApplicationUserNoticeService; |
| | | |
| | | /** |
| | | * 新增用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventApplicationUserNoticeAddDTO eventApplicationUserNoticeAddDTO){ |
| | | return eventApplicationUserNoticeService.add(eventApplicationUserNoticeAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventApplicationUserNoticeEditDTO eventApplicationUserNoticeEditDTO){ |
| | | return eventApplicationUserNoticeService.edit(eventApplicationUserNoticeEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找用户协议和隐私政策信息 |
| | | * @param pageEventApplicationUserNoticeDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventApplicationUserNoticeVO>> query(@RequestBody PageEventApplicationUserNoticeDTO pageEventApplicationUserNoticeDTO){ |
| | | return eventApplicationUserNoticeService.query(pageEventApplicationUserNoticeDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除用户协议和隐私政策信息 |
| | | * @param EventApplicationUserNoticeDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventApplicationUserNoticeDeleteDTO EventApplicationUserNoticeDeleteDTO){ |
| | | return eventApplicationUserNoticeService.delete(EventApplicationUserNoticeDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询用户协议和隐私政策信息详细信息 |
| | | * @param id 用户协议和隐私政策信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventApplicationUserNoticeDetailsVO> eventApplicationUserNoticeDetails(@PathVariable("id") Long id){ |
| | | return eventApplicationUserNoticeService.eventApplicationUserNoticeDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridDataDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataVO; |
| | | import com.panzhihua.service_grid.service.EventGridDataService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventgriddata") |
| | | public class EventGridDataApi{ |
| | | |
| | | @Resource |
| | | private EventGridDataService eventGridDataService; |
| | | |
| | | /** |
| | | * 新增区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventGridDataAddDTO eventGridDataAddDTO){ |
| | | return eventGridDataService.add(eventGridDataAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventGridDataEditDTO eventGridDataEditDTO){ |
| | | return eventGridDataService.edit(eventGridDataEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找区县/街道/社区/网格员网格数据管理 |
| | | * @param pageEventGridDataDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventGridDataVO>> query(@RequestBody PageEventGridDataDTO pageEventGridDataDTO){ |
| | | return eventGridDataService.query(pageEventGridDataDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除区县/街道/社区/网格员网格数据管理 |
| | | * @param EventGridDataDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventGridDataDeleteDTO EventGridDataDeleteDTO){ |
| | | return eventGridDataService.delete(EventGridDataDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询区县/街道/社区/网格员网格数据管理详细信息 |
| | | * @param id 区县/街道/社区/网格员网格数据管理 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventGridDataDetailsVO> eventGridDataDetails(@PathVariable("id") Long id){ |
| | | return eventGridDataService.eventGridDataDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberGpsLogDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberGpsLogDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberGpsLogVO; |
| | | import com.panzhihua.service_grid.service.EventGridMemberGpsLogService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventgridmembergpslog") |
| | | public class EventGridMemberGpsLogApi{ |
| | | |
| | | @Resource |
| | | private EventGridMemberGpsLogService eventGridMemberGpsLogService; |
| | | |
| | | /** |
| | | * 新增网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventGridMemberGpsLogAddDTO eventGridMemberGpsLogAddDTO){ |
| | | return eventGridMemberGpsLogService.add(eventGridMemberGpsLogAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventGridMemberGpsLogEditDTO eventGridMemberGpsLogEditDTO){ |
| | | return eventGridMemberGpsLogService.edit(eventGridMemberGpsLogEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找网格员定时上报地理信息 |
| | | * @param pageEventGridMemberGpsLogDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventGridMemberGpsLogVO>> query(@RequestBody PageEventGridMemberGpsLogDTO pageEventGridMemberGpsLogDTO){ |
| | | return eventGridMemberGpsLogService.query(pageEventGridMemberGpsLogDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除网格员定时上报地理信息 |
| | | * @param EventGridMemberGpsLogDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventGridMemberGpsLogDeleteDTO EventGridMemberGpsLogDeleteDTO){ |
| | | return eventGridMemberGpsLogService.delete(EventGridMemberGpsLogDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询网格员定时上报地理信息详细信息 |
| | | * @param id 网格员定时上报地理信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventGridMemberGpsLogDetailsVO> eventGridMemberGpsLogDetails(@PathVariable("id") Long id){ |
| | | return eventGridMemberGpsLogService.eventGridMemberGpsLogDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberRelationDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationVO; |
| | | import com.panzhihua.service_grid.service.EventGridMemberRelationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventgridmemberrelation") |
| | | public class EventGridMemberRelationApi{ |
| | | |
| | | @Resource |
| | | private EventGridMemberRelationService eventGridMemberRelationService; |
| | | |
| | | /** |
| | | * 新增网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventGridMemberRelationAddDTO eventGridMemberRelationAddDTO){ |
| | | return eventGridMemberRelationService.add(eventGridMemberRelationAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventGridMemberRelationEditDTO eventGridMemberRelationEditDTO){ |
| | | return eventGridMemberRelationService.edit(eventGridMemberRelationEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找网格和网格员的关联关系 |
| | | * @param pageEventGridMemberRelationDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventGridMemberRelationVO>> query(@RequestBody PageEventGridMemberRelationDTO pageEventGridMemberRelationDTO){ |
| | | return eventGridMemberRelationService.query(pageEventGridMemberRelationDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除网格和网格员的关联关系 |
| | | * @param EventGridMemberRelationDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventGridMemberRelationDeleteDTO EventGridMemberRelationDeleteDTO){ |
| | | return eventGridMemberRelationService.delete(EventGridMemberRelationDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询网格和网格员的关联关系详细信息 |
| | | * @param id 网格和网格员的关联关系 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventGridMemberRelationDetailsVO> eventGridMemberRelationDetails(@PathVariable("id") Long id){ |
| | | return eventGridMemberRelationService.eventGridMemberRelationDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberWarnLogDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberWarnLogDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberWarnLogVO; |
| | | import com.panzhihua.service_grid.service.EventGridMemberWarnLogService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventgridmemberwarnlog") |
| | | public class EventGridMemberWarnLogApi{ |
| | | |
| | | @Resource |
| | | private EventGridMemberWarnLogService eventGridMemberWarnLogService; |
| | | |
| | | /** |
| | | * 新增网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventGridMemberWarnLogAddDTO eventGridMemberWarnLogAddDTO){ |
| | | return eventGridMemberWarnLogService.add(eventGridMemberWarnLogAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventGridMemberWarnLogEditDTO eventGridMemberWarnLogEditDTO){ |
| | | return eventGridMemberWarnLogService.edit(eventGridMemberWarnLogEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找网格员定时上报地理预警记录 |
| | | * @param pageEventGridMemberWarnLogDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventGridMemberWarnLogVO>> query(@RequestBody PageEventGridMemberWarnLogDTO pageEventGridMemberWarnLogDTO){ |
| | | return eventGridMemberWarnLogService.query(pageEventGridMemberWarnLogDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除网格员定时上报地理预警记录 |
| | | * @param EventGridMemberWarnLogDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventGridMemberWarnLogDeleteDTO EventGridMemberWarnLogDeleteDTO){ |
| | | return eventGridMemberWarnLogService.delete(EventGridMemberWarnLogDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询网格员定时上报地理预警记录详细信息 |
| | | * @param id 网格员定时上报地理预警记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventGridMemberWarnLogDetailsVO> eventGridMemberWarnLogDetails(@PathVariable("id") Long id){ |
| | | return eventGridMemberWarnLogService.eventGridMemberWarnLogDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventMainMemberDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventMainMemberDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventMainMemberVO; |
| | | import com.panzhihua.service_grid.service.EventMainMemberService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventmainmember") |
| | | public class EventMainMemberApi{ |
| | | |
| | | @Resource |
| | | private EventMainMemberService eventMainMemberService; |
| | | |
| | | /** |
| | | * 新增重点人群记录 |
| | | * @param eventMainMemberAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventMainMemberAddDTO eventMainMemberAddDTO){ |
| | | return eventMainMemberService.add(eventMainMemberAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改重点人群记录 |
| | | * @param eventMainMemberEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventMainMemberEditDTO eventMainMemberEditDTO){ |
| | | return eventMainMemberService.edit(eventMainMemberEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找重点人群记录 |
| | | * @param pageEventMainMemberDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventMainMemberVO>> query(@RequestBody PageEventMainMemberDTO pageEventMainMemberDTO){ |
| | | return eventMainMemberService.query(pageEventMainMemberDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除重点人群记录 |
| | | * @param EventMainMemberDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventMainMemberDeleteDTO EventMainMemberDeleteDTO){ |
| | | return eventMainMemberService.delete(EventMainMemberDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询重点人群记录详细信息 |
| | | * @param id 重点人群记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventMainMemberDetailsVO> eventMainMemberDetails(@PathVariable("id") Long id){ |
| | | return eventMainMemberService.eventMainMemberDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventResourceDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventResourceDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventResourceVO; |
| | | import com.panzhihua.service_grid.service.EventResourceService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventresource") |
| | | public class EventResourceApi{ |
| | | |
| | | @Resource |
| | | private EventResourceService eventResourceService; |
| | | |
| | | /** |
| | | * 新增事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventResourceAddDTO eventResourceAddDTO){ |
| | | return eventResourceService.add(eventResourceAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventResourceEditDTO eventResourceEditDTO){ |
| | | return eventResourceService.edit(eventResourceEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找事件或者走访中关联的图片音频和视频文件 |
| | | * @param pageEventResourceDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventResourceVO>> query(@RequestBody PageEventResourceDTO pageEventResourceDTO){ |
| | | return eventResourceService.query(pageEventResourceDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除事件或者走访中关联的图片音频和视频文件 |
| | | * @param EventResourceDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventResourceDeleteDTO EventResourceDeleteDTO){ |
| | | return eventResourceService.delete(EventResourceDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询事件或者走访中关联的图片音频和视频文件详细信息 |
| | | * @param id 事件或者走访中关联的图片音频和视频文件 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventResourceDetailsVO> eventResourceDetails(@PathVariable("id") Long id){ |
| | | return eventResourceService.eventResourceDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventTransferRecordDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventTransferRecordDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventTransferRecordVO; |
| | | import com.panzhihua.service_grid.service.EventTransferRecordService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventtransferrecord") |
| | | public class EventTransferRecordApi{ |
| | | |
| | | @Resource |
| | | private EventTransferRecordService eventTransferRecordService; |
| | | |
| | | /** |
| | | * 新增事件处理流转记录 |
| | | * @param eventTransferRecordAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventTransferRecordAddDTO eventTransferRecordAddDTO){ |
| | | return eventTransferRecordService.add(eventTransferRecordAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改事件处理流转记录 |
| | | * @param eventTransferRecordEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventTransferRecordEditDTO eventTransferRecordEditDTO){ |
| | | return eventTransferRecordService.edit(eventTransferRecordEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找事件处理流转记录 |
| | | * @param pageEventTransferRecordDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventTransferRecordVO>> query(@RequestBody PageEventTransferRecordDTO pageEventTransferRecordDTO){ |
| | | return eventTransferRecordService.query(pageEventTransferRecordDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除事件处理流转记录 |
| | | * @param EventTransferRecordDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventTransferRecordDeleteDTO EventTransferRecordDeleteDTO){ |
| | | return eventTransferRecordService.delete(EventTransferRecordDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询事件处理流转记录详细信息 |
| | | * @param id 事件处理流转记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventTransferRecordDetailsVO> eventTransferRecordDetails(@PathVariable("id") Long id){ |
| | | return eventTransferRecordService.eventTransferRecordDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventVisitingTasksDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventVisitingTasksDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventVisitingTasksVO; |
| | | import com.panzhihua.service_grid.service.EventVisitingTasksService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/eventvisitingtasks") |
| | | public class EventVisitingTasksApi{ |
| | | |
| | | @Resource |
| | | private EventVisitingTasksService eventVisitingTasksService; |
| | | |
| | | /** |
| | | * 新增重点人群走访记录 |
| | | * @param eventVisitingTasksAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventVisitingTasksAddDTO eventVisitingTasksAddDTO){ |
| | | return eventVisitingTasksService.add(eventVisitingTasksAddDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 修改重点人群走访记录 |
| | | * @param eventVisitingTasksEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventVisitingTasksEditDTO eventVisitingTasksEditDTO){ |
| | | return eventVisitingTasksService.edit(eventVisitingTasksEditDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 分页查找重点人群走访记录 |
| | | * @param pageEventVisitingTasksDTO |
| | | * @return 维护结果 |
| | | */ |
| | | @PostMapping("/page") |
| | | R<IPage<EventVisitingTasksVO>> query(@RequestBody PageEventVisitingTasksDTO pageEventVisitingTasksDTO){ |
| | | return eventVisitingTasksService.query(pageEventVisitingTasksDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 删除重点人群走访记录 |
| | | * @param EventVisitingTasksDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventVisitingTasksDeleteDTO EventVisitingTasksDeleteDTO){ |
| | | return eventVisitingTasksService.delete(EventVisitingTasksDeleteDTO); |
| | | }; |
| | | |
| | | /** |
| | | * 查询重点人群走访记录详细信息 |
| | | * @param id 重点人群走访记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | @PostMapping("/{id}") |
| | | R<EventVisitingTasksDetailsVO> eventVisitingTasksDetails(@PathVariable("id") Long id){ |
| | | return eventVisitingTasksService.eventVisitingTasksDetails(id); |
| | | }; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventApplicationAppReleaseDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventApplicationAppReleaseDO; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventApplicationAppReleaseMapper extends BaseMapper<EventApplicationAppReleaseDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventApplicationAppReleaseDTO |
| | | * @return |
| | | */ |
| | | IPage<EventApplicationAppReleaseVO> findByPage(Page page, @Param("pageEventApplicationAppReleaseDTO")PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventApplicationUserNoticeDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventApplicationUserNoticeDO; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationUserNoticeVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventApplicationUserNoticeMapper extends BaseMapper<EventApplicationUserNoticeDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventApplicationUserNoticeDTO |
| | | * @return |
| | | */ |
| | | IPage<EventApplicationUserNoticeVO> findByPage(Page page, @Param("pageEventApplicationUserNoticeDTO")PageEventApplicationUserNoticeDTO pageEventApplicationUserNoticeDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridDataDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventGridDataDO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventGridDataMapper extends BaseMapper<EventGridDataDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventGridDataDTO |
| | | * @return |
| | | */ |
| | | IPage<EventGridDataVO> findByPage(Page page, @Param("pageEventGridDataDTO")PageEventGridDataDTO pageEventGridDataDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberGpsLogDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventGridMemberGpsLogDO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberGpsLogVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventGridMemberGpsLogMapper extends BaseMapper<EventGridMemberGpsLogDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventGridMemberGpsLogDTO |
| | | * @return |
| | | */ |
| | | IPage<EventGridMemberGpsLogVO> findByPage(Page page, @Param("pageEventGridMemberGpsLogDTO")PageEventGridMemberGpsLogDTO pageEventGridMemberGpsLogDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberRelationDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventGridMemberRelationDO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventGridMemberRelationMapper extends BaseMapper<EventGridMemberRelationDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventGridMemberRelationDTO |
| | | * @return |
| | | */ |
| | | IPage<EventGridMemberRelationVO> findByPage(Page page, @Param("pageEventGridMemberRelationDTO")PageEventGridMemberRelationDTO pageEventGridMemberRelationDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberWarnLogDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventGridMemberWarnLogDO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberWarnLogVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventGridMemberWarnLogMapper extends BaseMapper<EventGridMemberWarnLogDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventGridMemberWarnLogDTO |
| | | * @return |
| | | */ |
| | | IPage<EventGridMemberWarnLogVO> findByPage(Page page, @Param("pageEventGridMemberWarnLogDTO")PageEventGridMemberWarnLogDTO pageEventGridMemberWarnLogDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventMainMemberDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventMainMemberDO; |
| | | import com.panzhihua.common.model.vos.grid.EventMainMemberVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventMainMemberMapper extends BaseMapper<EventMainMemberDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventMainMemberDTO |
| | | * @return |
| | | */ |
| | | IPage<EventMainMemberVO> findByPage(Page page, @Param("pageEventMainMemberDTO")PageEventMainMemberDTO pageEventMainMemberDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventDO; |
| | | import com.panzhihua.common.model.vos.grid.EventVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventMapper extends BaseMapper<EventDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventDTO |
| | | * @return |
| | | */ |
| | | IPage<EventVO> findByPage(Page page, @Param("pageEventDTO")PageEventDTO pageEventDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventResourceDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventResourceDO; |
| | | import com.panzhihua.common.model.vos.grid.EventResourceVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventResourceMapper extends BaseMapper<EventResourceDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventResourceDTO |
| | | * @return |
| | | */ |
| | | IPage<EventResourceVO> findByPage(Page page, @Param("pageEventResourceDTO")PageEventResourceDTO pageEventResourceDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventTransferRecordDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventTransferRecordDO; |
| | | import com.panzhihua.common.model.vos.grid.EventTransferRecordVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventTransferRecordMapper extends BaseMapper<EventTransferRecordDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventTransferRecordDTO |
| | | * @return |
| | | */ |
| | | IPage<EventTransferRecordVO> findByPage(Page page, @Param("pageEventTransferRecordDTO")PageEventTransferRecordDTO pageEventTransferRecordDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventVisitingTasksDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventVisitingTasksDO; |
| | | import com.panzhihua.common.model.vos.grid.EventVisitingTasksVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * DAO |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Mapper |
| | | public interface EventVisitingTasksMapper extends BaseMapper<EventVisitingTasksDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventVisitingTasksDTO |
| | | * @return |
| | | */ |
| | | IPage<EventVisitingTasksVO> findByPage(Page page, @Param("pageEventVisitingTasksDTO")PageEventVisitingTasksDTO pageEventVisitingTasksDTO); |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * APP应用版本信息实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_application_app_release") |
| | | public class EventApplicationAppReleaseDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * id 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 应用ID 列: product_id |
| | | */ |
| | | private Integer productId; |
| | | /** |
| | | * 应用名称 列: product_name |
| | | */ |
| | | private String productName; |
| | | /** |
| | | * 版本编号 列: release_number |
| | | */ |
| | | private String releaseNumber; |
| | | /** |
| | | * 通知行为(1、强制更新2、提示更新) 列: action |
| | | */ |
| | | private Integer action; |
| | | /** |
| | | * 版本地址 列: url |
| | | */ |
| | | private String url; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 用户协议和隐私政策信息实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_application_user_notice") |
| | | public class EventApplicationUserNoticeDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * id 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 应用ID 列: product_id |
| | | */ |
| | | private Integer productId; |
| | | /** |
| | | * 应用名称 列: product_name |
| | | */ |
| | | private String productName; |
| | | /** |
| | | * 通知行为(1、强制通知必须手段确定2、提示更新,自动消退) 列: action |
| | | */ |
| | | private Integer action; |
| | | /** |
| | | * 内容 列: content |
| | | */ |
| | | private String content; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 事件实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event") |
| | | public class EventDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * id 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 服务单号 列: order_sn |
| | | */ |
| | | private String orderSn; |
| | | /** |
| | | * 1、办件事件2是宣传事件3是阅读事件 列: event_category |
| | | */ |
| | | private Long eventCategory; |
| | | /** |
| | | * 网格员所处的街道 列: grid_member_street |
| | | */ |
| | | private Long gridMemberStreet; |
| | | /** |
| | | * 网格员所处社区 列: grid_member_community |
| | | */ |
| | | private Long gridMemberCommunity; |
| | | /** |
| | | * 网格ID 列: grid_id |
| | | */ |
| | | private Long gridId; |
| | | /** |
| | | * 网格员 列: grid_member_id |
| | | */ |
| | | private Long gridMemberId; |
| | | /** |
| | | * 网格员名字 列: grid_member_name |
| | | */ |
| | | private String gridMemberName; |
| | | /** |
| | | * 网格员联系方式 列: grid_member_telephone |
| | | */ |
| | | private String gridMemberTelephone; |
| | | /** |
| | | * 事件标题 列: event_title |
| | | */ |
| | | private String eventTitle; |
| | | /** |
| | | * 宣传类型 列: propaganda_type |
| | | */ |
| | | private Integer propagandaType; |
| | | /** |
| | | * 宣传时间 列: propaganda_time |
| | | */ |
| | | private Date propagandaTime; |
| | | /** |
| | | * 当event_type_category是1填写事件类型1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群信息上报 列: event_type |
| | | */ |
| | | private Integer eventType; |
| | | /** |
| | | * 事件描述 列: event_des |
| | | */ |
| | | private String eventDes; |
| | | /** |
| | | * 宣传对象 列: propaganda_object |
| | | */ |
| | | private String propagandaObject; |
| | | /** |
| | | * 宣传人数 列: propaganda_num |
| | | */ |
| | | private String propagandaNum; |
| | | /** |
| | | * 社区处理(0是无需社区1是社区处理) 列: community_process |
| | | */ |
| | | private Integer communityProcess; |
| | | /** |
| | | * 发生时间 列: happen_time |
| | | */ |
| | | private Date happenTime; |
| | | /** |
| | | * 发生地点 列: happent_address |
| | | */ |
| | | private String happentAddress; |
| | | /** |
| | | * 发生的精度纬度信息(逗号隔开) 列: happent_lat_lng |
| | | */ |
| | | private String happentLatLng; |
| | | /** |
| | | * 事件状态(1草稿箱2发布3逻辑删除4、撤销) 列: event_status |
| | | */ |
| | | private Integer eventStatus; |
| | | /** |
| | | * 1待处理2已解决3待验证 列: event_process_status |
| | | */ |
| | | private Integer eventProcessStatus; |
| | | /** |
| | | * 当前处理对象类型(1、网格员2、社区3、是街道) 列: process_type |
| | | */ |
| | | private Integer processType; |
| | | /** |
| | | * 处理人ID 列: process_user_id |
| | | */ |
| | | private Long processUserId; |
| | | /** |
| | | * 处理人名称 列: process_user_name |
| | | */ |
| | | private String processUserName; |
| | | /** |
| | | * 处理时间 列: process_date |
| | | */ |
| | | private Date processDate; |
| | | /** |
| | | * 解决人针对解决事件的处理描述 列: process_desc |
| | | */ |
| | | private String processDesc; |
| | | /** |
| | | * 事件来源 列: event_resource |
| | | */ |
| | | private String eventResource; |
| | | /** |
| | | * 危险级别 列: danger_level |
| | | */ |
| | | private Integer dangerLevel; |
| | | /** |
| | | * 红牌 列: red_card |
| | | */ |
| | | private Boolean redCard; |
| | | /** |
| | | * 黄牌 列: yellow_card |
| | | */ |
| | | private Boolean yellowCard; |
| | | /** |
| | | * 是否有效 列: invalid |
| | | */ |
| | | private Boolean invalid; |
| | | /** |
| | | * 是否重大 列: major |
| | | */ |
| | | private Boolean major; |
| | | /** |
| | | * 死亡人数 列: deaths_number |
| | | */ |
| | | private Integer deathsNumber; |
| | | /** |
| | | * 受伤人数 列: injuries_number |
| | | */ |
| | | private Integer injuriesNumber; |
| | | /** |
| | | * 是否疑难事件 列: difficult |
| | | */ |
| | | private Boolean difficult; |
| | | /** |
| | | * 是否紧急 列: urgent |
| | | */ |
| | | private Boolean urgent; |
| | | /** |
| | | * 是否催办 列: urgent_dell |
| | | */ |
| | | private Boolean urgentDell; |
| | | /** |
| | | * 上报提交时间 列: submit_date |
| | | */ |
| | | private Date submitDate; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | /** |
| | | * 修改人 列: update_by |
| | | */ |
| | | private Long updateBy; |
| | | /** |
| | | * 修改时间 列: update_at |
| | | */ |
| | | @TableField(fill = FieldFill.UPDATE) |
| | | private Date updateAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 区县/街道/社区/网格员网格数据管理实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_grid_data") |
| | | public class EventGridDataDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键ID 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 类型,1、区县网格2街道网格3社区网格 列: type |
| | | */ |
| | | private Long type; |
| | | /** |
| | | * 区/县ID 列: zone_id |
| | | */ |
| | | private Long zoneId; |
| | | /** |
| | | * 网格所属街道 列: grid_street_id |
| | | */ |
| | | private Long gridStreetId; |
| | | /** |
| | | * 网格所属社区ID 列: grid_community_id |
| | | */ |
| | | private Long gridCommunityId; |
| | | /** |
| | | * 网格名称 列: grid_name |
| | | */ |
| | | private String gridName; |
| | | /** |
| | | * 所属图层 列: map_level |
| | | */ |
| | | private Integer mapLevel; |
| | | /** |
| | | * 面积 列: area |
| | | */ |
| | | private String area; |
| | | /** |
| | | * 线条颜色 列: line_color |
| | | */ |
| | | private String lineColor; |
| | | /** |
| | | * 线条宽度 列: line_broadband |
| | | */ |
| | | private String lineBroadband; |
| | | /** |
| | | * 填充颜色 列: fill_color |
| | | */ |
| | | private String fillColor; |
| | | /** |
| | | * 备注 列: remarks |
| | | */ |
| | | private String remarks; |
| | | /** |
| | | * 围栏数据 列: data |
| | | */ |
| | | private String data; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | /** |
| | | * 修改人 列: update_by |
| | | */ |
| | | private Long updateBy; |
| | | /** |
| | | * 修改时间 列: update_at |
| | | */ |
| | | @TableField(fill = FieldFill.UPDATE) |
| | | private Date updateAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 网格员定时上报地理信息实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_grid_member_gps_log") |
| | | public class EventGridMemberGpsLogDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键ID 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 网格所属街道 列: grid_street_id |
| | | */ |
| | | private Long gridStreetId; |
| | | /** |
| | | * 网格所属社区ID 列: grid_community_id |
| | | */ |
| | | private Long gridCommunityId; |
| | | /** |
| | | * 网格ID 列: grid_id |
| | | */ |
| | | private Long gridId; |
| | | /** |
| | | * 网格名称 列: grid_name |
| | | */ |
| | | private String gridName; |
| | | /** |
| | | * 网格员ID 列: grid_member_id |
| | | */ |
| | | private Long gridMemberId; |
| | | /** |
| | | * 精度维度信息,逗号分割 列: lng_lat |
| | | */ |
| | | private String lngLat; |
| | | /** |
| | | * 位置信息状态(1、为判定2、正常3、是不正常) 列: position_station |
| | | */ |
| | | private Integer positionStation; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 网格和网格员的关联关系实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_grid_member_relation") |
| | | public class EventGridMemberRelationDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键ID 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 网格所属街道 列: grid_street_id |
| | | */ |
| | | private Long gridStreetId; |
| | | /** |
| | | * 网格所属社区ID 列: grid_community_id |
| | | */ |
| | | private Long gridCommunityId; |
| | | /** |
| | | * 网格ID 列: grid_id |
| | | */ |
| | | private Long gridId; |
| | | /** |
| | | * 网格名称 列: grid_name |
| | | */ |
| | | private String gridName; |
| | | /** |
| | | * 网格员ID 列: grid_member_id |
| | | */ |
| | | private Long gridMemberId; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 网格员定时上报地理预警记录实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_grid_member_warn_log") |
| | | public class EventGridMemberWarnLogDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键ID 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 网格所属街道 列: grid_street_id |
| | | */ |
| | | private Long gridStreetId; |
| | | /** |
| | | * 网格所属社区ID 列: grid_community_id |
| | | */ |
| | | private Long gridCommunityId; |
| | | /** |
| | | * 网格ID 列: grid_id |
| | | */ |
| | | private Long gridId; |
| | | /** |
| | | * 网格名称 列: grid_name |
| | | */ |
| | | private String gridName; |
| | | /** |
| | | * 网格员ID 列: grid_member_id |
| | | */ |
| | | private Long gridMemberId; |
| | | /** |
| | | * 精度维度信息,逗号分割 列: lng_lat |
| | | */ |
| | | private String lngLat; |
| | | /** |
| | | * 预警信息内容 列: content |
| | | */ |
| | | private String content; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 重点人群记录实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_main_member") |
| | | public class EventMainMemberDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * id 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 网格员所处的街道 列: grid_member_street |
| | | */ |
| | | private Long gridMemberStreet; |
| | | /** |
| | | * 网格员所处社区 列: grid_member_community |
| | | */ |
| | | private Long gridMemberCommunity; |
| | | /** |
| | | * 网格员 列: grid_member |
| | | */ |
| | | private Long gridMember; |
| | | /** |
| | | * 网格员名字 列: grid_member_name |
| | | */ |
| | | private String gridMemberName; |
| | | /** |
| | | * 网格员联系方式 列: grid_member_tele |
| | | */ |
| | | private String gridMemberTele; |
| | | /** |
| | | * 需走访人ID 列: visiter_id |
| | | */ |
| | | private Long visiterId; |
| | | /** |
| | | * 需走访人名字 列: visiter_name |
| | | */ |
| | | private String visiterName; |
| | | /** |
| | | * 需走访人员性别 列: visiter_sex |
| | | */ |
| | | private Integer visiterSex; |
| | | /** |
| | | * 需走访人电话 列: visiter_tele |
| | | */ |
| | | private String visiterTele; |
| | | /** |
| | | * 需走访人居住地址 列: visiter_address |
| | | */ |
| | | private String visiterAddress; |
| | | /** |
| | | * 需走访人地址精度纬度信息(逗号隔开) 列: visiter_address_lat_lng |
| | | */ |
| | | private String visiterAddressLatLng; |
| | | /** |
| | | * 人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员 列: visiter_type |
| | | */ |
| | | private Integer visiterType; |
| | | /** |
| | | * 社区处理(0是无需社区1是社区处理) 列: act_opara |
| | | */ |
| | | private Integer actOpara; |
| | | /** |
| | | * 事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常) 列: event_status |
| | | */ |
| | | private Integer eventStatus; |
| | | /** |
| | | * 上报状态 列: reporting |
| | | */ |
| | | private Integer reporting; |
| | | /** |
| | | * 当前处理对象类型(1、网格员2、社区3、是街道) 列: dell_type |
| | | */ |
| | | private Integer dellType; |
| | | /** |
| | | * 处理人ID 列: dell_user_id |
| | | */ |
| | | private Long dellUserId; |
| | | /** |
| | | * 处理人名称 列: dell_user_name |
| | | */ |
| | | private String dellUserName; |
| | | /** |
| | | * 处理时间 列: dell_date |
| | | */ |
| | | private Date dellDate; |
| | | /** |
| | | * 解决人针对解决事件的处理描述 列: dell_desc |
| | | */ |
| | | private String dellDesc; |
| | | /** |
| | | * 是否有效 列: invalid |
| | | */ |
| | | private Boolean invalid; |
| | | /** |
| | | * 是否紧急 列: urgent |
| | | */ |
| | | private Boolean urgent; |
| | | /** |
| | | * 是否催办 列: urgent_dell |
| | | */ |
| | | private Boolean urgentDell; |
| | | /** |
| | | * 上报提交时间 列: submit_date |
| | | */ |
| | | private Date submitDate; |
| | | /** |
| | | * 走访频率配置,一个月几次 列: visiter_config |
| | | */ |
| | | private String visiterConfig; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | /** |
| | | * 创建事件 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | /** |
| | | * 修改人 列: update_by |
| | | */ |
| | | private Long updateBy; |
| | | /** |
| | | * 修改时间 列: update_at |
| | | */ |
| | | @TableField(fill = FieldFill.UPDATE) |
| | | private Date updateAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 事件或者走访中关联的图片音频和视频文件实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_resource") |
| | | public class EventResourceDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 分类(1、事件 2、走访) 列: classification |
| | | */ |
| | | private Integer classification; |
| | | /** |
| | | * 事件或者走访任务关联ID 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 事件上传的资源类型(1是图片2是音频3是是视频) 列: type |
| | | */ |
| | | private Integer type; |
| | | /** |
| | | * 资源名称 列: resource_name |
| | | */ |
| | | private String resourceName; |
| | | /** |
| | | * 资源大小 列: resource_size |
| | | */ |
| | | private String resourceSize; |
| | | /** |
| | | * 事件上传的资源URL地址 列: url |
| | | */ |
| | | private String url; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 事件处理流转记录实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_transfer_record") |
| | | public class EventTransferRecordDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * id 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 事件ID 列: event_id |
| | | */ |
| | | private Long eventId; |
| | | /** |
| | | * 来源类型(1、网格员2、社区3、是街道) 列: from_type |
| | | */ |
| | | private Integer fromType; |
| | | /** |
| | | * 事件来源机构或网格员 列: from |
| | | */ |
| | | private Long from; |
| | | /** |
| | | * 转交办理人路径名称 列: from_name |
| | | */ |
| | | private String fromName; |
| | | /** |
| | | * 转交类型(1、网格员2、社区3、是街道) 列: to_type |
| | | */ |
| | | private Integer toType; |
| | | /** |
| | | * 事件下游机构或网格员 列: to |
| | | */ |
| | | private Long to; |
| | | /** |
| | | * 需要办理人路径名称 列: to_name |
| | | */ |
| | | private String toName; |
| | | /** |
| | | * 处理结果 列: process_result |
| | | */ |
| | | private String processResult; |
| | | /** |
| | | * 处理时间 列: process_date |
| | | */ |
| | | private Date processDate; |
| | | /** |
| | | * 创建时间 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.model.dos; |
| | | |
| | | import java.util.*; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 重点人群走访记录实体类 |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | @Data |
| | | @TableName("event_visiting_tasks") |
| | | public class EventVisitingTasksDO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * id 列: id |
| | | */ |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | /** |
| | | * 网格员所处的街道 列: grid_member_street |
| | | */ |
| | | private Long gridMemberStreet; |
| | | /** |
| | | * 网格员所处社区 列: grid_member_community |
| | | */ |
| | | private Long gridMemberCommunity; |
| | | /** |
| | | * 网格员 列: grid_member |
| | | */ |
| | | private Long gridMember; |
| | | /** |
| | | * 网格员名字 列: grid_member_name |
| | | */ |
| | | private String gridMemberName; |
| | | /** |
| | | * 网格员联系方式 列: grid_menber_tele |
| | | */ |
| | | private String gridMenberTele; |
| | | /** |
| | | * 需走访人ID 列: visiter_id |
| | | */ |
| | | private Long visiterId; |
| | | /** |
| | | * 需走访人名字 列: visiter_name |
| | | */ |
| | | private String visiterName; |
| | | /** |
| | | * 需走访人员性别 列: visiter_sex |
| | | */ |
| | | private Integer visiterSex; |
| | | /** |
| | | * 需走访人电话 列: visiter_tele |
| | | */ |
| | | private String visiterTele; |
| | | /** |
| | | * 需走访人居住地址 列: visiter_address |
| | | */ |
| | | private String visiterAddress; |
| | | /** |
| | | * 人员类型1吸毒2严重精神障碍3刑释人员4社区矫正人员 列: visiter_type |
| | | */ |
| | | private Integer visiterType; |
| | | /** |
| | | * 事件标题 列: event_title |
| | | */ |
| | | private String eventTitle; |
| | | /** |
| | | * 事件类型 列: event_type |
| | | */ |
| | | private Integer eventType; |
| | | /** |
| | | * 事件描述 列: event_des |
| | | */ |
| | | private String eventDes; |
| | | /** |
| | | * 社区处理(0是无需社区1是社区处理) 列: act_opara |
| | | */ |
| | | private Integer actOpara; |
| | | /** |
| | | * 发生时间 列: happen_time |
| | | */ |
| | | private Date happenTime; |
| | | /** |
| | | * 发生地点 列: happent_address |
| | | */ |
| | | private String happentAddress; |
| | | /** |
| | | * 发生的精度纬度信息(逗号隔开) 列: happent_lat_lng |
| | | */ |
| | | private String happentLatLng; |
| | | /** |
| | | * 事件状态(1待处理2自己已解决3待验证4草稿箱5已撤销6异常) 列: event_status |
| | | */ |
| | | private Integer eventStatus; |
| | | /** |
| | | * 上报状态 列: reporting |
| | | */ |
| | | private Integer reporting; |
| | | /** |
| | | * 当前处理对象类型(1、网格员2、社区3、是街道) 列: dell_type |
| | | */ |
| | | private Integer dellType; |
| | | /** |
| | | * 处理人ID 列: dell_user_id |
| | | */ |
| | | private Long dellUserId; |
| | | /** |
| | | * 处理人名称 列: dell_user_name |
| | | */ |
| | | private String dellUserName; |
| | | /** |
| | | * 处理时间 列: dell_date |
| | | */ |
| | | private Date dellDate; |
| | | /** |
| | | * 解决人针对解决事件的处理描述 列: dell_desc |
| | | */ |
| | | private String dellDesc; |
| | | /** |
| | | * 是否有效 列: invalid |
| | | */ |
| | | private Boolean invalid; |
| | | /** |
| | | * 是否紧急 列: urgent |
| | | */ |
| | | private Boolean urgent; |
| | | /** |
| | | * 是否催办 列: urgent_dell |
| | | */ |
| | | private Boolean urgentDell; |
| | | /** |
| | | * 上报提交时间 列: submit_date |
| | | */ |
| | | private Date submitDate; |
| | | /** |
| | | * 是否异常行为 列: exception |
| | | */ |
| | | private Boolean exception; |
| | | /** |
| | | * 走访内容根据重点人员类型输入项不同,录入全部的表单内容数据 列: table_content_json |
| | | */ |
| | | private String tableContentJson; |
| | | /** |
| | | * 创建人 列: create_by |
| | | */ |
| | | private Long createBy; |
| | | /** |
| | | * 创建事件 列: create_at |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | /** |
| | | * 修改人 列: update_by |
| | | */ |
| | | private Long updateBy; |
| | | /** |
| | | * 修改时间 列: update_at |
| | | */ |
| | | @TableField(fill = FieldFill.UPDATE) |
| | | private Date updateAt; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventApplicationAppReleaseDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseVO; |
| | | import com.panzhihua.service_grid.model.dos.EventApplicationAppReleaseDO; |
| | | |
| | | /** |
| | | * APP应用版本信息 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventApplicationAppReleaseService extends IService<EventApplicationAppReleaseDO> { |
| | | |
| | | /** |
| | | * 新增APP应用版本信息 |
| | | * @param eventApplicationAppReleaseAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventApplicationAppReleaseAddDTO eventApplicationAppReleaseAddDTO); |
| | | |
| | | /** |
| | | * 修改APP应用版本信息 |
| | | * @param eventApplicationAppReleaseEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventApplicationAppReleaseEditDTO eventApplicationAppReleaseEditDTO); |
| | | |
| | | /** |
| | | * 分页查找APP应用版本信息 |
| | | * @param pageEventApplicationAppReleaseDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventApplicationAppReleaseVO>> query(PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO); |
| | | |
| | | /** |
| | | * 删除APP应用版本信息 |
| | | * @param EventApplicationAppReleaseDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventApplicationAppReleaseDeleteDTO EventApplicationAppReleaseDeleteDTO); |
| | | |
| | | /** |
| | | * 查询APP应用版本信息详细信息 |
| | | * @param id APP应用版本信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventApplicationAppReleaseDetailsVO> eventApplicationAppReleaseDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventApplicationUserNoticeDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationUserNoticeDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationUserNoticeVO; |
| | | import com.panzhihua.service_grid.model.dos.EventApplicationUserNoticeDO; |
| | | |
| | | /** |
| | | * 用户协议和隐私政策信息 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventApplicationUserNoticeService extends IService<EventApplicationUserNoticeDO> { |
| | | |
| | | /** |
| | | * 新增用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventApplicationUserNoticeAddDTO eventApplicationUserNoticeAddDTO); |
| | | |
| | | /** |
| | | * 修改用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventApplicationUserNoticeEditDTO eventApplicationUserNoticeEditDTO); |
| | | |
| | | /** |
| | | * 分页查找用户协议和隐私政策信息 |
| | | * @param pageEventApplicationUserNoticeDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventApplicationUserNoticeVO>> query(PageEventApplicationUserNoticeDTO pageEventApplicationUserNoticeDTO); |
| | | |
| | | /** |
| | | * 删除用户协议和隐私政策信息 |
| | | * @param EventApplicationUserNoticeDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventApplicationUserNoticeDeleteDTO EventApplicationUserNoticeDeleteDTO); |
| | | |
| | | /** |
| | | * 查询用户协议和隐私政策信息详细信息 |
| | | * @param id 用户协议和隐私政策信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventApplicationUserNoticeDetailsVO> eventApplicationUserNoticeDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridDataDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataVO; |
| | | import com.panzhihua.service_grid.model.dos.EventGridDataDO; |
| | | |
| | | /** |
| | | * 区县/街道/社区/网格员网格数据管理 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventGridDataService extends IService<EventGridDataDO> { |
| | | |
| | | /** |
| | | * 新增区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventGridDataAddDTO eventGridDataAddDTO); |
| | | |
| | | /** |
| | | * 修改区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventGridDataEditDTO eventGridDataEditDTO); |
| | | |
| | | /** |
| | | * 分页查找区县/街道/社区/网格员网格数据管理 |
| | | * @param pageEventGridDataDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventGridDataVO>> query(PageEventGridDataDTO pageEventGridDataDTO); |
| | | |
| | | /** |
| | | * 删除区县/街道/社区/网格员网格数据管理 |
| | | * @param EventGridDataDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventGridDataDeleteDTO EventGridDataDeleteDTO); |
| | | |
| | | /** |
| | | * 查询区县/街道/社区/网格员网格数据管理详细信息 |
| | | * @param id 区县/街道/社区/网格员网格数据管理 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventGridDataDetailsVO> eventGridDataDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberGpsLogDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberGpsLogDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberGpsLogVO; |
| | | import com.panzhihua.service_grid.model.dos.EventGridMemberGpsLogDO; |
| | | |
| | | /** |
| | | * 网格员定时上报地理信息 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventGridMemberGpsLogService extends IService<EventGridMemberGpsLogDO> { |
| | | |
| | | /** |
| | | * 新增网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventGridMemberGpsLogAddDTO eventGridMemberGpsLogAddDTO); |
| | | |
| | | /** |
| | | * 修改网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventGridMemberGpsLogEditDTO eventGridMemberGpsLogEditDTO); |
| | | |
| | | /** |
| | | * 分页查找网格员定时上报地理信息 |
| | | * @param pageEventGridMemberGpsLogDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventGridMemberGpsLogVO>> query(PageEventGridMemberGpsLogDTO pageEventGridMemberGpsLogDTO); |
| | | |
| | | /** |
| | | * 删除网格员定时上报地理信息 |
| | | * @param EventGridMemberGpsLogDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventGridMemberGpsLogDeleteDTO EventGridMemberGpsLogDeleteDTO); |
| | | |
| | | /** |
| | | * 查询网格员定时上报地理信息详细信息 |
| | | * @param id 网格员定时上报地理信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventGridMemberGpsLogDetailsVO> eventGridMemberGpsLogDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberRelationDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationVO; |
| | | import com.panzhihua.service_grid.model.dos.EventGridMemberRelationDO; |
| | | |
| | | /** |
| | | * 网格和网格员的关联关系 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventGridMemberRelationService extends IService<EventGridMemberRelationDO> { |
| | | |
| | | /** |
| | | * 新增网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventGridMemberRelationAddDTO eventGridMemberRelationAddDTO); |
| | | |
| | | /** |
| | | * 修改网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventGridMemberRelationEditDTO eventGridMemberRelationEditDTO); |
| | | |
| | | /** |
| | | * 分页查找网格和网格员的关联关系 |
| | | * @param pageEventGridMemberRelationDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventGridMemberRelationVO>> query(PageEventGridMemberRelationDTO pageEventGridMemberRelationDTO); |
| | | |
| | | /** |
| | | * 删除网格和网格员的关联关系 |
| | | * @param EventGridMemberRelationDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventGridMemberRelationDeleteDTO EventGridMemberRelationDeleteDTO); |
| | | |
| | | /** |
| | | * 查询网格和网格员的关联关系详细信息 |
| | | * @param id 网格和网格员的关联关系 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventGridMemberRelationDetailsVO> eventGridMemberRelationDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberWarnLogDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberWarnLogDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberWarnLogVO; |
| | | import com.panzhihua.service_grid.model.dos.EventGridMemberWarnLogDO; |
| | | |
| | | /** |
| | | * 网格员定时上报地理预警记录 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventGridMemberWarnLogService extends IService<EventGridMemberWarnLogDO> { |
| | | |
| | | /** |
| | | * 新增网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventGridMemberWarnLogAddDTO eventGridMemberWarnLogAddDTO); |
| | | |
| | | /** |
| | | * 修改网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventGridMemberWarnLogEditDTO eventGridMemberWarnLogEditDTO); |
| | | |
| | | /** |
| | | * 分页查找网格员定时上报地理预警记录 |
| | | * @param pageEventGridMemberWarnLogDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventGridMemberWarnLogVO>> query(PageEventGridMemberWarnLogDTO pageEventGridMemberWarnLogDTO); |
| | | |
| | | /** |
| | | * 删除网格员定时上报地理预警记录 |
| | | * @param EventGridMemberWarnLogDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventGridMemberWarnLogDeleteDTO EventGridMemberWarnLogDeleteDTO); |
| | | |
| | | /** |
| | | * 查询网格员定时上报地理预警记录详细信息 |
| | | * @param id 网格员定时上报地理预警记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventGridMemberWarnLogDetailsVO> eventGridMemberWarnLogDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventMainMemberDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventMainMemberDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventMainMemberVO; |
| | | import com.panzhihua.service_grid.model.dos.EventMainMemberDO; |
| | | |
| | | /** |
| | | * 重点人群记录 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventMainMemberService extends IService<EventMainMemberDO> { |
| | | |
| | | /** |
| | | * 新增重点人群记录 |
| | | * @param eventMainMemberAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventMainMemberAddDTO eventMainMemberAddDTO); |
| | | |
| | | /** |
| | | * 修改重点人群记录 |
| | | * @param eventMainMemberEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventMainMemberEditDTO eventMainMemberEditDTO); |
| | | |
| | | /** |
| | | * 分页查找重点人群记录 |
| | | * @param pageEventMainMemberDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventMainMemberVO>> query(PageEventMainMemberDTO pageEventMainMemberDTO); |
| | | |
| | | /** |
| | | * 删除重点人群记录 |
| | | * @param EventMainMemberDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventMainMemberDeleteDTO EventMainMemberDeleteDTO); |
| | | |
| | | /** |
| | | * 查询重点人群记录详细信息 |
| | | * @param id 重点人群记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventMainMemberDetailsVO> eventMainMemberDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventResourceDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventResourceDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventResourceVO; |
| | | import com.panzhihua.service_grid.model.dos.EventResourceDO; |
| | | |
| | | /** |
| | | * 事件或者走访中关联的图片音频和视频文件 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventResourceService extends IService<EventResourceDO> { |
| | | |
| | | /** |
| | | * 新增事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventResourceAddDTO eventResourceAddDTO); |
| | | |
| | | /** |
| | | * 修改事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventResourceEditDTO eventResourceEditDTO); |
| | | |
| | | /** |
| | | * 分页查找事件或者走访中关联的图片音频和视频文件 |
| | | * @param pageEventResourceDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventResourceVO>> query(PageEventResourceDTO pageEventResourceDTO); |
| | | |
| | | /** |
| | | * 删除事件或者走访中关联的图片音频和视频文件 |
| | | * @param EventResourceDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventResourceDeleteDTO EventResourceDeleteDTO); |
| | | |
| | | /** |
| | | * 查询事件或者走访中关联的图片音频和视频文件详细信息 |
| | | * @param id 事件或者走访中关联的图片音频和视频文件 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventResourceDetailsVO> eventResourceDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventVO; |
| | | import com.panzhihua.service_grid.model.dos.EventDO; |
| | | |
| | | /** |
| | | * 事件 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventService extends IService<EventDO> { |
| | | |
| | | /** |
| | | * 新增事件 |
| | | * @param eventAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventAddDTO eventAddDTO); |
| | | |
| | | /** |
| | | * 修改事件 |
| | | * @param eventEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventEditDTO eventEditDTO); |
| | | |
| | | /** |
| | | * 分页查找事件 |
| | | * @param pageEventDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventVO>> query(PageEventDTO pageEventDTO); |
| | | |
| | | /** |
| | | * 删除事件 |
| | | * @param EventDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventDeleteDTO EventDeleteDTO); |
| | | |
| | | /** |
| | | * 查询事件详细信息 |
| | | * @param id 事件 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventDetailsVO> eventDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventTransferRecordDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventTransferRecordDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventTransferRecordVO; |
| | | import com.panzhihua.service_grid.model.dos.EventTransferRecordDO; |
| | | |
| | | /** |
| | | * 事件处理流转记录 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventTransferRecordService extends IService<EventTransferRecordDO> { |
| | | |
| | | /** |
| | | * 新增事件处理流转记录 |
| | | * @param eventTransferRecordAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventTransferRecordAddDTO eventTransferRecordAddDTO); |
| | | |
| | | /** |
| | | * 修改事件处理流转记录 |
| | | * @param eventTransferRecordEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventTransferRecordEditDTO eventTransferRecordEditDTO); |
| | | |
| | | /** |
| | | * 分页查找事件处理流转记录 |
| | | * @param pageEventTransferRecordDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventTransferRecordVO>> query(PageEventTransferRecordDTO pageEventTransferRecordDTO); |
| | | |
| | | /** |
| | | * 删除事件处理流转记录 |
| | | * @param EventTransferRecordDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventTransferRecordDeleteDTO EventTransferRecordDeleteDTO); |
| | | |
| | | /** |
| | | * 查询事件处理流转记录详细信息 |
| | | * @param id 事件处理流转记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventTransferRecordDetailsVO> eventTransferRecordDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventVisitingTasksDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventVisitingTasksDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventVisitingTasksVO; |
| | | import com.panzhihua.service_grid.model.dos.EventVisitingTasksDO; |
| | | |
| | | /** |
| | | * 重点人群走访记录 service |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | public interface EventVisitingTasksService extends IService<EventVisitingTasksDO> { |
| | | |
| | | /** |
| | | * 新增重点人群走访记录 |
| | | * @param eventVisitingTasksAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | R add(EventVisitingTasksAddDTO eventVisitingTasksAddDTO); |
| | | |
| | | /** |
| | | * 修改重点人群走访记录 |
| | | * @param eventVisitingTasksEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R edit(EventVisitingTasksEditDTO eventVisitingTasksEditDTO); |
| | | |
| | | /** |
| | | * 分页查找重点人群走访记录 |
| | | * @param pageEventVisitingTasksDTO |
| | | * @return 维护结果 |
| | | */ |
| | | R<IPage<EventVisitingTasksVO>> query(PageEventVisitingTasksDTO pageEventVisitingTasksDTO); |
| | | |
| | | /** |
| | | * 删除重点人群走访记录 |
| | | * @param EventVisitingTasksDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | R delete(EventVisitingTasksDeleteDTO EventVisitingTasksDeleteDTO); |
| | | |
| | | /** |
| | | * 查询重点人群走访记录详细信息 |
| | | * @param id 重点人群走访记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | R<EventVisitingTasksDetailsVO> eventVisitingTasksDetails(Long id); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationAppReleaseEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventApplicationAppReleaseDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventApplicationAppReleaseService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventApplicationAppReleaseServiceImpl extends ServiceImpl<EventApplicationAppReleaseMapper, EventApplicationAppReleaseDO> implements EventApplicationAppReleaseService { |
| | | |
| | | @Resource |
| | | private EventApplicationAppReleaseMapper eventApplicationAppReleaseMapper; |
| | | /** |
| | | * 新增APP应用版本信息 |
| | | * @param eventApplicationAppReleaseAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventApplicationAppReleaseAddDTO eventApplicationAppReleaseAddDTO){ |
| | | EventApplicationAppReleaseDO eventApplicationAppReleaseDO = new EventApplicationAppReleaseDO(); |
| | | BeanUtils.copyProperties(eventApplicationAppReleaseAddDTO, eventApplicationAppReleaseDO); |
| | | eventApplicationAppReleaseDO.setCreateAt(new Date()); |
| | | if(eventApplicationAppReleaseMapper.insert(eventApplicationAppReleaseDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改APP应用版本信息 |
| | | * @param eventApplicationAppReleaseEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventApplicationAppReleaseEditDTO eventApplicationAppReleaseEditDTO){ |
| | | EventApplicationAppReleaseDO eventApplicationAppReleaseDO = new EventApplicationAppReleaseDO(); |
| | | BeanUtils.copyProperties(eventApplicationAppReleaseEditDTO, eventApplicationAppReleaseDO); |
| | | //eventApplicationAppReleaseDO.setUpdateAt(new Date()); |
| | | if(eventApplicationAppReleaseMapper.updateById(eventApplicationAppReleaseDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找APP应用版本信息 |
| | | * @param pageEventApplicationAppReleaseDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventApplicationAppReleaseVO>> query(PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventApplicationAppReleaseDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventApplicationAppReleaseDTO.getPageNum()); |
| | | } |
| | | if(pageEventApplicationAppReleaseDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventApplicationAppReleaseDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventApplicationAppReleaseMapper.findByPage(page, pageEventApplicationAppReleaseDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除APP应用版本信息 |
| | | * @param EventApplicationAppReleaseDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventApplicationAppReleaseDeleteDTO EventApplicationAppReleaseDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询APP应用版本信息详细信息 |
| | | * @param id APP应用版本信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventApplicationAppReleaseDetailsVO> eventApplicationAppReleaseDetails(Long id){ |
| | | EventApplicationAppReleaseDO eventApplicationAppReleaseDO = eventApplicationAppReleaseMapper.selectById(id); |
| | | if(eventApplicationAppReleaseDO!=null) { |
| | | EventApplicationAppReleaseDetailsVO eventApplicationAppReleaseDetailsVO = new EventApplicationAppReleaseDetailsVO(); |
| | | BeanUtils.copyProperties(eventApplicationAppReleaseDO, eventApplicationAppReleaseDetailsVO); |
| | | return R.ok(eventApplicationAppReleaseDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventApplicationUserNoticeEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventApplicationUserNoticeDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationUserNoticeDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventApplicationUserNoticeVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventApplicationUserNoticeService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventApplicationUserNoticeServiceImpl extends ServiceImpl<EventApplicationUserNoticeMapper, EventApplicationUserNoticeDO> implements EventApplicationUserNoticeService { |
| | | |
| | | @Resource |
| | | private EventApplicationUserNoticeMapper eventApplicationUserNoticeMapper; |
| | | /** |
| | | * 新增用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventApplicationUserNoticeAddDTO eventApplicationUserNoticeAddDTO){ |
| | | EventApplicationUserNoticeDO eventApplicationUserNoticeDO = new EventApplicationUserNoticeDO(); |
| | | BeanUtils.copyProperties(eventApplicationUserNoticeAddDTO, eventApplicationUserNoticeDO); |
| | | eventApplicationUserNoticeDO.setCreateAt(new Date()); |
| | | if(eventApplicationUserNoticeMapper.insert(eventApplicationUserNoticeDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改用户协议和隐私政策信息 |
| | | * @param eventApplicationUserNoticeEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventApplicationUserNoticeEditDTO eventApplicationUserNoticeEditDTO){ |
| | | EventApplicationUserNoticeDO eventApplicationUserNoticeDO = new EventApplicationUserNoticeDO(); |
| | | BeanUtils.copyProperties(eventApplicationUserNoticeEditDTO, eventApplicationUserNoticeDO); |
| | | //eventApplicationUserNoticeDO.setUpdateAt(new Date()); |
| | | if(eventApplicationUserNoticeMapper.updateById(eventApplicationUserNoticeDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找用户协议和隐私政策信息 |
| | | * @param pageEventApplicationUserNoticeDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventApplicationUserNoticeVO>> query(PageEventApplicationUserNoticeDTO pageEventApplicationUserNoticeDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventApplicationUserNoticeDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventApplicationUserNoticeDTO.getPageNum()); |
| | | } |
| | | if(pageEventApplicationUserNoticeDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventApplicationUserNoticeDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventApplicationUserNoticeMapper.findByPage(page, pageEventApplicationUserNoticeDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除用户协议和隐私政策信息 |
| | | * @param EventApplicationUserNoticeDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventApplicationUserNoticeDeleteDTO EventApplicationUserNoticeDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询用户协议和隐私政策信息详细信息 |
| | | * @param id 用户协议和隐私政策信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventApplicationUserNoticeDetailsVO> eventApplicationUserNoticeDetails(Long id){ |
| | | EventApplicationUserNoticeDO eventApplicationUserNoticeDO = eventApplicationUserNoticeMapper.selectById(id); |
| | | if(eventApplicationUserNoticeDO!=null) { |
| | | EventApplicationUserNoticeDetailsVO eventApplicationUserNoticeDetailsVO = new EventApplicationUserNoticeDetailsVO(); |
| | | BeanUtils.copyProperties(eventApplicationUserNoticeDO, eventApplicationUserNoticeDetailsVO); |
| | | return R.ok(eventApplicationUserNoticeDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridDataEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridDataDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventGridDataService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventGridDataServiceImpl extends ServiceImpl<EventGridDataMapper, EventGridDataDO> implements EventGridDataService { |
| | | |
| | | @Resource |
| | | private EventGridDataMapper eventGridDataMapper; |
| | | /** |
| | | * 新增区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventGridDataAddDTO eventGridDataAddDTO){ |
| | | EventGridDataDO eventGridDataDO = new EventGridDataDO(); |
| | | BeanUtils.copyProperties(eventGridDataAddDTO, eventGridDataDO); |
| | | eventGridDataDO.setCreateAt(new Date()); |
| | | if(eventGridDataMapper.insert(eventGridDataDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改区县/街道/社区/网格员网格数据管理 |
| | | * @param eventGridDataEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventGridDataEditDTO eventGridDataEditDTO){ |
| | | EventGridDataDO eventGridDataDO = new EventGridDataDO(); |
| | | BeanUtils.copyProperties(eventGridDataEditDTO, eventGridDataDO); |
| | | //eventGridDataDO.setUpdateAt(new Date()); |
| | | if(eventGridDataMapper.updateById(eventGridDataDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找区县/街道/社区/网格员网格数据管理 |
| | | * @param pageEventGridDataDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventGridDataVO>> query(PageEventGridDataDTO pageEventGridDataDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventGridDataDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventGridDataDTO.getPageNum()); |
| | | } |
| | | if(pageEventGridDataDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventGridDataDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventGridDataMapper.findByPage(page, pageEventGridDataDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除区县/街道/社区/网格员网格数据管理 |
| | | * @param EventGridDataDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventGridDataDeleteDTO EventGridDataDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询区县/街道/社区/网格员网格数据管理详细信息 |
| | | * @param id 区县/街道/社区/网格员网格数据管理 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventGridDataDetailsVO> eventGridDataDetails(Long id){ |
| | | EventGridDataDO eventGridDataDO = eventGridDataMapper.selectById(id); |
| | | if(eventGridDataDO!=null) { |
| | | EventGridDataDetailsVO eventGridDataDetailsVO = new EventGridDataDetailsVO(); |
| | | BeanUtils.copyProperties(eventGridDataDO, eventGridDataDetailsVO); |
| | | return R.ok(eventGridDataDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberGpsLogEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberGpsLogDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberGpsLogDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberGpsLogVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventGridMemberGpsLogService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventGridMemberGpsLogServiceImpl extends ServiceImpl<EventGridMemberGpsLogMapper, EventGridMemberGpsLogDO> implements EventGridMemberGpsLogService { |
| | | |
| | | @Resource |
| | | private EventGridMemberGpsLogMapper eventGridMemberGpsLogMapper; |
| | | /** |
| | | * 新增网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventGridMemberGpsLogAddDTO eventGridMemberGpsLogAddDTO){ |
| | | EventGridMemberGpsLogDO eventGridMemberGpsLogDO = new EventGridMemberGpsLogDO(); |
| | | BeanUtils.copyProperties(eventGridMemberGpsLogAddDTO, eventGridMemberGpsLogDO); |
| | | eventGridMemberGpsLogDO.setCreateAt(new Date()); |
| | | if(eventGridMemberGpsLogMapper.insert(eventGridMemberGpsLogDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改网格员定时上报地理信息 |
| | | * @param eventGridMemberGpsLogEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventGridMemberGpsLogEditDTO eventGridMemberGpsLogEditDTO){ |
| | | EventGridMemberGpsLogDO eventGridMemberGpsLogDO = new EventGridMemberGpsLogDO(); |
| | | BeanUtils.copyProperties(eventGridMemberGpsLogEditDTO, eventGridMemberGpsLogDO); |
| | | //eventGridMemberGpsLogDO.setUpdateAt(new Date()); |
| | | if(eventGridMemberGpsLogMapper.updateById(eventGridMemberGpsLogDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找网格员定时上报地理信息 |
| | | * @param pageEventGridMemberGpsLogDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventGridMemberGpsLogVO>> query(PageEventGridMemberGpsLogDTO pageEventGridMemberGpsLogDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventGridMemberGpsLogDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventGridMemberGpsLogDTO.getPageNum()); |
| | | } |
| | | if(pageEventGridMemberGpsLogDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventGridMemberGpsLogDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventGridMemberGpsLogMapper.findByPage(page, pageEventGridMemberGpsLogDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除网格员定时上报地理信息 |
| | | * @param EventGridMemberGpsLogDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventGridMemberGpsLogDeleteDTO EventGridMemberGpsLogDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询网格员定时上报地理信息详细信息 |
| | | * @param id 网格员定时上报地理信息 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventGridMemberGpsLogDetailsVO> eventGridMemberGpsLogDetails(Long id){ |
| | | EventGridMemberGpsLogDO eventGridMemberGpsLogDO = eventGridMemberGpsLogMapper.selectById(id); |
| | | if(eventGridMemberGpsLogDO!=null) { |
| | | EventGridMemberGpsLogDetailsVO eventGridMemberGpsLogDetailsVO = new EventGridMemberGpsLogDetailsVO(); |
| | | BeanUtils.copyProperties(eventGridMemberGpsLogDO, eventGridMemberGpsLogDetailsVO); |
| | | return R.ok(eventGridMemberGpsLogDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberRelationEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberRelationDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberRelationVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventGridMemberRelationService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventGridMemberRelationServiceImpl extends ServiceImpl<EventGridMemberRelationMapper, EventGridMemberRelationDO> implements EventGridMemberRelationService { |
| | | |
| | | @Resource |
| | | private EventGridMemberRelationMapper eventGridMemberRelationMapper; |
| | | /** |
| | | * 新增网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventGridMemberRelationAddDTO eventGridMemberRelationAddDTO){ |
| | | EventGridMemberRelationDO eventGridMemberRelationDO = new EventGridMemberRelationDO(); |
| | | BeanUtils.copyProperties(eventGridMemberRelationAddDTO, eventGridMemberRelationDO); |
| | | eventGridMemberRelationDO.setCreateAt(new Date()); |
| | | if(eventGridMemberRelationMapper.insert(eventGridMemberRelationDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改网格和网格员的关联关系 |
| | | * @param eventGridMemberRelationEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventGridMemberRelationEditDTO eventGridMemberRelationEditDTO){ |
| | | EventGridMemberRelationDO eventGridMemberRelationDO = new EventGridMemberRelationDO(); |
| | | BeanUtils.copyProperties(eventGridMemberRelationEditDTO, eventGridMemberRelationDO); |
| | | //eventGridMemberRelationDO.setUpdateAt(new Date()); |
| | | if(eventGridMemberRelationMapper.updateById(eventGridMemberRelationDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找网格和网格员的关联关系 |
| | | * @param pageEventGridMemberRelationDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventGridMemberRelationVO>> query(PageEventGridMemberRelationDTO pageEventGridMemberRelationDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventGridMemberRelationDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventGridMemberRelationDTO.getPageNum()); |
| | | } |
| | | if(pageEventGridMemberRelationDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventGridMemberRelationDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventGridMemberRelationMapper.findByPage(page, pageEventGridMemberRelationDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除网格和网格员的关联关系 |
| | | * @param EventGridMemberRelationDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventGridMemberRelationDeleteDTO EventGridMemberRelationDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询网格和网格员的关联关系详细信息 |
| | | * @param id 网格和网格员的关联关系 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventGridMemberRelationDetailsVO> eventGridMemberRelationDetails(Long id){ |
| | | EventGridMemberRelationDO eventGridMemberRelationDO = eventGridMemberRelationMapper.selectById(id); |
| | | if(eventGridMemberRelationDO!=null) { |
| | | EventGridMemberRelationDetailsVO eventGridMemberRelationDetailsVO = new EventGridMemberRelationDetailsVO(); |
| | | BeanUtils.copyProperties(eventGridMemberRelationDO, eventGridMemberRelationDetailsVO); |
| | | return R.ok(eventGridMemberRelationDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventGridMemberWarnLogEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventGridMemberWarnLogDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberWarnLogDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridMemberWarnLogVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventGridMemberWarnLogService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventGridMemberWarnLogServiceImpl extends ServiceImpl<EventGridMemberWarnLogMapper, EventGridMemberWarnLogDO> implements EventGridMemberWarnLogService { |
| | | |
| | | @Resource |
| | | private EventGridMemberWarnLogMapper eventGridMemberWarnLogMapper; |
| | | /** |
| | | * 新增网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventGridMemberWarnLogAddDTO eventGridMemberWarnLogAddDTO){ |
| | | EventGridMemberWarnLogDO eventGridMemberWarnLogDO = new EventGridMemberWarnLogDO(); |
| | | BeanUtils.copyProperties(eventGridMemberWarnLogAddDTO, eventGridMemberWarnLogDO); |
| | | eventGridMemberWarnLogDO.setCreateAt(new Date()); |
| | | if(eventGridMemberWarnLogMapper.insert(eventGridMemberWarnLogDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改网格员定时上报地理预警记录 |
| | | * @param eventGridMemberWarnLogEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventGridMemberWarnLogEditDTO eventGridMemberWarnLogEditDTO){ |
| | | EventGridMemberWarnLogDO eventGridMemberWarnLogDO = new EventGridMemberWarnLogDO(); |
| | | BeanUtils.copyProperties(eventGridMemberWarnLogEditDTO, eventGridMemberWarnLogDO); |
| | | //eventGridMemberWarnLogDO.setUpdateAt(new Date()); |
| | | if(eventGridMemberWarnLogMapper.updateById(eventGridMemberWarnLogDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找网格员定时上报地理预警记录 |
| | | * @param pageEventGridMemberWarnLogDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventGridMemberWarnLogVO>> query(PageEventGridMemberWarnLogDTO pageEventGridMemberWarnLogDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventGridMemberWarnLogDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventGridMemberWarnLogDTO.getPageNum()); |
| | | } |
| | | if(pageEventGridMemberWarnLogDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventGridMemberWarnLogDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventGridMemberWarnLogMapper.findByPage(page, pageEventGridMemberWarnLogDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除网格员定时上报地理预警记录 |
| | | * @param EventGridMemberWarnLogDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventGridMemberWarnLogDeleteDTO EventGridMemberWarnLogDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询网格员定时上报地理预警记录详细信息 |
| | | * @param id 网格员定时上报地理预警记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventGridMemberWarnLogDetailsVO> eventGridMemberWarnLogDetails(Long id){ |
| | | EventGridMemberWarnLogDO eventGridMemberWarnLogDO = eventGridMemberWarnLogMapper.selectById(id); |
| | | if(eventGridMemberWarnLogDO!=null) { |
| | | EventGridMemberWarnLogDetailsVO eventGridMemberWarnLogDetailsVO = new EventGridMemberWarnLogDetailsVO(); |
| | | BeanUtils.copyProperties(eventGridMemberWarnLogDO, eventGridMemberWarnLogDetailsVO); |
| | | return R.ok(eventGridMemberWarnLogDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventMainMemberEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventMainMemberDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventMainMemberDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventMainMemberVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventMainMemberService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventMainMemberServiceImpl extends ServiceImpl<EventMainMemberMapper, EventMainMemberDO> implements EventMainMemberService { |
| | | |
| | | @Resource |
| | | private EventMainMemberMapper eventMainMemberMapper; |
| | | /** |
| | | * 新增重点人群记录 |
| | | * @param eventMainMemberAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventMainMemberAddDTO eventMainMemberAddDTO){ |
| | | EventMainMemberDO eventMainMemberDO = new EventMainMemberDO(); |
| | | BeanUtils.copyProperties(eventMainMemberAddDTO, eventMainMemberDO); |
| | | eventMainMemberDO.setCreateAt(new Date()); |
| | | if(eventMainMemberMapper.insert(eventMainMemberDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改重点人群记录 |
| | | * @param eventMainMemberEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventMainMemberEditDTO eventMainMemberEditDTO){ |
| | | EventMainMemberDO eventMainMemberDO = new EventMainMemberDO(); |
| | | BeanUtils.copyProperties(eventMainMemberEditDTO, eventMainMemberDO); |
| | | //eventMainMemberDO.setUpdateAt(new Date()); |
| | | if(eventMainMemberMapper.updateById(eventMainMemberDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找重点人群记录 |
| | | * @param pageEventMainMemberDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventMainMemberVO>> query(PageEventMainMemberDTO pageEventMainMemberDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventMainMemberDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventMainMemberDTO.getPageNum()); |
| | | } |
| | | if(pageEventMainMemberDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventMainMemberDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventMainMemberMapper.findByPage(page, pageEventMainMemberDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除重点人群记录 |
| | | * @param EventMainMemberDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventMainMemberDeleteDTO EventMainMemberDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询重点人群记录详细信息 |
| | | * @param id 重点人群记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventMainMemberDetailsVO> eventMainMemberDetails(Long id){ |
| | | EventMainMemberDO eventMainMemberDO = eventMainMemberMapper.selectById(id); |
| | | if(eventMainMemberDO!=null) { |
| | | EventMainMemberDetailsVO eventMainMemberDetailsVO = new EventMainMemberDetailsVO(); |
| | | BeanUtils.copyProperties(eventMainMemberDO, eventMainMemberDetailsVO); |
| | | return R.ok(eventMainMemberDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventResourceEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventResourceDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventResourceDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventResourceVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventResourceService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventResourceServiceImpl extends ServiceImpl<EventResourceMapper, EventResourceDO> implements EventResourceService { |
| | | |
| | | @Resource |
| | | private EventResourceMapper eventResourceMapper; |
| | | /** |
| | | * 新增事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventResourceAddDTO eventResourceAddDTO){ |
| | | EventResourceDO eventResourceDO = new EventResourceDO(); |
| | | BeanUtils.copyProperties(eventResourceAddDTO, eventResourceDO); |
| | | eventResourceDO.setCreateAt(new Date()); |
| | | if(eventResourceMapper.insert(eventResourceDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改事件或者走访中关联的图片音频和视频文件 |
| | | * @param eventResourceEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventResourceEditDTO eventResourceEditDTO){ |
| | | EventResourceDO eventResourceDO = new EventResourceDO(); |
| | | BeanUtils.copyProperties(eventResourceEditDTO, eventResourceDO); |
| | | //eventResourceDO.setUpdateAt(new Date()); |
| | | if(eventResourceMapper.updateById(eventResourceDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找事件或者走访中关联的图片音频和视频文件 |
| | | * @param pageEventResourceDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventResourceVO>> query(PageEventResourceDTO pageEventResourceDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventResourceDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventResourceDTO.getPageNum()); |
| | | } |
| | | if(pageEventResourceDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventResourceDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventResourceMapper.findByPage(page, pageEventResourceDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除事件或者走访中关联的图片音频和视频文件 |
| | | * @param EventResourceDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventResourceDeleteDTO EventResourceDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询事件或者走访中关联的图片音频和视频文件详细信息 |
| | | * @param id 事件或者走访中关联的图片音频和视频文件 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventResourceDetailsVO> eventResourceDetails(Long id){ |
| | | EventResourceDO eventResourceDO = eventResourceMapper.selectById(id); |
| | | if(eventResourceDO!=null) { |
| | | EventResourceDetailsVO eventResourceDetailsVO = new EventResourceDetailsVO(); |
| | | BeanUtils.copyProperties(eventResourceDO, eventResourceDetailsVO); |
| | | return R.ok(eventResourceDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventServiceImpl extends ServiceImpl<EventMapper, EventDO> implements EventService { |
| | | |
| | | @Resource |
| | | private EventMapper eventMapper; |
| | | /** |
| | | * 新增事件 |
| | | * @param eventAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventAddDTO eventAddDTO){ |
| | | EventDO eventDO = new EventDO(); |
| | | BeanUtils.copyProperties(eventAddDTO, eventDO); |
| | | eventDO.setCreateAt(new Date()); |
| | | if(eventMapper.insert(eventDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改事件 |
| | | * @param eventEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventEditDTO eventEditDTO){ |
| | | EventDO eventDO = new EventDO(); |
| | | BeanUtils.copyProperties(eventEditDTO, eventDO); |
| | | //eventDO.setUpdateAt(new Date()); |
| | | if(eventMapper.updateById(eventDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找事件 |
| | | * @param pageEventDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventVO>> query(PageEventDTO pageEventDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventDTO.getPageNum()); |
| | | } |
| | | if(pageEventDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventMapper.findByPage(page, pageEventDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除事件 |
| | | * @param EventDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventDeleteDTO EventDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询事件详细信息 |
| | | * @param id 事件 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventDetailsVO> eventDetails(Long id){ |
| | | EventDO eventDO = eventMapper.selectById(id); |
| | | if(eventDO!=null) { |
| | | EventDetailsVO eventDetailsVO = new EventDetailsVO(); |
| | | BeanUtils.copyProperties(eventDO, eventDetailsVO); |
| | | return R.ok(eventDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventTransferRecordEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventTransferRecordDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventTransferRecordDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventTransferRecordVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventTransferRecordService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventTransferRecordServiceImpl extends ServiceImpl<EventTransferRecordMapper, EventTransferRecordDO> implements EventTransferRecordService { |
| | | |
| | | @Resource |
| | | private EventTransferRecordMapper eventTransferRecordMapper; |
| | | /** |
| | | * 新增事件处理流转记录 |
| | | * @param eventTransferRecordAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventTransferRecordAddDTO eventTransferRecordAddDTO){ |
| | | EventTransferRecordDO eventTransferRecordDO = new EventTransferRecordDO(); |
| | | BeanUtils.copyProperties(eventTransferRecordAddDTO, eventTransferRecordDO); |
| | | eventTransferRecordDO.setCreateAt(new Date()); |
| | | if(eventTransferRecordMapper.insert(eventTransferRecordDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改事件处理流转记录 |
| | | * @param eventTransferRecordEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventTransferRecordEditDTO eventTransferRecordEditDTO){ |
| | | EventTransferRecordDO eventTransferRecordDO = new EventTransferRecordDO(); |
| | | BeanUtils.copyProperties(eventTransferRecordEditDTO, eventTransferRecordDO); |
| | | //eventTransferRecordDO.setUpdateAt(new Date()); |
| | | if(eventTransferRecordMapper.updateById(eventTransferRecordDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找事件处理流转记录 |
| | | * @param pageEventTransferRecordDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventTransferRecordVO>> query(PageEventTransferRecordDTO pageEventTransferRecordDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventTransferRecordDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventTransferRecordDTO.getPageNum()); |
| | | } |
| | | if(pageEventTransferRecordDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventTransferRecordDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventTransferRecordMapper.findByPage(page, pageEventTransferRecordDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除事件处理流转记录 |
| | | * @param EventTransferRecordDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventTransferRecordDeleteDTO EventTransferRecordDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询事件处理流转记录详细信息 |
| | | * @param id 事件处理流转记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventTransferRecordDetailsVO> eventTransferRecordDetails(Long id){ |
| | | EventTransferRecordDO eventTransferRecordDO = eventTransferRecordMapper.selectById(id); |
| | | if(eventTransferRecordDO!=null) { |
| | | EventTransferRecordDetailsVO eventTransferRecordDetailsVO = new EventTransferRecordDetailsVO(); |
| | | BeanUtils.copyProperties(eventTransferRecordDO, eventTransferRecordDetailsVO); |
| | | return R.ok(eventTransferRecordDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_grid.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksAddDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksDeleteDTO; |
| | | import com.panzhihua.common.model.dtos.grid.EventVisitingTasksEditDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventVisitingTasksDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.grid.EventVisitingTasksDetailsVO; |
| | | import com.panzhihua.common.model.vos.grid.EventVisitingTasksVO; |
| | | import com.panzhihua.service_grid.dao.*; |
| | | import com.panzhihua.service_grid.model.dos.*; |
| | | import com.panzhihua.service_grid.service.EventVisitingTasksService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.beans.BeanUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @auther lyq |
| | | * @create 2021-04-14 15:03:01 |
| | | * @describe 订单表服务实现类 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class EventVisitingTasksServiceImpl extends ServiceImpl<EventVisitingTasksMapper, EventVisitingTasksDO> implements EventVisitingTasksService { |
| | | |
| | | @Resource |
| | | private EventVisitingTasksMapper eventVisitingTasksMapper; |
| | | /** |
| | | * 新增重点人群走访记录 |
| | | * @param eventVisitingTasksAddDTO |
| | | * @return 新增结果 |
| | | */ |
| | | public R add(EventVisitingTasksAddDTO eventVisitingTasksAddDTO){ |
| | | EventVisitingTasksDO eventVisitingTasksDO = new EventVisitingTasksDO(); |
| | | BeanUtils.copyProperties(eventVisitingTasksAddDTO, eventVisitingTasksDO); |
| | | eventVisitingTasksDO.setCreateAt(new Date()); |
| | | if(eventVisitingTasksMapper.insert(eventVisitingTasksDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 修改重点人群走访记录 |
| | | * @param eventVisitingTasksEditDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R edit(EventVisitingTasksEditDTO eventVisitingTasksEditDTO){ |
| | | EventVisitingTasksDO eventVisitingTasksDO = new EventVisitingTasksDO(); |
| | | BeanUtils.copyProperties(eventVisitingTasksEditDTO, eventVisitingTasksDO); |
| | | //eventVisitingTasksDO.setUpdateAt(new Date()); |
| | | if(eventVisitingTasksMapper.updateById(eventVisitingTasksDO)>0){ |
| | | return R.ok(); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 分页查找重点人群走访记录 |
| | | * @param pageEventVisitingTasksDTO |
| | | * @return 维护结果 |
| | | */ |
| | | public R<IPage<EventVisitingTasksVO>> query(PageEventVisitingTasksDTO pageEventVisitingTasksDTO){ |
| | | Page page = new Page(1,10); |
| | | if(pageEventVisitingTasksDTO.getPageNum()!=null) { |
| | | page.setCurrent(pageEventVisitingTasksDTO.getPageNum()); |
| | | } |
| | | if(pageEventVisitingTasksDTO.getPageSize()!=null) { |
| | | page.setSize(pageEventVisitingTasksDTO.getPageSize()); |
| | | } |
| | | return R.ok(eventVisitingTasksMapper.findByPage(page, pageEventVisitingTasksDTO)); |
| | | } |
| | | |
| | | /** |
| | | * 删除重点人群走访记录 |
| | | * @param EventVisitingTasksDeleteDTO |
| | | * @return 平台用户信息 |
| | | */ |
| | | public R delete(EventVisitingTasksDeleteDTO EventVisitingTasksDeleteDTO){ |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 查询重点人群走访记录详细信息 |
| | | * @param id 重点人群走访记录 id |
| | | * @return 查找结果 |
| | | */ |
| | | public R<EventVisitingTasksDetailsVO> eventVisitingTasksDetails(Long id){ |
| | | EventVisitingTasksDO eventVisitingTasksDO = eventVisitingTasksMapper.selectById(id); |
| | | if(eventVisitingTasksDO!=null) { |
| | | EventVisitingTasksDetailsVO eventVisitingTasksDetailsVO = new EventVisitingTasksDetailsVO(); |
| | | BeanUtils.copyProperties(eventVisitingTasksDO, eventVisitingTasksDetailsVO); |
| | | return R.ok(eventVisitingTasksDetailsVO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | } |
| | |
| | | spring: |
| | | application: |
| | | name: grid |
| | | cloud: |
| | | config: |
| | | discovery: |
| | | enabled: true |
| | | service-id: config # 注册中心的服务名 |
| | | profile: ${ENV:dev} # 指定配置文件的环境 |
| | | uri: http://${CONFIG_URL:localhost}:8193/ |
| | | profiles: |
| | | active: ${ENV:dev} |
| | | |
| | | eureka: |
| | | client: |
| | | service-url: |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventApplicationAppReleaseMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventApplicationAppReleaseDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="productId" column="product_id"/> |
| | | <result property="productName" column="product_name"/> |
| | | <result property="releaseNumber" column="release_number"/> |
| | | <result property="action" column="action"/> |
| | | <result property="url" column="url"/> |
| | | <result property="createAt" column="create_at"/> |
| | | <result property="createBy" column="create_by"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,product_id,product_name,release_number,action,url,create_at,create_by |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventApplicationAppReleaseVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventApplicationAppReleaseDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_application_app_release |
| | | <where> |
| | | <if test="pageEventApplicationAppReleaseDTO.id!=null"> |
| | | AND id = #{pageEventApplicationAppReleaseDTO.id} |
| | | </if> |
| | | <if test="pageEventApplicationAppReleaseDTO.productId!=null"> |
| | | AND product_id = #{pageEventApplicationAppReleaseDTO.productId} |
| | | </if> |
| | | <if test="pageEventApplicationAppReleaseDTO.productName!=null"> |
| | | AND product_name = #{pageEventApplicationAppReleaseDTO.productName} |
| | | </if> |
| | | <if test="pageEventApplicationAppReleaseDTO.releaseNumber!=null"> |
| | | AND release_number = #{pageEventApplicationAppReleaseDTO.releaseNumber} |
| | | </if> |
| | | <if test="pageEventApplicationAppReleaseDTO.action!=null"> |
| | | AND action = #{pageEventApplicationAppReleaseDTO.action} |
| | | </if> |
| | | <if test="pageEventApplicationAppReleaseDTO.url!=null"> |
| | | AND url = #{pageEventApplicationAppReleaseDTO.url} |
| | | </if> |
| | | <if test="pageEventApplicationAppReleaseDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventApplicationAppReleaseDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventApplicationAppReleaseDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventApplicationAppReleaseDTO.createAtEnd} |
| | | </if> |
| | | <if test="pageEventApplicationAppReleaseDTO.createBy!=null"> |
| | | AND create_by = #{pageEventApplicationAppReleaseDTO.createBy} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventApplicationAppReleaseDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventApplicationAppReleaseDTO.sortColumns} ${pageEventApplicationAppReleaseDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventApplicationUserNoticeMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventApplicationUserNoticeDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="productId" column="product_id"/> |
| | | <result property="productName" column="product_name"/> |
| | | <result property="action" column="action"/> |
| | | <result property="content" column="content"/> |
| | | <result property="createAt" column="create_at"/> |
| | | <result property="createBy" column="create_by"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,product_id,product_name,action,content,create_at,create_by |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventApplicationUserNoticeVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventApplicationUserNoticeDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_application_user_notice |
| | | <where> |
| | | <if test="pageEventApplicationUserNoticeDTO.id!=null"> |
| | | AND id = #{pageEventApplicationUserNoticeDTO.id} |
| | | </if> |
| | | <if test="pageEventApplicationUserNoticeDTO.productId!=null"> |
| | | AND product_id = #{pageEventApplicationUserNoticeDTO.productId} |
| | | </if> |
| | | <if test="pageEventApplicationUserNoticeDTO.productName!=null"> |
| | | AND product_name = #{pageEventApplicationUserNoticeDTO.productName} |
| | | </if> |
| | | <if test="pageEventApplicationUserNoticeDTO.action!=null"> |
| | | AND action = #{pageEventApplicationUserNoticeDTO.action} |
| | | </if> |
| | | <if test="pageEventApplicationUserNoticeDTO.content!=null"> |
| | | AND content = #{pageEventApplicationUserNoticeDTO.content} |
| | | </if> |
| | | <if test="pageEventApplicationUserNoticeDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventApplicationUserNoticeDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventApplicationUserNoticeDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventApplicationUserNoticeDTO.createAtEnd} |
| | | </if> |
| | | <if test="pageEventApplicationUserNoticeDTO.createBy!=null"> |
| | | AND create_by = #{pageEventApplicationUserNoticeDTO.createBy} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventApplicationUserNoticeDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventApplicationUserNoticeDTO.sortColumns} ${pageEventApplicationUserNoticeDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventGridDataMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventGridDataDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="type" column="type"/> |
| | | <result property="zoneId" column="zone_id"/> |
| | | <result property="gridStreetId" column="grid_street_id"/> |
| | | <result property="gridCommunityId" column="grid_community_id"/> |
| | | <result property="gridName" column="grid_name"/> |
| | | <result property="mapLevel" column="map_level"/> |
| | | <result property="area" column="area"/> |
| | | <result property="lineColor" column="line_color"/> |
| | | <result property="lineBroadband" column="line_broadband"/> |
| | | <result property="fillColor" column="fill_color"/> |
| | | <result property="remarks" column="remarks"/> |
| | | <result property="data" column="data"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createAt" column="create_at"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateAt" column="update_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,type,zone_id,grid_street_id,grid_community_id,grid_name,map_level,area,line_color,line_broadband,fill_color,remarks,data,create_by,create_at,update_by,update_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventGridDataVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventGridDataDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_grid_data |
| | | <where> |
| | | <if test="pageEventGridDataDTO.id!=null"> |
| | | AND id = #{pageEventGridDataDTO.id} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.type!=null"> |
| | | AND type = #{pageEventGridDataDTO.type} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.zoneId!=null"> |
| | | AND zone_id = #{pageEventGridDataDTO.zoneId} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.gridStreetId!=null"> |
| | | AND grid_street_id = #{pageEventGridDataDTO.gridStreetId} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.gridCommunityId!=null"> |
| | | AND grid_community_id = #{pageEventGridDataDTO.gridCommunityId} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.gridName!=null"> |
| | | AND grid_name = #{pageEventGridDataDTO.gridName} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.mapLevel!=null"> |
| | | AND map_level = #{pageEventGridDataDTO.mapLevel} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.area!=null"> |
| | | AND area = #{pageEventGridDataDTO.area} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.lineColor!=null"> |
| | | AND line_color = #{pageEventGridDataDTO.lineColor} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.lineBroadband!=null"> |
| | | AND line_broadband = #{pageEventGridDataDTO.lineBroadband} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.fillColor!=null"> |
| | | AND fill_color = #{pageEventGridDataDTO.fillColor} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.remarks!=null"> |
| | | AND remarks = #{pageEventGridDataDTO.remarks} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.data!=null"> |
| | | AND data = #{pageEventGridDataDTO.data} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.createBy!=null"> |
| | | AND create_by = #{pageEventGridDataDTO.createBy} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventGridDataDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventGridDataDTO.createAtEnd} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.updateBy!=null"> |
| | | AND update_by = #{pageEventGridDataDTO.updateBy} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.updateAtBegin!=null"> |
| | | AND update_at >= #{pageEventGridDataDTO.updateAtBegin} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.updateAtEnd!=null"> |
| | | AND update_at <= #{pageEventGridDataDTO.updateAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventGridDataDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventGridDataDTO.sortColumns} ${pageEventGridDataDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventGridMemberGpsLogMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventGridMemberGpsLogDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="gridStreetId" column="grid_street_id"/> |
| | | <result property="gridCommunityId" column="grid_community_id"/> |
| | | <result property="gridId" column="grid_id"/> |
| | | <result property="gridName" column="grid_name"/> |
| | | <result property="gridMemberId" column="grid_member_id"/> |
| | | <result property="lngLat" column="lng_lat"/> |
| | | <result property="positionStation" column="position_station"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createAt" column="create_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,grid_street_id,grid_community_id,grid_id,grid_name,grid_member_id,lng_lat,position_station,create_by,create_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventGridMemberGpsLogVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventGridMemberGpsLogDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_grid_member_gps_log |
| | | <where> |
| | | <if test="pageEventGridMemberGpsLogDTO.id!=null"> |
| | | AND id = #{pageEventGridMemberGpsLogDTO.id} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.gridStreetId!=null"> |
| | | AND grid_street_id = #{pageEventGridMemberGpsLogDTO.gridStreetId} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.gridCommunityId!=null"> |
| | | AND grid_community_id = #{pageEventGridMemberGpsLogDTO.gridCommunityId} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.gridId!=null"> |
| | | AND grid_id = #{pageEventGridMemberGpsLogDTO.gridId} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.gridName!=null"> |
| | | AND grid_name = #{pageEventGridMemberGpsLogDTO.gridName} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.gridMemberId!=null"> |
| | | AND grid_member_id = #{pageEventGridMemberGpsLogDTO.gridMemberId} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.lngLat!=null"> |
| | | AND lng_lat = #{pageEventGridMemberGpsLogDTO.lngLat} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.positionStation!=null"> |
| | | AND position_station = #{pageEventGridMemberGpsLogDTO.positionStation} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.createBy!=null"> |
| | | AND create_by = #{pageEventGridMemberGpsLogDTO.createBy} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventGridMemberGpsLogDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventGridMemberGpsLogDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventGridMemberGpsLogDTO.createAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventGridMemberGpsLogDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventGridMemberGpsLogDTO.sortColumns} ${pageEventGridMemberGpsLogDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventGridMemberRelationMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventGridMemberRelationDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="gridStreetId" column="grid_street_id"/> |
| | | <result property="gridCommunityId" column="grid_community_id"/> |
| | | <result property="gridId" column="grid_id"/> |
| | | <result property="gridName" column="grid_name"/> |
| | | <result property="gridMemberId" column="grid_member_id"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createAt" column="create_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,grid_street_id,grid_community_id,grid_id,grid_name,grid_member_id,create_by,create_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventGridMemberRelationVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventGridMemberRelationDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_grid_member_relation |
| | | <where> |
| | | <if test="pageEventGridMemberRelationDTO.id!=null"> |
| | | AND id = #{pageEventGridMemberRelationDTO.id} |
| | | </if> |
| | | <if test="pageEventGridMemberRelationDTO.gridStreetId!=null"> |
| | | AND grid_street_id = #{pageEventGridMemberRelationDTO.gridStreetId} |
| | | </if> |
| | | <if test="pageEventGridMemberRelationDTO.gridCommunityId!=null"> |
| | | AND grid_community_id = #{pageEventGridMemberRelationDTO.gridCommunityId} |
| | | </if> |
| | | <if test="pageEventGridMemberRelationDTO.gridId!=null"> |
| | | AND grid_id = #{pageEventGridMemberRelationDTO.gridId} |
| | | </if> |
| | | <if test="pageEventGridMemberRelationDTO.gridName!=null"> |
| | | AND grid_name = #{pageEventGridMemberRelationDTO.gridName} |
| | | </if> |
| | | <if test="pageEventGridMemberRelationDTO.gridMemberId!=null"> |
| | | AND grid_member_id = #{pageEventGridMemberRelationDTO.gridMemberId} |
| | | </if> |
| | | <if test="pageEventGridMemberRelationDTO.createBy!=null"> |
| | | AND create_by = #{pageEventGridMemberRelationDTO.createBy} |
| | | </if> |
| | | <if test="pageEventGridMemberRelationDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventGridMemberRelationDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventGridMemberRelationDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventGridMemberRelationDTO.createAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventGridMemberRelationDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventGridMemberRelationDTO.sortColumns} ${pageEventGridMemberRelationDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventGridMemberWarnLogMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventGridMemberWarnLogDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="gridStreetId" column="grid_street_id"/> |
| | | <result property="gridCommunityId" column="grid_community_id"/> |
| | | <result property="gridId" column="grid_id"/> |
| | | <result property="gridName" column="grid_name"/> |
| | | <result property="gridMemberId" column="grid_member_id"/> |
| | | <result property="lngLat" column="lng_lat"/> |
| | | <result property="content" column="content"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createAt" column="create_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,grid_street_id,grid_community_id,grid_id,grid_name,grid_member_id,lng_lat,content,create_by,create_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventGridMemberWarnLogVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventGridMemberWarnLogDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_grid_member_warn_log |
| | | <where> |
| | | <if test="pageEventGridMemberWarnLogDTO.id!=null"> |
| | | AND id = #{pageEventGridMemberWarnLogDTO.id} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.gridStreetId!=null"> |
| | | AND grid_street_id = #{pageEventGridMemberWarnLogDTO.gridStreetId} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.gridCommunityId!=null"> |
| | | AND grid_community_id = #{pageEventGridMemberWarnLogDTO.gridCommunityId} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.gridId!=null"> |
| | | AND grid_id = #{pageEventGridMemberWarnLogDTO.gridId} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.gridName!=null"> |
| | | AND grid_name = #{pageEventGridMemberWarnLogDTO.gridName} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.gridMemberId!=null"> |
| | | AND grid_member_id = #{pageEventGridMemberWarnLogDTO.gridMemberId} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.lngLat!=null"> |
| | | AND lng_lat = #{pageEventGridMemberWarnLogDTO.lngLat} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.content!=null"> |
| | | AND content = #{pageEventGridMemberWarnLogDTO.content} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.createBy!=null"> |
| | | AND create_by = #{pageEventGridMemberWarnLogDTO.createBy} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventGridMemberWarnLogDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventGridMemberWarnLogDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventGridMemberWarnLogDTO.createAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventGridMemberWarnLogDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventGridMemberWarnLogDTO.sortColumns} ${pageEventGridMemberWarnLogDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventMainMemberMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventMainMemberDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="gridMemberStreet" column="grid_member_street"/> |
| | | <result property="gridMemberCommunity" column="grid_member_community"/> |
| | | <result property="gridMember" column="grid_member"/> |
| | | <result property="gridMemberName" column="grid_member_name"/> |
| | | <result property="gridMemberTele" column="grid_member_tele"/> |
| | | <result property="visiterId" column="visiter_id"/> |
| | | <result property="visiterName" column="visiter_name"/> |
| | | <result property="visiterSex" column="visiter_sex"/> |
| | | <result property="visiterTele" column="visiter_tele"/> |
| | | <result property="visiterAddress" column="visiter_address"/> |
| | | <result property="visiterAddressLatLng" column="visiter_address_lat_lng"/> |
| | | <result property="visiterType" column="visiter_type"/> |
| | | <result property="actOpara" column="act_opara"/> |
| | | <result property="eventStatus" column="event_status"/> |
| | | <result property="reporting" column="reporting"/> |
| | | <result property="dellType" column="dell_type"/> |
| | | <result property="dellUserId" column="dell_user_id"/> |
| | | <result property="dellUserName" column="dell_user_name"/> |
| | | <result property="dellDate" column="dell_date"/> |
| | | <result property="dellDesc" column="dell_desc"/> |
| | | <result property="invalid" column="invalid"/> |
| | | <result property="urgent" column="urgent"/> |
| | | <result property="urgentDell" column="urgent_dell"/> |
| | | <result property="submitDate" column="submit_date"/> |
| | | <result property="visiterConfig" column="visiter_config"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createAt" column="create_at"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateAt" column="update_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,grid_member_street,grid_member_community,grid_member,grid_member_name,grid_member_tele,visiter_id,visiter_name,visiter_sex,visiter_tele,visiter_address,visiter_address_lat_lng,visiter_type,act_opara,event_status,reporting,dell_type,dell_user_id,dell_user_name,dell_date,dell_desc,invalid,urgent,urgent_dell,submit_date,visiter_config,create_by,create_at,update_by,update_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventMainMemberVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventMainMemberDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_main_member |
| | | <where> |
| | | <if test="pageEventMainMemberDTO.id!=null"> |
| | | AND id = #{pageEventMainMemberDTO.id} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.gridMemberStreet!=null"> |
| | | AND grid_member_street = #{pageEventMainMemberDTO.gridMemberStreet} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.gridMemberCommunity!=null"> |
| | | AND grid_member_community = #{pageEventMainMemberDTO.gridMemberCommunity} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.gridMember!=null"> |
| | | AND grid_member = #{pageEventMainMemberDTO.gridMember} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.gridMemberName!=null"> |
| | | AND grid_member_name = #{pageEventMainMemberDTO.gridMemberName} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.gridMemberTele!=null"> |
| | | AND grid_member_tele = #{pageEventMainMemberDTO.gridMemberTele} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.visiterId!=null"> |
| | | AND visiter_id = #{pageEventMainMemberDTO.visiterId} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.visiterName!=null"> |
| | | AND visiter_name = #{pageEventMainMemberDTO.visiterName} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.visiterSex!=null"> |
| | | AND visiter_sex = #{pageEventMainMemberDTO.visiterSex} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.visiterTele!=null"> |
| | | AND visiter_tele = #{pageEventMainMemberDTO.visiterTele} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.visiterAddress!=null"> |
| | | AND visiter_address = #{pageEventMainMemberDTO.visiterAddress} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.visiterAddressLatLng!=null"> |
| | | AND visiter_address_lat_lng = #{pageEventMainMemberDTO.visiterAddressLatLng} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.visiterType!=null"> |
| | | AND visiter_type = #{pageEventMainMemberDTO.visiterType} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.actOpara!=null"> |
| | | AND act_opara = #{pageEventMainMemberDTO.actOpara} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.eventStatus!=null"> |
| | | AND event_status = #{pageEventMainMemberDTO.eventStatus} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.reporting!=null"> |
| | | AND reporting = #{pageEventMainMemberDTO.reporting} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.dellType!=null"> |
| | | AND dell_type = #{pageEventMainMemberDTO.dellType} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.dellUserId!=null"> |
| | | AND dell_user_id = #{pageEventMainMemberDTO.dellUserId} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.dellUserName!=null"> |
| | | AND dell_user_name = #{pageEventMainMemberDTO.dellUserName} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.dellDateBegin!=null"> |
| | | AND dell_date >= #{pageEventMainMemberDTO.dellDateBegin} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.dellDateEnd!=null"> |
| | | AND dell_date <= #{pageEventMainMemberDTO.dellDateEnd} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.dellDesc!=null"> |
| | | AND dell_desc = #{pageEventMainMemberDTO.dellDesc} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.invalid!=null"> |
| | | AND invalid = #{pageEventMainMemberDTO.invalid} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.urgent!=null"> |
| | | AND urgent = #{pageEventMainMemberDTO.urgent} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.urgentDell!=null"> |
| | | AND urgent_dell = #{pageEventMainMemberDTO.urgentDell} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.submitDateBegin!=null"> |
| | | AND submit_date >= #{pageEventMainMemberDTO.submitDateBegin} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.submitDateEnd!=null"> |
| | | AND submit_date <= #{pageEventMainMemberDTO.submitDateEnd} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.visiterConfig!=null"> |
| | | AND visiter_config = #{pageEventMainMemberDTO.visiterConfig} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.createBy!=null"> |
| | | AND create_by = #{pageEventMainMemberDTO.createBy} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventMainMemberDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventMainMemberDTO.createAtEnd} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.updateBy!=null"> |
| | | AND update_by = #{pageEventMainMemberDTO.updateBy} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.updateAtBegin!=null"> |
| | | AND update_at >= #{pageEventMainMemberDTO.updateAtBegin} |
| | | </if> |
| | | <if test="pageEventMainMemberDTO.updateAtEnd!=null"> |
| | | AND update_at <= #{pageEventMainMemberDTO.updateAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventMainMemberDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventMainMemberDTO.sortColumns} ${pageEventMainMemberDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="orderSn" column="order_sn"/> |
| | | <result property="eventCategory" column="event_category"/> |
| | | <result property="gridMemberStreet" column="grid_member_street"/> |
| | | <result property="gridMemberCommunity" column="grid_member_community"/> |
| | | <result property="gridId" column="grid_id"/> |
| | | <result property="gridMemberId" column="grid_member_id"/> |
| | | <result property="gridMemberName" column="grid_member_name"/> |
| | | <result property="gridMemberTelephone" column="grid_member_telephone"/> |
| | | <result property="eventTitle" column="event_title"/> |
| | | <result property="propagandaType" column="propaganda_type"/> |
| | | <result property="propagandaTime" column="propaganda_time"/> |
| | | <result property="eventType" column="event_type"/> |
| | | <result property="eventDes" column="event_des"/> |
| | | <result property="propagandaObject" column="propaganda_object"/> |
| | | <result property="propagandaNum" column="propaganda_num"/> |
| | | <result property="communityProcess" column="community_process"/> |
| | | <result property="happenTime" column="happen_time"/> |
| | | <result property="happentAddress" column="happent_address"/> |
| | | <result property="happentLatLng" column="happent_lat_lng"/> |
| | | <result property="eventStatus" column="event_status"/> |
| | | <result property="eventProcessStatus" column="event_process_status"/> |
| | | <result property="processType" column="process_type"/> |
| | | <result property="processUserId" column="process_user_id"/> |
| | | <result property="processUserName" column="process_user_name"/> |
| | | <result property="processDate" column="process_date"/> |
| | | <result property="processDesc" column="process_desc"/> |
| | | <result property="eventResource" column="event_resource"/> |
| | | <result property="dangerLevel" column="danger_level"/> |
| | | <result property="redCard" column="red_card"/> |
| | | <result property="yellowCard" column="yellow_card"/> |
| | | <result property="invalid" column="invalid"/> |
| | | <result property="major" column="major"/> |
| | | <result property="deathsNumber" column="deaths_number"/> |
| | | <result property="injuriesNumber" column="injuries_number"/> |
| | | <result property="difficult" column="difficult"/> |
| | | <result property="urgent" column="urgent"/> |
| | | <result property="urgentDell" column="urgent_dell"/> |
| | | <result property="submitDate" column="submit_date"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createAt" column="create_at"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateAt" column="update_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,order_sn,event_category,grid_member_street,grid_member_community,grid_id,grid_member_id,grid_member_name,grid_member_telephone,event_title,propaganda_type,propaganda_time,event_type,event_des,propaganda_object,propaganda_num,community_process,happen_time,happent_address,happent_lat_lng,event_status,event_process_status,process_type,process_user_id,process_user_name,process_date,process_desc,event_resource,danger_level,red_card,yellow_card,invalid,major,deaths_number,injuries_number,difficult,urgent,urgent_dell,submit_date,create_by,create_at,update_by,update_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event |
| | | <where> |
| | | <if test="pageEventDTO.id!=null"> |
| | | AND id = #{pageEventDTO.id} |
| | | </if> |
| | | <if test="pageEventDTO.orderSn!=null"> |
| | | AND order_sn = #{pageEventDTO.orderSn} |
| | | </if> |
| | | <if test="pageEventDTO.eventCategory!=null"> |
| | | AND event_category = #{pageEventDTO.eventCategory} |
| | | </if> |
| | | <if test="pageEventDTO.gridMemberStreet!=null"> |
| | | AND grid_member_street = #{pageEventDTO.gridMemberStreet} |
| | | </if> |
| | | <if test="pageEventDTO.gridMemberCommunity!=null"> |
| | | AND grid_member_community = #{pageEventDTO.gridMemberCommunity} |
| | | </if> |
| | | <if test="pageEventDTO.gridId!=null"> |
| | | AND grid_id = #{pageEventDTO.gridId} |
| | | </if> |
| | | <if test="pageEventDTO.gridMemberId!=null"> |
| | | AND grid_member_id = #{pageEventDTO.gridMemberId} |
| | | </if> |
| | | <if test="pageEventDTO.gridMemberName!=null"> |
| | | AND grid_member_name = #{pageEventDTO.gridMemberName} |
| | | </if> |
| | | <if test="pageEventDTO.gridMemberTelephone!=null"> |
| | | AND grid_member_telephone = #{pageEventDTO.gridMemberTelephone} |
| | | </if> |
| | | <if test="pageEventDTO.eventTitle!=null"> |
| | | AND event_title = #{pageEventDTO.eventTitle} |
| | | </if> |
| | | <if test="pageEventDTO.propagandaType!=null"> |
| | | AND propaganda_type = #{pageEventDTO.propagandaType} |
| | | </if> |
| | | <if test="pageEventDTO.propagandaTimeBegin!=null"> |
| | | AND propaganda_time >= #{pageEventDTO.propagandaTimeBegin} |
| | | </if> |
| | | <if test="pageEventDTO.propagandaTimeEnd!=null"> |
| | | AND propaganda_time <= #{pageEventDTO.propagandaTimeEnd} |
| | | </if> |
| | | <if test="pageEventDTO.eventType!=null"> |
| | | AND event_type = #{pageEventDTO.eventType} |
| | | </if> |
| | | <if test="pageEventDTO.eventDes!=null"> |
| | | AND event_des = #{pageEventDTO.eventDes} |
| | | </if> |
| | | <if test="pageEventDTO.propagandaObject!=null"> |
| | | AND propaganda_object = #{pageEventDTO.propagandaObject} |
| | | </if> |
| | | <if test="pageEventDTO.propagandaNum!=null"> |
| | | AND propaganda_num = #{pageEventDTO.propagandaNum} |
| | | </if> |
| | | <if test="pageEventDTO.communityProcess!=null"> |
| | | AND community_process = #{pageEventDTO.communityProcess} |
| | | </if> |
| | | <if test="pageEventDTO.happenTimeBegin!=null"> |
| | | AND happen_time >= #{pageEventDTO.happenTimeBegin} |
| | | </if> |
| | | <if test="pageEventDTO.happenTimeEnd!=null"> |
| | | AND happen_time <= #{pageEventDTO.happenTimeEnd} |
| | | </if> |
| | | <if test="pageEventDTO.happentAddress!=null"> |
| | | AND happent_address = #{pageEventDTO.happentAddress} |
| | | </if> |
| | | <if test="pageEventDTO.happentLatLng!=null"> |
| | | AND happent_lat_lng = #{pageEventDTO.happentLatLng} |
| | | </if> |
| | | <if test="pageEventDTO.eventStatus!=null"> |
| | | AND event_status = #{pageEventDTO.eventStatus} |
| | | </if> |
| | | <if test="pageEventDTO.eventProcessStatus!=null"> |
| | | AND event_process_status = #{pageEventDTO.eventProcessStatus} |
| | | </if> |
| | | <if test="pageEventDTO.processType!=null"> |
| | | AND process_type = #{pageEventDTO.processType} |
| | | </if> |
| | | <if test="pageEventDTO.processUserId!=null"> |
| | | AND process_user_id = #{pageEventDTO.processUserId} |
| | | </if> |
| | | <if test="pageEventDTO.processUserName!=null"> |
| | | AND process_user_name = #{pageEventDTO.processUserName} |
| | | </if> |
| | | <if test="pageEventDTO.processDateBegin!=null"> |
| | | AND process_date >= #{pageEventDTO.processDateBegin} |
| | | </if> |
| | | <if test="pageEventDTO.processDateEnd!=null"> |
| | | AND process_date <= #{pageEventDTO.processDateEnd} |
| | | </if> |
| | | <if test="pageEventDTO.processDesc!=null"> |
| | | AND process_desc = #{pageEventDTO.processDesc} |
| | | </if> |
| | | <if test="pageEventDTO.eventResource!=null"> |
| | | AND event_resource = #{pageEventDTO.eventResource} |
| | | </if> |
| | | <if test="pageEventDTO.dangerLevel!=null"> |
| | | AND danger_level = #{pageEventDTO.dangerLevel} |
| | | </if> |
| | | <if test="pageEventDTO.redCard!=null"> |
| | | AND red_card = #{pageEventDTO.redCard} |
| | | </if> |
| | | <if test="pageEventDTO.yellowCard!=null"> |
| | | AND yellow_card = #{pageEventDTO.yellowCard} |
| | | </if> |
| | | <if test="pageEventDTO.invalid!=null"> |
| | | AND invalid = #{pageEventDTO.invalid} |
| | | </if> |
| | | <if test="pageEventDTO.major!=null"> |
| | | AND major = #{pageEventDTO.major} |
| | | </if> |
| | | <if test="pageEventDTO.deathsNumber!=null"> |
| | | AND deaths_number = #{pageEventDTO.deathsNumber} |
| | | </if> |
| | | <if test="pageEventDTO.injuriesNumber!=null"> |
| | | AND injuries_number = #{pageEventDTO.injuriesNumber} |
| | | </if> |
| | | <if test="pageEventDTO.difficult!=null"> |
| | | AND difficult = #{pageEventDTO.difficult} |
| | | </if> |
| | | <if test="pageEventDTO.urgent!=null"> |
| | | AND urgent = #{pageEventDTO.urgent} |
| | | </if> |
| | | <if test="pageEventDTO.urgentDell!=null"> |
| | | AND urgent_dell = #{pageEventDTO.urgentDell} |
| | | </if> |
| | | <if test="pageEventDTO.submitDateBegin!=null"> |
| | | AND submit_date >= #{pageEventDTO.submitDateBegin} |
| | | </if> |
| | | <if test="pageEventDTO.submitDateEnd!=null"> |
| | | AND submit_date <= #{pageEventDTO.submitDateEnd} |
| | | </if> |
| | | <if test="pageEventDTO.createBy!=null"> |
| | | AND create_by = #{pageEventDTO.createBy} |
| | | </if> |
| | | <if test="pageEventDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventDTO.createAtEnd} |
| | | </if> |
| | | <if test="pageEventDTO.updateBy!=null"> |
| | | AND update_by = #{pageEventDTO.updateBy} |
| | | </if> |
| | | <if test="pageEventDTO.updateAtBegin!=null"> |
| | | AND update_at >= #{pageEventDTO.updateAtBegin} |
| | | </if> |
| | | <if test="pageEventDTO.updateAtEnd!=null"> |
| | | AND update_at <= #{pageEventDTO.updateAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventDTO.sortColumns} ${pageEventDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventResourceMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventResourceDO"> |
| | | <result property="classification" column="classification"/> |
| | | <result property="id" column="id"/> |
| | | <result property="type" column="type"/> |
| | | <result property="resourceName" column="resource_name"/> |
| | | <result property="resourceSize" column="resource_size"/> |
| | | <result property="url" column="url"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createAt" column="create_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | classification,id,type,resource_name,resource_size,url,create_by,create_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventResourceVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventResourceDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_resource |
| | | <where> |
| | | <if test="pageEventResourceDTO.classification!=null"> |
| | | AND classification = #{pageEventResourceDTO.classification} |
| | | </if> |
| | | <if test="pageEventResourceDTO.id!=null"> |
| | | AND id = #{pageEventResourceDTO.id} |
| | | </if> |
| | | <if test="pageEventResourceDTO.type!=null"> |
| | | AND type = #{pageEventResourceDTO.type} |
| | | </if> |
| | | <if test="pageEventResourceDTO.resourceName!=null"> |
| | | AND resource_name = #{pageEventResourceDTO.resourceName} |
| | | </if> |
| | | <if test="pageEventResourceDTO.resourceSize!=null"> |
| | | AND resource_size = #{pageEventResourceDTO.resourceSize} |
| | | </if> |
| | | <if test="pageEventResourceDTO.url!=null"> |
| | | AND url = #{pageEventResourceDTO.url} |
| | | </if> |
| | | <if test="pageEventResourceDTO.createBy!=null"> |
| | | AND create_by = #{pageEventResourceDTO.createBy} |
| | | </if> |
| | | <if test="pageEventResourceDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventResourceDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventResourceDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventResourceDTO.createAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventResourceDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventResourceDTO.sortColumns} ${pageEventResourceDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventTransferRecordMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventTransferRecordDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="eventId" column="event_id"/> |
| | | <result property="fromType" column="from_type"/> |
| | | <result property="from" column="from"/> |
| | | <result property="fromName" column="from_name"/> |
| | | <result property="toType" column="to_type"/> |
| | | <result property="to" column="to"/> |
| | | <result property="toName" column="to_name"/> |
| | | <result property="processResult" column="process_result"/> |
| | | <result property="processDate" column="process_date"/> |
| | | <result property="createAt" column="create_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,event_id,from_type,from,from_name,to_type,to,to_name,process_result,process_date,create_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventTransferRecordVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventTransferRecordDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_transfer_record |
| | | <where> |
| | | <if test="pageEventTransferRecordDTO.id!=null"> |
| | | AND id = #{pageEventTransferRecordDTO.id} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.eventId!=null"> |
| | | AND event_id = #{pageEventTransferRecordDTO.eventId} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.fromType!=null"> |
| | | AND from_type = #{pageEventTransferRecordDTO.fromType} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.from!=null"> |
| | | AND from = #{pageEventTransferRecordDTO.from} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.fromName!=null"> |
| | | AND from_name = #{pageEventTransferRecordDTO.fromName} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.toType!=null"> |
| | | AND to_type = #{pageEventTransferRecordDTO.toType} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.to!=null"> |
| | | AND to = #{pageEventTransferRecordDTO.to} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.toName!=null"> |
| | | AND to_name = #{pageEventTransferRecordDTO.toName} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.processResult!=null"> |
| | | AND process_result = #{pageEventTransferRecordDTO.processResult} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.processDateBegin!=null"> |
| | | AND process_date >= #{pageEventTransferRecordDTO.processDateBegin} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.processDateEnd!=null"> |
| | | AND process_date <= #{pageEventTransferRecordDTO.processDateEnd} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventTransferRecordDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventTransferRecordDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventTransferRecordDTO.createAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventTransferRecordDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventTransferRecordDTO.sortColumns} ${pageEventTransferRecordDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > |
| | | |
| | | |
| | | <mapper namespace="com.panzhihua.service_grid.dao.EventVisitingTasksMapper"> |
| | | |
| | | <resultMap id="baseResult" type="com.panzhihua.service_grid.model.dos.EventVisitingTasksDO"> |
| | | <result property="id" column="id"/> |
| | | <result property="gridMemberStreet" column="grid_member_street"/> |
| | | <result property="gridMemberCommunity" column="grid_member_community"/> |
| | | <result property="gridMember" column="grid_member"/> |
| | | <result property="gridMemberName" column="grid_member_name"/> |
| | | <result property="gridMenberTele" column="grid_menber_tele"/> |
| | | <result property="visiterId" column="visiter_id"/> |
| | | <result property="visiterName" column="visiter_name"/> |
| | | <result property="visiterSex" column="visiter_sex"/> |
| | | <result property="visiterTele" column="visiter_tele"/> |
| | | <result property="visiterAddress" column="visiter_address"/> |
| | | <result property="visiterType" column="visiter_type"/> |
| | | <result property="eventTitle" column="event_title"/> |
| | | <result property="eventType" column="event_type"/> |
| | | <result property="eventDes" column="event_des"/> |
| | | <result property="actOpara" column="act_opara"/> |
| | | <result property="happenTime" column="happen_time"/> |
| | | <result property="happentAddress" column="happent_address"/> |
| | | <result property="happentLatLng" column="happent_lat_lng"/> |
| | | <result property="eventStatus" column="event_status"/> |
| | | <result property="reporting" column="reporting"/> |
| | | <result property="dellType" column="dell_type"/> |
| | | <result property="dellUserId" column="dell_user_id"/> |
| | | <result property="dellUserName" column="dell_user_name"/> |
| | | <result property="dellDate" column="dell_date"/> |
| | | <result property="dellDesc" column="dell_desc"/> |
| | | <result property="invalid" column="invalid"/> |
| | | <result property="urgent" column="urgent"/> |
| | | <result property="urgentDell" column="urgent_dell"/> |
| | | <result property="submitDate" column="submit_date"/> |
| | | <result property="exception" column="exception"/> |
| | | <result property="tableContentJson" column="table_content_json"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createAt" column="create_at"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateAt" column="update_at"/> |
| | | </resultMap> |
| | | |
| | | <sql id="columns"> |
| | | <![CDATA[ |
| | | id,grid_member_street,grid_member_community,grid_member,grid_member_name,grid_menber_tele,visiter_id,visiter_name,visiter_sex,visiter_tele,visiter_address,visiter_type,event_title,event_type,event_des,act_opara,happen_time,happent_address,happent_lat_lng,event_status,reporting,dell_type,dell_user_id,dell_user_name,dell_date,dell_desc,invalid,urgent,urgent_dell,submit_date,exception,table_content_json,create_by,create_at,update_by,update_at |
| | | ]]> |
| | | </sql> |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventVisitingTasksVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventVisitingTasksDTO"> |
| | | SELECT <include refid="columns" /> |
| | | FROM event_visiting_tasks |
| | | <where> |
| | | <if test="pageEventVisitingTasksDTO.id!=null"> |
| | | AND id = #{pageEventVisitingTasksDTO.id} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.gridMemberStreet!=null"> |
| | | AND grid_member_street = #{pageEventVisitingTasksDTO.gridMemberStreet} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.gridMemberCommunity!=null"> |
| | | AND grid_member_community = #{pageEventVisitingTasksDTO.gridMemberCommunity} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.gridMember!=null"> |
| | | AND grid_member = #{pageEventVisitingTasksDTO.gridMember} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.gridMemberName!=null"> |
| | | AND grid_member_name = #{pageEventVisitingTasksDTO.gridMemberName} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.gridMenberTele!=null"> |
| | | AND grid_menber_tele = #{pageEventVisitingTasksDTO.gridMenberTele} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.visiterId!=null"> |
| | | AND visiter_id = #{pageEventVisitingTasksDTO.visiterId} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.visiterName!=null"> |
| | | AND visiter_name = #{pageEventVisitingTasksDTO.visiterName} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.visiterSex!=null"> |
| | | AND visiter_sex = #{pageEventVisitingTasksDTO.visiterSex} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.visiterTele!=null"> |
| | | AND visiter_tele = #{pageEventVisitingTasksDTO.visiterTele} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.visiterAddress!=null"> |
| | | AND visiter_address = #{pageEventVisitingTasksDTO.visiterAddress} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.visiterType!=null"> |
| | | AND visiter_type = #{pageEventVisitingTasksDTO.visiterType} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.eventTitle!=null"> |
| | | AND event_title = #{pageEventVisitingTasksDTO.eventTitle} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.eventType!=null"> |
| | | AND event_type = #{pageEventVisitingTasksDTO.eventType} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.eventDes!=null"> |
| | | AND event_des = #{pageEventVisitingTasksDTO.eventDes} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.actOpara!=null"> |
| | | AND act_opara = #{pageEventVisitingTasksDTO.actOpara} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.happenTimeBegin!=null"> |
| | | AND happen_time >= #{pageEventVisitingTasksDTO.happenTimeBegin} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.happenTimeEnd!=null"> |
| | | AND happen_time <= #{pageEventVisitingTasksDTO.happenTimeEnd} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.happentAddress!=null"> |
| | | AND happent_address = #{pageEventVisitingTasksDTO.happentAddress} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.happentLatLng!=null"> |
| | | AND happent_lat_lng = #{pageEventVisitingTasksDTO.happentLatLng} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.eventStatus!=null"> |
| | | AND event_status = #{pageEventVisitingTasksDTO.eventStatus} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.reporting!=null"> |
| | | AND reporting = #{pageEventVisitingTasksDTO.reporting} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.dellType!=null"> |
| | | AND dell_type = #{pageEventVisitingTasksDTO.dellType} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.dellUserId!=null"> |
| | | AND dell_user_id = #{pageEventVisitingTasksDTO.dellUserId} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.dellUserName!=null"> |
| | | AND dell_user_name = #{pageEventVisitingTasksDTO.dellUserName} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.dellDateBegin!=null"> |
| | | AND dell_date >= #{pageEventVisitingTasksDTO.dellDateBegin} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.dellDateEnd!=null"> |
| | | AND dell_date <= #{pageEventVisitingTasksDTO.dellDateEnd} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.dellDesc!=null"> |
| | | AND dell_desc = #{pageEventVisitingTasksDTO.dellDesc} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.invalid!=null"> |
| | | AND invalid = #{pageEventVisitingTasksDTO.invalid} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.urgent!=null"> |
| | | AND urgent = #{pageEventVisitingTasksDTO.urgent} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.urgentDell!=null"> |
| | | AND urgent_dell = #{pageEventVisitingTasksDTO.urgentDell} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.submitDateBegin!=null"> |
| | | AND submit_date >= #{pageEventVisitingTasksDTO.submitDateBegin} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.submitDateEnd!=null"> |
| | | AND submit_date <= #{pageEventVisitingTasksDTO.submitDateEnd} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.exception!=null"> |
| | | AND exception = #{pageEventVisitingTasksDTO.exception} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.tableContentJson!=null"> |
| | | AND table_content_json = #{pageEventVisitingTasksDTO.tableContentJson} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.createBy!=null"> |
| | | AND create_by = #{pageEventVisitingTasksDTO.createBy} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.createAtBegin!=null"> |
| | | AND create_at >= #{pageEventVisitingTasksDTO.createAtBegin} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.createAtEnd!=null"> |
| | | AND create_at <= #{pageEventVisitingTasksDTO.createAtEnd} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.updateBy!=null"> |
| | | AND update_by = #{pageEventVisitingTasksDTO.updateBy} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.updateAtBegin!=null"> |
| | | AND update_at >= #{pageEventVisitingTasksDTO.updateAtBegin} |
| | | </if> |
| | | <if test="pageEventVisitingTasksDTO.updateAtEnd!=null"> |
| | | AND update_at <= #{pageEventVisitingTasksDTO.updateAtEnd} |
| | | </if> |
| | | </where> |
| | | <if test="pageEventVisitingTasksDTO.sortColumns!=null"> |
| | | ORDER BY ${pageEventVisitingTasksDTO.sortColumns} ${pageEventVisitingTasksDTO.sortType} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |