16 changed files with 510 additions and 9 deletions
@ -0,0 +1,66 @@ |
|||||
|
/** |
||||
|
* 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.elink.esua.epdc.dto.item.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 【事件/项目分析】按类别统计-网格(03-22已确定) |
||||
|
* |
||||
|
* @author zhy |
||||
|
* @date 2021/3/22 16:55 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CategoryGridDailyResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 类别编码 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 项目总数 |
||||
|
*/ |
||||
|
private Integer projectTotal; |
||||
|
|
||||
|
/** |
||||
|
* 组织id |
||||
|
*/ |
||||
|
private String gridId; |
||||
|
|
||||
|
/** |
||||
|
* 组织所属上级id;如果属于跟组织下直属网格,pid=0 |
||||
|
*/ |
||||
|
private String pid; |
||||
|
|
||||
|
/** |
||||
|
* 组织所有父级ids,以英文逗号隔开; pid=0时,pids=0 |
||||
|
*/ |
||||
|
private String pids; |
||||
|
|
||||
|
/** |
||||
|
* 分类等级:1、2.... |
||||
|
*/ |
||||
|
private Integer level; |
||||
|
|
||||
|
} |
@ -0,0 +1,71 @@ |
|||||
|
/** |
||||
|
* 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.elink.esua.epdc.dto.item.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 【事件/项目分析】按类别统计-组织(03-22已确定) |
||||
|
* |
||||
|
* @author zhy |
||||
|
* @date 2021/3/22 16:56 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CategoryOrgDailyResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 类别编码 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 项目总数 |
||||
|
*/ |
||||
|
private Integer projectTotal; |
||||
|
|
||||
|
/** |
||||
|
* 组织id |
||||
|
*/ |
||||
|
private String orgId; |
||||
|
|
||||
|
/** |
||||
|
* 组织所属上级id;如果属于跟组织下直属网格,pid=0 |
||||
|
*/ |
||||
|
private String pid; |
||||
|
|
||||
|
/** |
||||
|
* 组织所有父级ids,以英文逗号隔开; pid=0时,pids=0 |
||||
|
*/ |
||||
|
private String pids; |
||||
|
|
||||
|
/** |
||||
|
* 社区级:community,乡(镇、街道)级:street |
||||
|
*/ |
||||
|
private String orgType; |
||||
|
|
||||
|
/** |
||||
|
* 分类等级:1、2.... |
||||
|
*/ |
||||
|
private Integer level; |
||||
|
|
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.elink.esua.epdc.dto.screen.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 【事件/项目分析】按类别统计 |
||||
|
* |
||||
|
* @author zhy |
||||
|
* @date 2021/3/23 10:37 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ScreenCategoryDateDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 8161588041384645877L; |
||||
|
|
||||
|
/** |
||||
|
* 当为true时后台将先删除当前维度的数据,后新增 |
||||
|
*/ |
||||
|
private Boolean isFirst; |
||||
|
|
||||
|
/** |
||||
|
* 日期Id, 数据更新至:yyyyMMdd |
||||
|
*/ |
||||
|
private String dateId; |
||||
|
|
||||
|
/** |
||||
|
* 上报数据 |
||||
|
*/ |
||||
|
private Object dataList; |
||||
|
} |
@ -0,0 +1,33 @@ |
|||||
|
/** |
||||
|
* 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.elink.esua.epdc.modules.common.dao; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao; |
||||
|
import com.elink.esua.epdc.modules.common.entity.EpdcTableName; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 声明表名 |
||||
|
* |
||||
|
* @author work@yujt.net.cn |
||||
|
* @date 2020/7/20 16:04 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface EpdcTableNameDao extends BaseDao<EpdcTableName> { |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.elink.esua.epdc.modules.common.entity; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 声明表名 |
||||
|
* |
||||
|
* @author work@yujt.net.cn |
||||
|
* @date 2020/7/20 16:00 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EpdcTableName implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2548002813384497114L; |
||||
|
} |
@ -0,0 +1,29 @@ |
|||||
|
<?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.elink.esua.epdc.modules.common.dao.EpdcTableNameDao"> |
||||
|
|
||||
|
<!--测试库名--> |
||||
|
|
||||
|
<sql id="tb_admin">js_esua_epdc_admin</sql> |
||||
|
<sql id="tb_analysis">js_esua_epdc_analysis</sql> |
||||
|
<sql id="tb_api">js_esua_epdc_api</sql> |
||||
|
<sql id="tb_custom">js_esua_epdc_custom</sql> |
||||
|
<sql id="tb_events">js_esua_epdc_events</sql> |
||||
|
<sql id="tb_group">js_esua_epdc_group</sql> |
||||
|
<sql id="tb_mutuality">js_esua_epdc_mutuality</sql> |
||||
|
<sql id="tb_news">js_esua_epdc_news</sql> |
||||
|
<sql id="tb_user">js_esua_epdc_user</sql> |
||||
|
|
||||
|
<!--生产库名--> |
||||
|
|
||||
|
<!--<sql id="tb_admin">esua_epdc_admin</sql> |
||||
|
<sql id="tb_analysis">esua_epdc_analysis</sql> |
||||
|
<sql id="tb_api">esua_epdc_api</sql> |
||||
|
<sql id="tb_custom">esua_epdc_custom</sql> |
||||
|
<sql id="tb_events">esua_epdc_events</sql> |
||||
|
<sql id="tb_group">esua_epdc_group</sql> |
||||
|
<sql id="tb_mutuality">esua_epdc_mutuality</sql> |
||||
|
<sql id="tb_news">esua_epdc_news</sql> |
||||
|
<sql id="tb_user">esua_epdc_user</sql>--> |
||||
|
</mapper> |
Loading…
Reference in new issue