diff --git a/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsAreaDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsAreaDTO.java new file mode 100644 index 0000000..3bbd82e --- /dev/null +++ b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsAreaDTO.java @@ -0,0 +1,115 @@ +package cn.com.tenlion.pojo.dtos.casestatistics; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.util.ArrayList; +import java.util.List; + +/** + * @ClassName: CaseStatisticsAreaDTO + * @Description: 区域 + * @Author: CodeFactory + * @Date: 2021-09-06 17:00:49 + * @Version: 3.0 + **/ +@ApiModel +public class CaseStatisticsAreaDTO { + + @ApiModelProperty(name = "areaId", value = "地区ID") + private String areaId; + @ApiModelProperty(name = "areaName", value = "地区名称") + private String areaName; + @ApiModelProperty(name = "areaCode", value = "地区编码") + private String areaCode; + @ApiModelProperty(name = "areaParentId", value = "父地区ID") + private String areaParentId; + @ApiModelProperty(name = "areaParentName", value = "父地区名称") + private String areaParentName; + @ApiModelProperty(name = "subCount", value = "地区数据总量") + private Integer dataCount; + @ApiModelProperty(name = "subList", value = "是否有子区域") + private Boolean subList = false; + @ApiModelProperty(name = "areaList", value = "是否有子区域") + private List areaList; + @ApiModelProperty(name = "dataList", value = "区域数据") + private List dataList; + + public String getAreaCode() { + return areaCode == null ? "" : areaCode; + } + + public void setAreaCode(String areaCode) { + this.areaCode = areaCode; + } + + public List getDataList() { + if (dataList == null) { + return new ArrayList<>(); + } + return dataList; + } + + public void setDataList(List dataList) { + this.dataList = dataList; + } + + public List getAreaList() { + if (areaList == null) { + return new ArrayList<>(); + } + return areaList; + } + + public void setAreaList(List areaList) { + this.areaList = areaList; + } + + public Boolean getSubList() { + return subList; + } + + public void setSubList(Boolean subList) { + this.subList = subList; + } + + public Integer getDataCount() { + return dataCount; + } + + public void setDataCount(Integer dataCount) { + this.dataCount = dataCount; + } + + public String getAreaParentId() { + return areaParentId == null ? "" : areaParentId; + } + + public void setAreaParentId(String areaParentId) { + this.areaParentId = areaParentId; + } + + public String getAreaParentName() { + return areaParentName == null ? "" : areaParentName; + } + + public void setAreaParentName(String areaParentName) { + this.areaParentName = areaParentName; + } + + public String getAreaId() { + return areaId == null ? "" : areaId; + } + + public void setAreaId(String areaId) { + this.areaId = areaId; + } + + public String getAreaName() { + return areaName == null ? "" : areaName; + } + + public void setAreaName(String areaName) { + this.areaName = areaName; + } + +} diff --git a/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsDepartmentDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsDepartmentDTO.java new file mode 100644 index 0000000..cac515f --- /dev/null +++ b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsDepartmentDTO.java @@ -0,0 +1,81 @@ +package cn.com.tenlion.pojo.dtos.casestatistics; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import java.util.ArrayList; +import java.util.List; + +/** + * + * @ClassName: CaseStatisticsDTO + * @Description: 事件统计 + * @Author: CodeFactory + * @Date: 2021-09-06 17:00:49 + * @Version: 3.0 + **/ +@ApiModel +public class CaseStatisticsDepartmentDTO { + + @ApiModelProperty(name = "areaId", value = "地区ID") + private String areaId; + @ApiModelProperty(name = "areaName", value = "地区名称") + private String areaName; + @ApiModelProperty(name = "areaParentId", value = "父地区ID") + private String areaParentId; + @ApiModelProperty(name = "areaParentName", value = "父地区名称") + private String areaParentName; + @ApiModelProperty(name = "subCount", value = "地区子集数量") + private Integer subCount; + @ApiModelProperty(name = "subList", value = "是否有子区域") + private Boolean subList = false; + + public Boolean getSubList() { + return subList; + } + + public void setSubList(Boolean subList) { + this.subList = subList; + } + + public Integer getSubCount() { + return subCount; + } + + public void setSubCount(Integer subCount) { + this.subCount = subCount; + } + + public String getAreaParentId() { + return areaParentId == null ? "" : areaParentId; + } + + public void setAreaParentId(String areaParentId) { + this.areaParentId = areaParentId; + } + + public String getAreaParentName() { + return areaParentName == null ? "" : areaParentName; + } + + public void setAreaParentName(String areaParentName) { + this.areaParentName = areaParentName; + } + + public String getAreaId() { + return areaId == null ? "" : areaId; + } + + public void setAreaId(String areaId) { + this.areaId = areaId; + } + + public String getAreaName() { + return areaName == null ? "" : areaName; + } + + public void setAreaName(String areaName) { + this.areaName = areaName; + } + +} diff --git a/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsDepartmentItemDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsDepartmentItemDTO.java new file mode 100644 index 0000000..dfb4a27 --- /dev/null +++ b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/CaseStatisticsDepartmentItemDTO.java @@ -0,0 +1,127 @@ +package cn.com.tenlion.pojo.dtos.casestatistics; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * + * @ClassName: CaseStatisticsItemDTO + * @Description: 事件统计详情 + * @Author: CodeFactory + * @Date: 2021-09-06 17:00:49 + * @Version: 3.0 + **/ +@ApiModel +public class CaseStatisticsDepartmentItemDTO { + + @ApiModelProperty(name = "areaId", value = "地区ID") + private String areaId; + @ApiModelProperty(name = "areaName", value = "地区名称") + private String areaName; + @ApiModelProperty(name = "reportNumber", value = "上报数") + private Integer reportNumber=0; + @ApiModelProperty(name = "processesNumber", value = "处理数") + private Integer processesNumber=0; + @ApiModelProperty(name = "eventNumber", value = "事件数") + private Integer eventNumber=0; + @ApiModelProperty(name = "overtimeNumber", value = "超时数") + private Integer overtimeNumber=0; + @ApiModelProperty(name = "notOvertimeNumber", value = "未超时数") + private Integer notOvertimeNumber=0; + @ApiModelProperty(name = "completeNumber", value = "完成量") + private Integer completeNumber=0; + @ApiModelProperty(name = "notCompleteNumber", value = "未完成量") + private Integer notCompleteNumber=0; + @ApiModelProperty(name = "eventNumber", value = "超时占比") + private Double overtimeProportionNumber=0.00; + @ApiModelProperty(name = "sunList", value = "是否有子集") + private Boolean subList=false; + + public Boolean getSubList() { + return subList; + } + + public void setSubList(Boolean subList) { + this.subList = subList; + } + + public String getAreaId() { + return areaId == null ? "" : areaId; + } + + public void setAreaId(String areaId) { + this.areaId = areaId; + } + + public String getAreaName() { + return areaName == null ? "" : areaName; + } + + public void setAreaName(String areaName) { + this.areaName = areaName; + } + + public Integer getReportNumber() { + return reportNumber; + } + + public void setReportNumber(Integer reportNumber) { + this.reportNumber = reportNumber; + } + + public Integer getProcessesNumber() { + return processesNumber; + } + + public void setProcessesNumber(Integer processesNumber) { + this.processesNumber = processesNumber; + } + + public Integer getEventNumber() { + return eventNumber; + } + + public void setEventNumber(Integer eventNumber) { + this.eventNumber = eventNumber; + } + + public Integer getOvertimeNumber() { + return overtimeNumber; + } + + public void setOvertimeNumber(Integer overtimeNumber) { + this.overtimeNumber = overtimeNumber; + } + + public Integer getNotOvertimeNumber() { + return notOvertimeNumber; + } + + public void setNotOvertimeNumber(Integer notOvertimeNumber) { + this.notOvertimeNumber = notOvertimeNumber; + } + + public Integer getCompleteNumber() { + return completeNumber; + } + + public void setCompleteNumber(Integer completeNumber) { + this.completeNumber = completeNumber; + } + + public Integer getNotCompleteNumber() { + return notCompleteNumber; + } + + public void setNotCompleteNumber(Integer notCompleteNumber) { + this.notCompleteNumber = notCompleteNumber; + } + + public Double getOvertimeProportionNumber() { + return overtimeProportionNumber; + } + + public void setOvertimeProportionNumber(Double overtimeProportionNumber) { + this.overtimeProportionNumber = overtimeProportionNumber; + } +} diff --git a/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/TeamMemberCountDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/TeamMemberCountDTO.java new file mode 100644 index 0000000..c08b84e --- /dev/null +++ b/src/main/java/cn/com/tenlion/pojo/dtos/casestatistics/TeamMemberCountDTO.java @@ -0,0 +1,44 @@ +package cn.com.tenlion.pojo.dtos.casestatistics; + +/** + * 队伍人员 + */ +public class TeamMemberCountDTO { + + private String areaCode; + private String areaName; + private String userId; + private String userName; + + public String getAreaCode() { + return areaCode == null ? "" : areaCode; + } + + public void setAreaCode(String areaCode) { + this.areaCode = areaCode; + } + + public String getAreaName() { + return areaName == null ? "" : areaName; + } + + public void setAreaName(String areaName) { + this.areaName = areaName; + } + + public String getUserId() { + return userId == null ? "" : userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getUserName() { + return userName == null ? "" : userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } +} diff --git a/src/main/resources/processes/application.properties b/src/main/resources/processes/application.properties new file mode 100644 index 0000000..da6dfd7 --- /dev/null +++ b/src/main/resources/processes/application.properties @@ -0,0 +1,2 @@ +spring.activiti.database-schema-update=true +spring.activiti.check-process-definitions=false \ No newline at end of file diff --git a/src/main/resources/static/route/casestatistics/grid.html b/src/main/resources/static/route/casestatistics/grid.html new file mode 100644 index 0000000..1f4a2f3 --- /dev/null +++ b/src/main/resources/static/route/casestatistics/grid.html @@ -0,0 +1,709 @@ + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+
+
+ + +
+
+ + +
+ + + + +
+ +
+ + + + + + +
+
+
+
+
+ + + + + \ No newline at end of file