Browse Source
# Conflicts: # epmet-user/epmet-user-server/src/main/java/com/epmet/dao/IcResiUserDao.javarelease
27 changed files with 486 additions and 75 deletions
@ -0,0 +1,37 @@ |
|||
package com.epmet.dataaggre.dto.govorg.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 网格活跃度-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GridLivelyFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -3651225675593357002L; |
|||
|
|||
public interface Grid extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
/** |
|||
* 组织Id |
|||
*/ |
|||
@NotBlank(message = "组织ID不能为空", groups = {Grid.class}) |
|||
private String agencyId; |
|||
/** |
|||
* 起始查询时间,yyyyMMdd |
|||
*/ |
|||
@NotBlank(message = "起始查询时间不能为空", groups = {Grid.class}) |
|||
private String startTime; |
|||
/** |
|||
* 结束查询时间,yyyyMMdd |
|||
*/ |
|||
@NotBlank(message = "结束查询时间不能为空", groups = {Grid.class}) |
|||
private String endTime; |
|||
|
|||
} |
@ -0,0 +1,20 @@ |
|||
package com.epmet.dataaggre.dto.govorg.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 网格下按天的上报事件或直接立项数据-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GridDateIdResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -4304356050545598564L; |
|||
//网格Id
|
|||
private String gridId; |
|||
//日维度Id
|
|||
private String dateId; |
|||
//网格所属组织的所有上级Id
|
|||
private String pids; |
|||
} |
@ -0,0 +1,33 @@ |
|||
package com.epmet.dataaggre.dto.govorg.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 网格活跃度-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GridLivelyResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -4304356050545598564L; |
|||
//组织Id
|
|||
private String agencyId; |
|||
//组织名称
|
|||
private String agencyName; |
|||
//组织下所有网格总数
|
|||
private Integer gridSumNum; |
|||
//活跃网格数
|
|||
private Integer gridLivelyNum; |
|||
//活跃网格数占比
|
|||
private String gridLivelyRatio; |
|||
//正常运行网格数
|
|||
private Integer gridOrdinaryNum; |
|||
//正常运行网格数占比
|
|||
private String gridOrdinaryRatio; |
|||
//僵尸网格数
|
|||
private Integer gridLazyNum; |
|||
//僵尸网格数占比
|
|||
private String gridLazyRatio; |
|||
} |
@ -0,0 +1,72 @@ |
|||
/** |
|||
* Copyright 2018 人人开源 https://www.renren.io
|
|||
* <p> |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* <p> |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* <p> |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/ |
|||
|
|||
package com.epmet.dataaggre.excel; |
|||
|
|||
import cn.afterturn.easypoi.excel.annotation.Excel; |
|||
import com.alibaba.excel.annotation.ExcelIgnore; |
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Description 网格活跃度文件导出-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class GridLivelyExcel { |
|||
|
|||
@ExcelProperty("组织ID") |
|||
@ExcelIgnore |
|||
private String agencyId; |
|||
|
|||
//组织名称
|
|||
@ExcelProperty("组织名称") |
|||
@ColumnWidth(15) |
|||
private String agencyName; |
|||
//组织下所有网格总数
|
|||
@ExcelProperty("网格总数") |
|||
@ColumnWidth(15) |
|||
private Integer gridSumNum; |
|||
//活跃网格数
|
|||
@ExcelProperty("活跃网格数") |
|||
@ColumnWidth(15) |
|||
private Integer gridLivelyNum; |
|||
//活跃网格数占比
|
|||
@ExcelProperty("活跃网格数占比") |
|||
@ColumnWidth(15) |
|||
private String gridLivelyRatio; |
|||
//正常运行网格数
|
|||
@ExcelProperty("正常运行网格数") |
|||
@ColumnWidth(15) |
|||
private Integer gridOrdinaryNum; |
|||
//正常运行网格数占比
|
|||
@ExcelProperty("正常运行网格数占比") |
|||
@ColumnWidth(15) |
|||
private String gridOrdinaryRatio; |
|||
//僵尸网格数
|
|||
@ExcelProperty("僵尸网格数") |
|||
@ColumnWidth(15) |
|||
private Integer gridLazyNum; |
|||
//僵尸网格数占比
|
|||
@ExcelProperty("僵尸网格数占比") |
|||
@ColumnWidth(15) |
|||
private String gridLazyRatio; |
|||
|
|||
|
|||
|
|||
} |
Loading…
Reference in new issue