| | |
| | | package com.panzhihua.common.model.vos.community.screen.event; |
| | | |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | public class EventGridIncidentStatisticsVO { |
| | | |
| | | @ApiModelProperty("事件id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long eventId; |
| | | |
| | | @ApiModelProperty("事件状态(1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群上报、7随手拍处理)") |
| | |
| | | |
| | | @Select("SELECT " + |
| | | " event_type AS type, " + |
| | | " e.id AS eventId, " + |
| | | " happent_lat_lng AS latLng " + |
| | | "FROM " + |
| | | " `event` AS e " + |
| | |
| | | " AND date_add( curdate()- DAY ( curdate())+ 1, INTERVAL 1 MONTH ) UNION ALL " + |
| | | "SELECT " + |
| | | " IFNULL( NULL, 7 ) AS type, " + |
| | | " id AS eventId, " + |
| | | " lng_lat AS latLng " + |
| | | "FROM " + |
| | | " com_act_easy_photo " + |