From 868715481f4d844cc3e5c1a960447f901a29c392 Mon Sep 17 00:00:00 2001 From: yinzuomei <57602893@qq.com> Date: Mon, 16 Mar 2020 14:52:03 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=A2=9ERESI=5FGUIDE=5FSERVER?= =?UTF-8?q?=E3=80=81EPMET=5FUSER=5FSERVER=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epmet/commons/tools/constant/ServiceConstant.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/constant/ServiceConstant.java b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/constant/ServiceConstant.java index 6f108992a0..2329a246b6 100644 --- a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/constant/ServiceConstant.java +++ b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/constant/ServiceConstant.java @@ -24,6 +24,11 @@ public interface ServiceConstant { */ String EPMET_AUTH_SERVER = "epmet-auth-server"; + /** + * 用户管理模块 + */ + String EPMET_USER_SERVER = "epmet-user-server"; + /** * demo */ @@ -39,4 +44,8 @@ public interface ServiceConstant { */ String OPER_CRM_SERVER = "oper-crm-server"; + /** + * 陌生人导览 + */ + String RESI_GUIDE_SERVER = "resi-guide-server"; } From b4d568f96d77582dc894eb578a2e8659c6e73353 Mon Sep 17 00:00:00 2001 From: wangchao Date: Mon, 16 Mar 2020 19:59:16 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=94=BF=E5=BA=9C?= =?UTF-8?q?=E7=AB=AF=E7=BB=84=E7=BB=87=E6=A8=A1=E5=9D=97=EF=BC=8C=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E4=BB=8Eepmet=5Foper=5Fbusiness=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E4=B8=BAepmet=5Fgov=5Forg=EF=BC=8C=E8=A1=A8=E5=90=8D?= =?UTF-8?q?=E4=B8=8D=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epmet-gateway/pom.xml | 9 +- .../src/main/resources/bootstrap.yml | 8 + epmet-module/pom.xml | 1 + .../main/java/com/epmet/dto/result/.gitkeep | 0 gov-org/gov-org-client/pom.xml | 35 +++++ .../com/epmet/dto/CustomerDepartmentDTO.java | 101 +++++++++++++ .../java/com/epmet/dto/CustomerGridDTO.java | 116 +++++++++++++++ .../epmet/dto/CustomerOrganizationDTO.java | 111 ++++++++++++++ .../dto/CustomerRelevantDepartmentDTO.java | 81 ++++++++++ .../java/com/epmet/dto/CustomerRoleDTO.java | 91 ++++++++++++ .../epmet/dto/CustomerStaffDepartmentDTO.java | 86 +++++++++++ .../com/epmet/dto/CustomerStaffGridDTO.java | 86 +++++++++++ .../dto/CustomerStaffOrganizationDTO.java | 91 ++++++++++++ .../com/epmet/dto/CustomerStaffRoleDTO.java | 81 ++++++++++ .../java/com/epmet/dto/PdmanDbVersionDTO.java | 51 +++++++ gov-org/gov-org-server/pom.xml | 140 ++++++++++++++++++ .../java/com/epmet/GovOrgApplication.java | 27 ++++ .../com/epmet/config/ModuleConfigImpl.java | 26 ++++ .../java/com/epmet/config/SwaggerConfig.java | 68 +++++++++ .../CustomerDepartmentController.java | 94 ++++++++++++ .../controller/CustomerGridController.java | 94 ++++++++++++ .../CustomerOrganizationController.java | 94 ++++++++++++ .../CustomerRelevantDepartmentController.java | 94 ++++++++++++ .../controller/CustomerRoleController.java | 94 ++++++++++++ .../CustomerStaffDepartmentController.java | 94 ++++++++++++ .../CustomerStaffGridController.java | 94 ++++++++++++ .../CustomerStaffOrganizationController.java | 94 ++++++++++++ .../CustomerStaffRoleController.java | 94 ++++++++++++ .../controller/PdmanDbVersionController.java | 94 ++++++++++++ .../com/epmet/dao/CustomerDepartmentDao.java | 33 +++++ .../java/com/epmet/dao/CustomerGridDao.java | 33 +++++ .../epmet/dao/CustomerOrganizationDao.java | 33 +++++ .../dao/CustomerRelevantDepartmentDao.java | 33 +++++ .../java/com/epmet/dao/CustomerRoleDao.java | 33 +++++ .../epmet/dao/CustomerStaffDepartmentDao.java | 33 +++++ .../com/epmet/dao/CustomerStaffGridDao.java | 33 +++++ .../dao/CustomerStaffOrganizationDao.java | 33 +++++ .../com/epmet/dao/CustomerStaffRoleDao.java | 33 +++++ .../java/com/epmet/dao/PdmanDbVersionDao.java | 33 +++++ .../entity/CustomerDepartmentEntity.java | 71 +++++++++ .../com/epmet/entity/CustomerGridEntity.java | 86 +++++++++++ .../entity/CustomerOrganizationEntity.java | 86 +++++++++++ .../CustomerRelevantDepartmentEntity.java | 51 +++++++ .../com/epmet/entity/CustomerRoleEntity.java | 61 ++++++++ .../entity/CustomerStaffDepartmentEntity.java | 56 +++++++ .../epmet/entity/CustomerStaffGridEntity.java | 56 +++++++ .../CustomerStaffOrganizationEntity.java | 61 ++++++++ .../epmet/entity/CustomerStaffRoleEntity.java | 51 +++++++ .../epmet/entity/PdmanDbVersionEntity.java | 51 +++++++ .../epmet/excel/CustomerDepartmentExcel.java | 74 +++++++++ .../com/epmet/excel/CustomerGridExcel.java | 83 +++++++++++ .../excel/CustomerOrganizationExcel.java | 80 ++++++++++ .../CustomerRelevantDepartmentExcel.java | 62 ++++++++ .../com/epmet/excel/CustomerRoleExcel.java | 68 +++++++++ .../excel/CustomerStaffDepartmentExcel.java | 65 ++++++++ .../epmet/excel/CustomerStaffGridExcel.java | 65 ++++++++ .../excel/CustomerStaffOrganizationExcel.java | 68 +++++++++ .../epmet/excel/CustomerStaffRoleExcel.java | 62 ++++++++ .../com/epmet/excel/PdmanDbVersionExcel.java | 44 ++++++ .../epmet/redis/CustomerDepartmentRedis.java | 47 ++++++ .../com/epmet/redis/CustomerGridRedis.java | 47 ++++++ .../redis/CustomerOrganizationRedis.java | 47 ++++++ .../CustomerRelevantDepartmentRedis.java | 47 ++++++ .../com/epmet/redis/CustomerRoleRedis.java | 47 ++++++ .../redis/CustomerStaffDepartmentRedis.java | 47 ++++++ .../epmet/redis/CustomerStaffGridRedis.java | 47 ++++++ .../redis/CustomerStaffOrganizationRedis.java | 47 ++++++ .../epmet/redis/CustomerStaffRoleRedis.java | 47 ++++++ .../com/epmet/redis/PdmanDbVersionRedis.java | 47 ++++++ .../service/CustomerDepartmentService.java | 95 ++++++++++++ .../epmet/service/CustomerGridService.java | 95 ++++++++++++ .../service/CustomerOrganizationService.java | 95 ++++++++++++ .../CustomerRelevantDepartmentService.java | 95 ++++++++++++ .../epmet/service/CustomerRoleService.java | 95 ++++++++++++ .../CustomerStaffDepartmentService.java | 95 ++++++++++++ .../service/CustomerStaffGridService.java | 95 ++++++++++++ .../CustomerStaffOrganizationService.java | 95 ++++++++++++ .../service/CustomerStaffRoleService.java | 95 ++++++++++++ .../epmet/service/PdmanDbVersionService.java | 95 ++++++++++++ .../impl/CustomerDepartmentServiceImpl.java | 104 +++++++++++++ .../service/impl/CustomerGridServiceImpl.java | 104 +++++++++++++ .../impl/CustomerOrganizationServiceImpl.java | 104 +++++++++++++ ...CustomerRelevantDepartmentServiceImpl.java | 104 +++++++++++++ .../service/impl/CustomerRoleServiceImpl.java | 104 +++++++++++++ .../CustomerStaffDepartmentServiceImpl.java | 104 +++++++++++++ .../impl/CustomerStaffGridServiceImpl.java | 104 +++++++++++++ .../CustomerStaffOrganizationServiceImpl.java | 104 +++++++++++++ .../impl/CustomerStaffRoleServiceImpl.java | 104 +++++++++++++ .../impl/PdmanDbVersionServiceImpl.java | 104 +++++++++++++ .../src/main/resources/bootstrap.yml | 117 +++++++++++++++ .../src/main/resources/logback-spring.xml | 2 +- .../mapper/CustomerDepartmentDao.xml | 23 +++ .../main/resources/mapper/CustomerGridDao.xml | 26 ++++ .../mapper/CustomerOrganizationDao.xml | 25 ++++ .../mapper/CustomerRelevantDepartmentDao.xml | 19 +++ .../main/resources/mapper/CustomerRoleDao.xml | 21 +++ .../mapper/CustomerStaffDepartmentDao.xml | 20 +++ .../resources/mapper/CustomerStaffGridDao.xml | 20 +++ .../mapper/CustomerStaffOrganizationDao.xml | 21 +++ .../resources/mapper/CustomerStaffRoleDao.xml | 19 +++ .../resources/mapper/PdmanDbVersionDao.xml | 13 ++ gov-org/pom.xml | 21 +++ pom.xml | 1 + 103 files changed, 6585 insertions(+), 3 deletions(-) delete mode 100644 epmet-module/resi-guide/resi-guide-client/src/main/java/com/epmet/dto/result/.gitkeep create mode 100644 gov-org/gov-org-client/pom.xml create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java create mode 100644 gov-org/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java create mode 100644 gov-org/gov-org-server/pom.xml create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java create mode 100644 gov-org/gov-org-server/src/main/resources/bootstrap.yml rename {epmet-module/resi-guide/resi-guide-server => gov-org/gov-org-server}/src/main/resources/logback-spring.xml (99%) create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerDepartmentDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml create mode 100644 gov-org/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml create mode 100644 gov-org/pom.xml diff --git a/epmet-gateway/pom.xml b/epmet-gateway/pom.xml index e63f9f7d69..158544f723 100644 --- a/epmet-gateway/pom.xml +++ b/epmet-gateway/pom.xml @@ -118,7 +118,7 @@ http://localhost:8084 - + http://localhost:8087 lb://epmet-demo-server @@ -132,6 +132,9 @@ http://localhost:8091 + + + http://localhost:8092 @@ -180,7 +183,9 @@ lb://oper-crm-server - lb://oper-crm-server + lb://resi-guid-server + + lb://gov-org-server diff --git a/epmet-gateway/src/main/resources/bootstrap.yml b/epmet-gateway/src/main/resources/bootstrap.yml index a6cb5e4252..309844844d 100644 --- a/epmet-gateway/src/main/resources/bootstrap.yml +++ b/epmet-gateway/src/main/resources/bootstrap.yml @@ -122,6 +122,14 @@ spring: - Path=${server.servlet.context-path}/resi/guide/** filters: - StripPrefix=1 + #政府端组织管理 + - id: gov-org-server + uri: @gateway.routes.gov-org-server.uri@ + order: 10 + predicates: + - Path=${server.servlet.context-path}/gov/org/** + filters: + - StripPrefix=1 nacos: discovery: server-addr: @nacos.server-addr@ diff --git a/epmet-module/pom.xml b/epmet-module/pom.xml index 9aca2a1ae1..5ab568cb98 100644 --- a/epmet-module/pom.xml +++ b/epmet-module/pom.xml @@ -18,6 +18,7 @@ epmet-job epmet-message epmet-activiti + epmet-api epmet-demo oper-customize oper-crm diff --git a/epmet-module/resi-guide/resi-guide-client/src/main/java/com/epmet/dto/result/.gitkeep b/epmet-module/resi-guide/resi-guide-client/src/main/java/com/epmet/dto/result/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/gov-org/gov-org-client/pom.xml b/gov-org/gov-org-client/pom.xml new file mode 100644 index 0000000000..59518f86e2 --- /dev/null +++ b/gov-org/gov-org-client/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + com.epmet + gov-org + 2.0.0 + + + gov-org-client + jar + + + + com.epmet + epmet-commons-tools + 2.0.0 + + + io.springfox + springfox-swagger2 + + + io.springfox + springfox-swagger-ui + + + + + ${project.artifactId} + + + diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java new file mode 100644 index 0000000000..ce71b879e0 --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java @@ -0,0 +1,101 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerDepartmentDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID 唯一标识 + */ + private String id; + + /** + * 客户ID + */ + private String customerId; + + /** + * 所属组织ID + */ + private String orgId; + + /** + * 上级组织ID 用于查找归口部门 + */ + private String orgPid; + + /** + * 部门名称 + */ + private String depatmentName; + + /** + * 部门编码 + */ + private String depatmentCode; + + /** + * 排序 + */ + private Integer sort; + + /** + * 删除标识:0.未删除 1.已删除 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java new file mode 100644 index 0000000000..f5ebbaa64f --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java @@ -0,0 +1,116 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerGridDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID 唯一标识 + */ + private String id; + + /** + * 客户ID + */ + private String customerId; + + /** + * 网格名称 + */ + private String gridName; + + /** + * 网格编码 + */ + private String gridCode; + + /** + * 上级组织ID + */ + private String pid; + + /** + * 所有上级组织ID + */ + private String pids; + + /** + * 排序 + */ + private Integer sort; + + /** + * 中心位置经度 + */ + private String longitude; + + /** + * 中心位置纬度 + */ + private String latitude; + + /** + * 所属地区码 + */ + private String areaCode; + + /** + * 删除标识:0.未删除 1.已删除 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java new file mode 100644 index 0000000000..99da24c5af --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java @@ -0,0 +1,111 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerOrganizationDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 客户ID + */ + private String customerId; + + /** + * 上级组织ID + */ + private String pid; + + /** + * 所有上级组织ID + */ + private String pids; + + /** + * 组织名称 + */ + private String organizationName; + + /** + * 组织编码 + */ + private String organizationCode; + + /** + * 级别 字典表key:level + */ + private Integer level; + + /** + * 地区码 阿里云公共api + */ + private Integer areaCode; + + /** + * 排序 + */ + private Integer sort; + + /** + * 删除标识 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java new file mode 100644 index 0000000000..793bf13f99 --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java @@ -0,0 +1,81 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户归口部门关系表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerRelevantDepartmentDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 部门ID + */ + private String departmentId; + + /** + * 归口部门ID + */ + private String relevantDepartmentId; + + /** + * 删除标识 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java new file mode 100644 index 0000000000..362ca76902 --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java @@ -0,0 +1,91 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerRoleDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 客户ID + */ + private String customerId; + + /** + * 角色名称 + */ + private String roleName; + + /** + * 角色编码 + */ + private String roleCode; + + /** + * 排序 + */ + private Integer sort; + + /** + * 删除标识 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java new file mode 100644 index 0000000000..cbaadafa56 --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java @@ -0,0 +1,86 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户人员部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerStaffDepartmentDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 客户ID + */ + private String customerId; + + /** + * 用户ID + */ + private String staffId; + + /** + * 部门ID + */ + private String departmentiD; + + /** + * 删除标识 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java new file mode 100644 index 0000000000..86edacc48e --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java @@ -0,0 +1,86 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户人员网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerStaffGridDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 客户ID + */ + private String customerId; + + /** + * 用户ID + */ + private String staffId; + + /** + * 网格ID + */ + private String gridId; + + /** + * 删除标识 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java new file mode 100644 index 0000000000..e47a4c6ddb --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java @@ -0,0 +1,91 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户人员组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerStaffOrganizationDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 客户ID + */ + private String customerId; + + /** + * 用户ID + */ + private String staffId; + + /** + * 组织ID + */ + private String orgId; + + /** + * 级别 + */ + private Integer level; + + /** + * 删除标识 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java new file mode 100644 index 0000000000..66c98e68bc --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java @@ -0,0 +1,81 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * 客户人员角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerStaffRoleDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 用户ID + */ + private String staffId; + + /** + * 角色ID + */ + private String roleId; + + /** + * 删除标识 + */ + private Integer delFlag; + + /** + * 乐观锁 + */ + private Integer revision; + + /** + * 创建人 + */ + private String createdBy; + + /** + * 创建时间 + */ + private Date createdTime; + + /** + * 更新人 + */ + private String updatedBy; + + /** + * 更新时间 + */ + private Date updatedTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java b/gov-org/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java new file mode 100644 index 0000000000..7b6008323b --- /dev/null +++ b/gov-org/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java @@ -0,0 +1,51 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dto; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class PdmanDbVersionDTO implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * + */ + private String dbVersion; + + /** + * + */ + private String versionDesc; + + /** + * + */ + private String createdTime; + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/pom.xml b/gov-org/gov-org-server/pom.xml new file mode 100644 index 0000000000..4efa0331da --- /dev/null +++ b/gov-org/gov-org-server/pom.xml @@ -0,0 +1,140 @@ + + + 4.0.0 + + + com.epmet + gov-org + 2.0.0 + + + gov-org-server + jar + + + + com.epmet + gov-org-client + 2.0.0 + + + com.epmet + epmet-commons-mybatis + 2.0.0 + + + com.epmet + epmet-commons-dynamic-datasource + 2.0.0 + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework + spring-context-support + + + org.springframework.boot + spring-boot-starter-actuator + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + + + ${project.basedir}/src/main/java + + + true + ${basedir}/src/main/resources + + + + + + + dev + + true + + + 8087 + dev + + + + + + epmet + elink@833066 + + 0 + 122.152.200.70 + 6379 + 123456 + + false + 122.152.200.70:8848 + fcd6fc8f-ca3a-4b01-8026-2b05cdc5976b + + + false + + + + + test + + + 8087 + test + + + + + + epmet + elink@833066 + + 0 + 122.152.200.70 + 6379 + 123456 + + true + 122.152.200.70:8848 + fcd6fc8f-ca3a-4b01-8026-2b05cdc5976b + + + false + + + + + diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java b/gov-org/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java new file mode 100644 index 0000000000..7f1f254652 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java @@ -0,0 +1,27 @@ +/** + * Copyright (c) 2018 人人开源 All rights reserved. + * + * https://www.renren.io + * + * 版权所有,侵权必究! + */ + +package com.epmet; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * + * + * @author Mark sunlightcs@gmail.com + * @since 1.0.0 + */ +@SpringBootApplication +public class GovOrgApplication { + + public static void main(String[] args) { + SpringApplication.run(GovOrgApplication.class, args); + } + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java new file mode 100644 index 0000000000..3401bed33e --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java @@ -0,0 +1,26 @@ +/** + * Copyright (c) 2018 人人开源 All rights reserved. + * + * https://www.renren.io + * + * 版权所有,侵权必究! + */ + +package com.epmet.config; + +import com.epmet.commons.tools.config.ModuleConfig; +import org.springframework.stereotype.Service; + +/** + * 模块配置信息 + * + * @author Mark sunlightcs@gmail.com + * @since 1.0.0 + */ +@Service +public class ModuleConfigImpl implements ModuleConfig { + @Override + public String getName() { + return "govorg"; + } +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java b/gov-org/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java new file mode 100644 index 0000000000..e4ceef42ee --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java @@ -0,0 +1,68 @@ +/** + * Copyright (c) 2018 人人开源 All rights reserved. + * + * https://www.renren.io + * + * 版权所有,侵权必究! + */ + +package com.epmet.config; + +import com.epmet.commons.tools.constant.Constant; +import io.swagger.annotations.ApiOperation; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import springfox.documentation.builders.ApiInfoBuilder; +import springfox.documentation.builders.PathSelectors; +import springfox.documentation.builders.RequestHandlerSelectors; +import springfox.documentation.service.ApiInfo; +import springfox.documentation.service.ApiKey; +import springfox.documentation.spi.DocumentationType; +import springfox.documentation.spring.web.plugins.Docket; +import springfox.documentation.swagger2.annotations.EnableSwagger2; + +import java.util.List; + +import static com.google.common.collect.Lists.newArrayList; + +/** + * Swagger配置 + * + * @author Mark sunlightcs@gmail.com + * @since 1.0.0 + */ +@Configuration +@EnableSwagger2 +public class SwaggerConfig { + + @Bean + public Docket createRestApi() { + return new Docket(DocumentationType.SWAGGER_2) + .apiInfo(apiInfo()) + .select() + //加了ApiOperation注解的类,才生成接口文档 + .apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class)) + //包下的类,才生成接口文档 + //.apis(RequestHandlerSelectors.basePackage("io.renren.controller")) + .paths(PathSelectors.any()) + .build() + .directModelSubstitute(java.util.Date.class, String.class) + .securitySchemes(security()); + } + + private ApiInfo apiInfo() { + return new ApiInfoBuilder() + .title("人人开源") + .description("系统模块开发文档") + .termsOfServiceUrl("https://www.renren.io/community") + .version("1.4.0") + .build(); + } + + private List security() { + return newArrayList( + new ApiKey(Constant.TOKEN_HEADER, Constant.TOKEN_HEADER, "header") + ); + } + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java new file mode 100644 index 0000000000..6ca515264a --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerDepartmentDTO; +import com.epmet.excel.CustomerDepartmentExcel; +import com.epmet.service.CustomerDepartmentService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customerdepartment") +public class CustomerDepartmentController { + + @Autowired + private CustomerDepartmentService customerDepartmentService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerDepartmentService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerDepartmentDTO data = customerDepartmentService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerDepartmentDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerDepartmentService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerDepartmentDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerDepartmentService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerDepartmentService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerDepartmentService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerDepartmentExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java new file mode 100644 index 0000000000..be74383365 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerGridDTO; +import com.epmet.excel.CustomerGridExcel; +import com.epmet.service.CustomerGridService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customergrid") +public class CustomerGridController { + + @Autowired + private CustomerGridService customerGridService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerGridService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerGridDTO data = customerGridService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerGridDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerGridService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerGridDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerGridService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerGridService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerGridService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerGridExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java new file mode 100644 index 0000000000..d411443b2c --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerOrganizationDTO; +import com.epmet.excel.CustomerOrganizationExcel; +import com.epmet.service.CustomerOrganizationService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customerorganization") +public class CustomerOrganizationController { + + @Autowired + private CustomerOrganizationService customerOrganizationService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerOrganizationService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerOrganizationDTO data = customerOrganizationService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerOrganizationDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerOrganizationService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerOrganizationDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerOrganizationService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerOrganizationService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerOrganizationService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerOrganizationExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java new file mode 100644 index 0000000000..7cc6d6811e --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerRelevantDepartmentDTO; +import com.epmet.excel.CustomerRelevantDepartmentExcel; +import com.epmet.service.CustomerRelevantDepartmentService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户归口部门关系表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customerrelevantdepartment") +public class CustomerRelevantDepartmentController { + + @Autowired + private CustomerRelevantDepartmentService customerRelevantDepartmentService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerRelevantDepartmentService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerRelevantDepartmentDTO data = customerRelevantDepartmentService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerRelevantDepartmentDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerRelevantDepartmentService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerRelevantDepartmentDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerRelevantDepartmentService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerRelevantDepartmentService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerRelevantDepartmentService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerRelevantDepartmentExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java new file mode 100644 index 0000000000..01c6e713fd --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerRoleDTO; +import com.epmet.excel.CustomerRoleExcel; +import com.epmet.service.CustomerRoleService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customerrole") +public class CustomerRoleController { + + @Autowired + private CustomerRoleService customerRoleService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerRoleService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerRoleDTO data = customerRoleService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerRoleDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerRoleService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerRoleDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerRoleService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerRoleService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerRoleService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerRoleExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java new file mode 100644 index 0000000000..b883f6a933 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerStaffDepartmentDTO; +import com.epmet.excel.CustomerStaffDepartmentExcel; +import com.epmet.service.CustomerStaffDepartmentService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户人员部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customerstaffdepartment") +public class CustomerStaffDepartmentController { + + @Autowired + private CustomerStaffDepartmentService customerStaffDepartmentService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerStaffDepartmentService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerStaffDepartmentDTO data = customerStaffDepartmentService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerStaffDepartmentDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerStaffDepartmentService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerStaffDepartmentDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerStaffDepartmentService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerStaffDepartmentService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerStaffDepartmentService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerStaffDepartmentExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java new file mode 100644 index 0000000000..38d23d2962 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerStaffGridDTO; +import com.epmet.excel.CustomerStaffGridExcel; +import com.epmet.service.CustomerStaffGridService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户人员网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customerstaffgrid") +public class CustomerStaffGridController { + + @Autowired + private CustomerStaffGridService customerStaffGridService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerStaffGridService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerStaffGridDTO data = customerStaffGridService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerStaffGridDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerStaffGridService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerStaffGridDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerStaffGridService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerStaffGridService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerStaffGridService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerStaffGridExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java new file mode 100644 index 0000000000..cac39f7e4f --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerStaffOrganizationDTO; +import com.epmet.excel.CustomerStaffOrganizationExcel; +import com.epmet.service.CustomerStaffOrganizationService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户人员组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customerstafforganization") +public class CustomerStaffOrganizationController { + + @Autowired + private CustomerStaffOrganizationService customerStaffOrganizationService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerStaffOrganizationService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerStaffOrganizationDTO data = customerStaffOrganizationService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerStaffOrganizationDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerStaffOrganizationService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerStaffOrganizationDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerStaffOrganizationService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerStaffOrganizationService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerStaffOrganizationService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerStaffOrganizationExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java new file mode 100644 index 0000000000..b277f187c7 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.CustomerStaffRoleDTO; +import com.epmet.excel.CustomerStaffRoleExcel; +import com.epmet.service.CustomerStaffRoleService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * 客户人员角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("customerstaffrole") +public class CustomerStaffRoleController { + + @Autowired + private CustomerStaffRoleService customerStaffRoleService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = customerStaffRoleService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + CustomerStaffRoleDTO data = customerStaffRoleService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody CustomerStaffRoleDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + customerStaffRoleService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody CustomerStaffRoleDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + customerStaffRoleService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + customerStaffRoleService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = customerStaffRoleService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, CustomerStaffRoleExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java b/gov-org/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java new file mode 100644 index 0000000000..00851cdb80 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java @@ -0,0 +1,94 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.controller; + +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ExcelUtils; +import com.epmet.commons.tools.utils.Result; +import com.epmet.commons.tools.validator.AssertUtils; +import com.epmet.commons.tools.validator.ValidatorUtils; +import com.epmet.commons.tools.validator.group.AddGroup; +import com.epmet.commons.tools.validator.group.UpdateGroup; +import com.epmet.commons.tools.validator.group.DefaultGroup; +import com.epmet.dto.PdmanDbVersionDTO; +import com.epmet.excel.PdmanDbVersionExcel; +import com.epmet.service.PdmanDbVersionService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; + + +/** + * + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@RestController +@RequestMapping("pdmandbversion") +public class PdmanDbVersionController { + + @Autowired + private PdmanDbVersionService pdmanDbVersionService; + + @GetMapping("page") + public Result> page(@RequestParam Map params){ + PageData page = pdmanDbVersionService.page(params); + return new Result>().ok(page); + } + + @GetMapping("{id}") + public Result get(@PathVariable("id") String id){ + PdmanDbVersionDTO data = pdmanDbVersionService.get(id); + return new Result().ok(data); + } + + @PostMapping + public Result save(@RequestBody PdmanDbVersionDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); + pdmanDbVersionService.save(dto); + return new Result(); + } + + @PutMapping + public Result update(@RequestBody PdmanDbVersionDTO dto){ + //效验数据 + ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); + pdmanDbVersionService.update(dto); + return new Result(); + } + + @DeleteMapping + public Result delete(@RequestBody String[] ids){ + //效验数据 + AssertUtils.isArrayEmpty(ids, "id"); + pdmanDbVersionService.delete(ids); + return new Result(); + } + + @GetMapping("export") + public void export(@RequestParam Map params, HttpServletResponse response) throws Exception { + List list = pdmanDbVersionService.list(params); + ExcelUtils.exportExcelToTarget(response, null, list, PdmanDbVersionExcel.class); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java new file mode 100644 index 0000000000..88235a5429 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerDepartmentEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerDepartmentDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java new file mode 100644 index 0000000000..f13389578a --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerGridEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerGridDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java new file mode 100644 index 0000000000..6455f9e7b5 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerOrganizationEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerOrganizationDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java new file mode 100644 index 0000000000..a054e54fdc --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerRelevantDepartmentEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户归口部门关系表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerRelevantDepartmentDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java new file mode 100644 index 0000000000..eb62bd03f2 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerRoleEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerRoleDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java new file mode 100644 index 0000000000..ec0dd68a02 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerStaffDepartmentEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户人员部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerStaffDepartmentDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java new file mode 100644 index 0000000000..6f2b1def6f --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerStaffGridEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户人员网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerStaffGridDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java new file mode 100644 index 0000000000..0c7c19c254 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerStaffOrganizationEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户人员组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerStaffOrganizationDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java new file mode 100644 index 0000000000..21c279d181 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.CustomerStaffRoleEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 客户人员角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface CustomerStaffRoleDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java b/gov-org/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java new file mode 100644 index 0000000000..44b4dc43da --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.dao; + +import com.epmet.commons.mybatis.dao.BaseDao; +import com.epmet.entity.PdmanDbVersionEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Mapper +public interface PdmanDbVersionDao extends BaseDao { + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java new file mode 100644 index 0000000000..2ec4a1e951 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java @@ -0,0 +1,71 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_department") +public class CustomerDepartmentEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * 客户ID + */ + private String customerId; + + /** + * 所属组织ID + */ + private String orgId; + + /** + * 上级组织ID 用于查找归口部门 + */ + private String orgPid; + + /** + * 部门名称 + */ + private String depatmentName; + + /** + * 部门编码 + */ + private String depatmentCode; + + /** + * 排序 + */ + private Integer sort; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java new file mode 100644 index 0000000000..1e101c1a5b --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java @@ -0,0 +1,86 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_grid") +public class CustomerGridEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * 客户ID + */ + private String customerId; + + /** + * 网格名称 + */ + private String gridName; + + /** + * 网格编码 + */ + private String gridCode; + + /** + * 上级组织ID + */ + private String pid; + + /** + * 所有上级组织ID + */ + private String pids; + + /** + * 排序 + */ + private Integer sort; + + /** + * 中心位置经度 + */ + private String longitude; + + /** + * 中心位置纬度 + */ + private String latitude; + + /** + * 所属地区码 + */ + private String areaCode; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java new file mode 100644 index 0000000000..3a7f9343d1 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java @@ -0,0 +1,86 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_organization") +public class CustomerOrganizationEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * ID + */ + private String id; + + /** + * 客户ID + */ + private String customerId; + + /** + * 上级组织ID + */ + private String pid; + + /** + * 所有上级组织ID + */ + private String pids; + + /** + * 组织名称 + */ + private String organizationName; + + /** + * 组织编码 + */ + private String organizationCode; + + /** + * 级别 字典表key:level + */ + private Integer level; + + /** + * 地区码 阿里云公共api + */ + private Integer areaCode; + + /** + * 排序 + */ + private Integer sort; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java new file mode 100644 index 0000000000..60a71919ab --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java @@ -0,0 +1,51 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户归口部门关系表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_relevant_department") +public class CustomerRelevantDepartmentEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * 部门ID + */ + private String departmentId; + + /** + * 归口部门ID + */ + private String relevantDepartmentId; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java new file mode 100644 index 0000000000..9cca6a932b --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java @@ -0,0 +1,61 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_role") +public class CustomerRoleEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * 客户ID + */ + private String customerId; + + /** + * 角色名称 + */ + private String roleName; + + /** + * 角色编码 + */ + private String roleCode; + + /** + * 排序 + */ + private Integer sort; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java new file mode 100644 index 0000000000..55da3442ad --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java @@ -0,0 +1,56 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户人员部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_staff_department") +public class CustomerStaffDepartmentEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * 客户ID + */ + private String customerId; + + /** + * 用户ID + */ + private String staffId; + + /** + * 部门ID + */ + private String departmentiD; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java new file mode 100644 index 0000000000..6452776bfd --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java @@ -0,0 +1,56 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户人员网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_staff_grid") +public class CustomerStaffGridEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * 客户ID + */ + private String customerId; + + /** + * 用户ID + */ + private String staffId; + + /** + * 网格ID + */ + private String gridId; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java new file mode 100644 index 0000000000..0bab4abcd3 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java @@ -0,0 +1,61 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户人员组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_staff_organization") +public class CustomerStaffOrganizationEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * 客户ID + */ + private String customerId; + + /** + * 用户ID + */ + private String staffId; + + /** + * 组织ID + */ + private String orgId; + + /** + * 级别 + */ + private Integer level; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java new file mode 100644 index 0000000000..be4deaba69 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java @@ -0,0 +1,51 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * 客户人员角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("customer_staff_role") +public class CustomerStaffRoleEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * 用户ID + */ + private String staffId; + + /** + * 角色ID + */ + private String roleId; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java b/gov-org/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java new file mode 100644 index 0000000000..9a9e181918 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java @@ -0,0 +1,51 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.entity; + +import com.baomidou.mybatisplus.annotation.TableName; + +import com.epmet.commons.mybatis.entity.BaseEpmetEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.util.Date; + +/** + * + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +@EqualsAndHashCode(callSuper=false) +@TableName("pdman_db_version") +public class PdmanDbVersionEntity extends BaseEpmetEntity { + + private static final long serialVersionUID = 1L; + + /** + * + */ + private String dbVersion; + + /** + * + */ + private String versionDesc; + +} diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java new file mode 100644 index 0000000000..0be683105c --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java @@ -0,0 +1,74 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerDepartmentExcel { + + @Excel(name = "ID 唯一标识") + private String id; + + @Excel(name = "客户ID") + private String customerId; + + @Excel(name = "所属组织ID") + private String orgId; + + @Excel(name = "上级组织ID 用于查找归口部门") + private String orgPid; + + @Excel(name = "部门名称") + private String depatmentName; + + @Excel(name = "部门编码") + private String depatmentCode; + + @Excel(name = "排序") + private Integer sort; + + @Excel(name = "删除标识:0.未删除 1.已删除") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java new file mode 100644 index 0000000000..b0edac859e --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java @@ -0,0 +1,83 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerGridExcel { + + @Excel(name = "ID 唯一标识") + private String id; + + @Excel(name = "客户ID") + private String customerId; + + @Excel(name = "网格名称") + private String gridName; + + @Excel(name = "网格编码") + private String gridCode; + + @Excel(name = "上级组织ID") + private String pid; + + @Excel(name = "所有上级组织ID") + private String pids; + + @Excel(name = "排序") + private Integer sort; + + @Excel(name = "中心位置经度") + private String longitude; + + @Excel(name = "中心位置纬度") + private String latitude; + + @Excel(name = "所属地区码") + private String areaCode; + + @Excel(name = "删除标识:0.未删除 1.已删除") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java new file mode 100644 index 0000000000..89597a98fc --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java @@ -0,0 +1,80 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerOrganizationExcel { + + @Excel(name = "ID") + private String id; + + @Excel(name = "客户ID") + private String customerId; + + @Excel(name = "上级组织ID") + private String pid; + + @Excel(name = "所有上级组织ID") + private String pids; + + @Excel(name = "组织名称") + private String organizationName; + + @Excel(name = "组织编码") + private String organizationCode; + + @Excel(name = "级别 字典表key:level") + private Integer level; + + @Excel(name = "地区码 阿里云公共api") + private Integer areaCode; + + @Excel(name = "排序") + private Integer sort; + + @Excel(name = "删除标识") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java new file mode 100644 index 0000000000..92e3f54489 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java @@ -0,0 +1,62 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户归口部门关系表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerRelevantDepartmentExcel { + + @Excel(name = "ID") + private String id; + + @Excel(name = "部门ID") + private String departmentId; + + @Excel(name = "归口部门ID") + private String relevantDepartmentId; + + @Excel(name = "删除标识") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java new file mode 100644 index 0000000000..9fde7b496b --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java @@ -0,0 +1,68 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerRoleExcel { + + @Excel(name = "ID") + private String id; + + @Excel(name = "客户ID") + private String customerId; + + @Excel(name = "角色名称") + private String roleName; + + @Excel(name = "角色编码") + private String roleCode; + + @Excel(name = "排序") + private Integer sort; + + @Excel(name = "删除标识") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java new file mode 100644 index 0000000000..3803bee96c --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java @@ -0,0 +1,65 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户人员部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerStaffDepartmentExcel { + + @Excel(name = "ID") + private String id; + + @Excel(name = "客户ID") + private String customerId; + + @Excel(name = "用户ID") + private String staffId; + + @Excel(name = "部门ID") + private String departmentiD; + + @Excel(name = "删除标识") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java new file mode 100644 index 0000000000..824316ff8f --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java @@ -0,0 +1,65 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户人员网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerStaffGridExcel { + + @Excel(name = "ID") + private String id; + + @Excel(name = "客户ID") + private String customerId; + + @Excel(name = "用户ID") + private String staffId; + + @Excel(name = "网格ID") + private String gridId; + + @Excel(name = "删除标识") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java new file mode 100644 index 0000000000..313949ca7c --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java @@ -0,0 +1,68 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户人员组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerStaffOrganizationExcel { + + @Excel(name = "ID") + private String id; + + @Excel(name = "客户ID") + private String customerId; + + @Excel(name = "用户ID") + private String staffId; + + @Excel(name = "组织ID") + private String orgId; + + @Excel(name = "级别") + private Integer level; + + @Excel(name = "删除标识") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java new file mode 100644 index 0000000000..b8a8fc05ac --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java @@ -0,0 +1,62 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * 客户人员角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class CustomerStaffRoleExcel { + + @Excel(name = "ID") + private String id; + + @Excel(name = "用户ID") + private String staffId; + + @Excel(name = "角色ID") + private String roleId; + + @Excel(name = "删除标识") + private Integer delFlag; + + @Excel(name = "乐观锁") + private Integer revision; + + @Excel(name = "创建人") + private String createdBy; + + @Excel(name = "创建时间") + private Date createdTime; + + @Excel(name = "更新人") + private String updatedBy; + + @Excel(name = "更新时间") + private Date updatedTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java b/gov-org/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java new file mode 100644 index 0000000000..1bb5b05b13 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java @@ -0,0 +1,44 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.excel; + +import cn.afterturn.easypoi.excel.annotation.Excel; +import lombok.Data; + +import java.util.Date; + +/** + * + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Data +public class PdmanDbVersionExcel { + + @Excel(name = "") + private String dbVersion; + + @Excel(name = "") + private String versionDesc; + + @Excel(name = "") + private String createdTime; + + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java new file mode 100644 index 0000000000..92452e202c --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerDepartmentRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java new file mode 100644 index 0000000000..3d69fe3ca8 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerGridRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java new file mode 100644 index 0000000000..9205ed1744 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerOrganizationRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java new file mode 100644 index 0000000000..42714c551b --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户归口部门关系表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerRelevantDepartmentRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java new file mode 100644 index 0000000000..5f0eed0bce --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerRoleRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java new file mode 100644 index 0000000000..b2d6ed382a --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户人员部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerStaffDepartmentRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java new file mode 100644 index 0000000000..4d0a0b4732 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户人员网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerStaffGridRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java new file mode 100644 index 0000000000..c953577757 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户人员组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerStaffOrganizationRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java new file mode 100644 index 0000000000..880014e64b --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * 客户人员角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class CustomerStaffRoleRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java b/gov-org/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java new file mode 100644 index 0000000000..df050721f3 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java @@ -0,0 +1,47 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.redis; + +import com.epmet.commons.tools.redis.RedisUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Component +public class PdmanDbVersionRedis { + @Autowired + private RedisUtils redisUtils; + + public void delete(Object[] ids) { + + } + + public void set(){ + + } + + public String get(String id){ + return null; + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java new file mode 100644 index 0000000000..46a5016af2 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerDepartmentDTO; +import com.epmet.entity.CustomerDepartmentEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerDepartmentService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerDepartmentDTO + * @author generator + * @date 2020-03-16 + */ + CustomerDepartmentDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerDepartmentDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerDepartmentDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java new file mode 100644 index 0000000000..cdc050da2c --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerGridDTO; +import com.epmet.entity.CustomerGridEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerGridService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerGridDTO + * @author generator + * @date 2020-03-16 + */ + CustomerGridDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerGridDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerGridDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java new file mode 100644 index 0000000000..5071741b43 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerOrganizationDTO; +import com.epmet.entity.CustomerOrganizationEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerOrganizationService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerOrganizationDTO + * @author generator + * @date 2020-03-16 + */ + CustomerOrganizationDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerOrganizationDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerOrganizationDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java new file mode 100644 index 0000000000..742079da09 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerRelevantDepartmentDTO; +import com.epmet.entity.CustomerRelevantDepartmentEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户归口部门关系表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerRelevantDepartmentService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerRelevantDepartmentDTO + * @author generator + * @date 2020-03-16 + */ + CustomerRelevantDepartmentDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerRelevantDepartmentDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerRelevantDepartmentDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java new file mode 100644 index 0000000000..d5a7c70464 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerRoleDTO; +import com.epmet.entity.CustomerRoleEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerRoleService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerRoleDTO + * @author generator + * @date 2020-03-16 + */ + CustomerRoleDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerRoleDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerRoleDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java new file mode 100644 index 0000000000..4a3b7d4d53 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerStaffDepartmentDTO; +import com.epmet.entity.CustomerStaffDepartmentEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户人员部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerStaffDepartmentService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerStaffDepartmentDTO + * @author generator + * @date 2020-03-16 + */ + CustomerStaffDepartmentDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerStaffDepartmentDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerStaffDepartmentDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java new file mode 100644 index 0000000000..9ebc45c530 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerStaffGridDTO; +import com.epmet.entity.CustomerStaffGridEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户人员网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerStaffGridService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerStaffGridDTO + * @author generator + * @date 2020-03-16 + */ + CustomerStaffGridDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerStaffGridDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerStaffGridDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java new file mode 100644 index 0000000000..d49c9a9ab7 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerStaffOrganizationDTO; +import com.epmet.entity.CustomerStaffOrganizationEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户人员组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerStaffOrganizationService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerStaffOrganizationDTO + * @author generator + * @date 2020-03-16 + */ + CustomerStaffOrganizationDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerStaffOrganizationDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerStaffOrganizationDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java new file mode 100644 index 0000000000..dcf9dd19e1 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.CustomerStaffRoleDTO; +import com.epmet.entity.CustomerStaffRoleEntity; + +import java.util.List; +import java.util.Map; + +/** + * 客户人员角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface CustomerStaffRoleService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return CustomerStaffRoleDTO + * @author generator + * @date 2020-03-16 + */ + CustomerStaffRoleDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(CustomerStaffRoleDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(CustomerStaffRoleDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java new file mode 100644 index 0000000000..2b869d27c9 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java @@ -0,0 +1,95 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service; + +import com.epmet.commons.mybatis.service.BaseService; +import com.epmet.commons.tools.page.PageData; +import com.epmet.dto.PdmanDbVersionDTO; +import com.epmet.entity.PdmanDbVersionEntity; + +import java.util.List; +import java.util.Map; + +/** + * + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +public interface PdmanDbVersionService extends BaseService { + + /** + * 默认分页 + * + * @param params + * @return PageData + * @author generator + * @date 2020-03-16 + */ + PageData page(Map params); + + /** + * 默认查询 + * + * @param params + * @return java.util.List + * @author generator + * @date 2020-03-16 + */ + List list(Map params); + + /** + * 单条查询 + * + * @param id + * @return PdmanDbVersionDTO + * @author generator + * @date 2020-03-16 + */ + PdmanDbVersionDTO get(String id); + + /** + * 默认保存 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void save(PdmanDbVersionDTO dto); + + /** + * 默认更新 + * + * @param dto + * @return void + * @author generator + * @date 2020-03-16 + */ + void update(PdmanDbVersionDTO dto); + + /** + * 批量删除 + * + * @param ids + * @return void + * @author generator + * @date 2020-03-16 + */ + void delete(String[] ids); +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java new file mode 100644 index 0000000000..f7e78d5f23 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerDepartmentDao; +import com.epmet.dto.CustomerDepartmentDTO; +import com.epmet.entity.CustomerDepartmentEntity; +import com.epmet.redis.CustomerDepartmentRedis; +import com.epmet.service.CustomerDepartmentService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerDepartmentServiceImpl extends BaseServiceImpl implements CustomerDepartmentService { + + @Autowired + private CustomerDepartmentRedis customerDepartmentRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerDepartmentDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerDepartmentDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerDepartmentDTO get(String id) { + CustomerDepartmentEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerDepartmentDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerDepartmentDTO dto) { + CustomerDepartmentEntity entity = ConvertUtils.sourceToTarget(dto, CustomerDepartmentEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerDepartmentDTO dto) { + CustomerDepartmentEntity entity = ConvertUtils.sourceToTarget(dto, CustomerDepartmentEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java new file mode 100644 index 0000000000..2058bf4d79 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerGridDao; +import com.epmet.dto.CustomerGridDTO; +import com.epmet.entity.CustomerGridEntity; +import com.epmet.redis.CustomerGridRedis; +import com.epmet.service.CustomerGridService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerGridServiceImpl extends BaseServiceImpl implements CustomerGridService { + + @Autowired + private CustomerGridRedis customerGridRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerGridDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerGridDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerGridDTO get(String id) { + CustomerGridEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerGridDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerGridDTO dto) { + CustomerGridEntity entity = ConvertUtils.sourceToTarget(dto, CustomerGridEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerGridDTO dto) { + CustomerGridEntity entity = ConvertUtils.sourceToTarget(dto, CustomerGridEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java new file mode 100644 index 0000000000..883aa63409 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerOrganizationDao; +import com.epmet.dto.CustomerOrganizationDTO; +import com.epmet.entity.CustomerOrganizationEntity; +import com.epmet.redis.CustomerOrganizationRedis; +import com.epmet.service.CustomerOrganizationService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerOrganizationServiceImpl extends BaseServiceImpl implements CustomerOrganizationService { + + @Autowired + private CustomerOrganizationRedis customerOrganizationRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerOrganizationDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerOrganizationDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerOrganizationDTO get(String id) { + CustomerOrganizationEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerOrganizationDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerOrganizationDTO dto) { + CustomerOrganizationEntity entity = ConvertUtils.sourceToTarget(dto, CustomerOrganizationEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerOrganizationDTO dto) { + CustomerOrganizationEntity entity = ConvertUtils.sourceToTarget(dto, CustomerOrganizationEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java new file mode 100644 index 0000000000..090d95b5cc --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerRelevantDepartmentDao; +import com.epmet.dto.CustomerRelevantDepartmentDTO; +import com.epmet.entity.CustomerRelevantDepartmentEntity; +import com.epmet.redis.CustomerRelevantDepartmentRedis; +import com.epmet.service.CustomerRelevantDepartmentService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户归口部门关系表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerRelevantDepartmentServiceImpl extends BaseServiceImpl implements CustomerRelevantDepartmentService { + + @Autowired + private CustomerRelevantDepartmentRedis customerRelevantDepartmentRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerRelevantDepartmentDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerRelevantDepartmentDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerRelevantDepartmentDTO get(String id) { + CustomerRelevantDepartmentEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerRelevantDepartmentDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerRelevantDepartmentDTO dto) { + CustomerRelevantDepartmentEntity entity = ConvertUtils.sourceToTarget(dto, CustomerRelevantDepartmentEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerRelevantDepartmentDTO dto) { + CustomerRelevantDepartmentEntity entity = ConvertUtils.sourceToTarget(dto, CustomerRelevantDepartmentEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java new file mode 100644 index 0000000000..6b7011bc29 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerRoleDao; +import com.epmet.dto.CustomerRoleDTO; +import com.epmet.entity.CustomerRoleEntity; +import com.epmet.redis.CustomerRoleRedis; +import com.epmet.service.CustomerRoleService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerRoleServiceImpl extends BaseServiceImpl implements CustomerRoleService { + + @Autowired + private CustomerRoleRedis customerRoleRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerRoleDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerRoleDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerRoleDTO get(String id) { + CustomerRoleEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerRoleDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerRoleDTO dto) { + CustomerRoleEntity entity = ConvertUtils.sourceToTarget(dto, CustomerRoleEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerRoleDTO dto) { + CustomerRoleEntity entity = ConvertUtils.sourceToTarget(dto, CustomerRoleEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java new file mode 100644 index 0000000000..1273b9fa90 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerStaffDepartmentDao; +import com.epmet.dto.CustomerStaffDepartmentDTO; +import com.epmet.entity.CustomerStaffDepartmentEntity; +import com.epmet.redis.CustomerStaffDepartmentRedis; +import com.epmet.service.CustomerStaffDepartmentService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户人员部门表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerStaffDepartmentServiceImpl extends BaseServiceImpl implements CustomerStaffDepartmentService { + + @Autowired + private CustomerStaffDepartmentRedis customerStaffDepartmentRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerStaffDepartmentDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerStaffDepartmentDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerStaffDepartmentDTO get(String id) { + CustomerStaffDepartmentEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerStaffDepartmentDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerStaffDepartmentDTO dto) { + CustomerStaffDepartmentEntity entity = ConvertUtils.sourceToTarget(dto, CustomerStaffDepartmentEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerStaffDepartmentDTO dto) { + CustomerStaffDepartmentEntity entity = ConvertUtils.sourceToTarget(dto, CustomerStaffDepartmentEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java new file mode 100644 index 0000000000..0ba3e593a1 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerStaffGridDao; +import com.epmet.dto.CustomerStaffGridDTO; +import com.epmet.entity.CustomerStaffGridEntity; +import com.epmet.redis.CustomerStaffGridRedis; +import com.epmet.service.CustomerStaffGridService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户人员网格表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerStaffGridServiceImpl extends BaseServiceImpl implements CustomerStaffGridService { + + @Autowired + private CustomerStaffGridRedis customerStaffGridRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerStaffGridDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerStaffGridDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerStaffGridDTO get(String id) { + CustomerStaffGridEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerStaffGridDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerStaffGridDTO dto) { + CustomerStaffGridEntity entity = ConvertUtils.sourceToTarget(dto, CustomerStaffGridEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerStaffGridDTO dto) { + CustomerStaffGridEntity entity = ConvertUtils.sourceToTarget(dto, CustomerStaffGridEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java new file mode 100644 index 0000000000..cabbdbf497 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerStaffOrganizationDao; +import com.epmet.dto.CustomerStaffOrganizationDTO; +import com.epmet.entity.CustomerStaffOrganizationEntity; +import com.epmet.redis.CustomerStaffOrganizationRedis; +import com.epmet.service.CustomerStaffOrganizationService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户人员组织表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerStaffOrganizationServiceImpl extends BaseServiceImpl implements CustomerStaffOrganizationService { + + @Autowired + private CustomerStaffOrganizationRedis customerStaffOrganizationRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerStaffOrganizationDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerStaffOrganizationDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerStaffOrganizationDTO get(String id) { + CustomerStaffOrganizationEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerStaffOrganizationDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerStaffOrganizationDTO dto) { + CustomerStaffOrganizationEntity entity = ConvertUtils.sourceToTarget(dto, CustomerStaffOrganizationEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerStaffOrganizationDTO dto) { + CustomerStaffOrganizationEntity entity = ConvertUtils.sourceToTarget(dto, CustomerStaffOrganizationEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java new file mode 100644 index 0000000000..52835fe03c --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.CustomerStaffRoleDao; +import com.epmet.dto.CustomerStaffRoleDTO; +import com.epmet.entity.CustomerStaffRoleEntity; +import com.epmet.redis.CustomerStaffRoleRedis; +import com.epmet.service.CustomerStaffRoleService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * 客户人员角色表 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class CustomerStaffRoleServiceImpl extends BaseServiceImpl implements CustomerStaffRoleService { + + @Autowired + private CustomerStaffRoleRedis customerStaffRoleRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, CustomerStaffRoleDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, CustomerStaffRoleDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public CustomerStaffRoleDTO get(String id) { + CustomerStaffRoleEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, CustomerStaffRoleDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(CustomerStaffRoleDTO dto) { + CustomerStaffRoleEntity entity = ConvertUtils.sourceToTarget(dto, CustomerStaffRoleEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(CustomerStaffRoleDTO dto) { + CustomerStaffRoleEntity entity = ConvertUtils.sourceToTarget(dto, CustomerStaffRoleEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java new file mode 100644 index 0000000000..59143774d9 --- /dev/null +++ b/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java @@ -0,0 +1,104 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * 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. + *

+ * 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. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.epmet.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; +import com.epmet.commons.tools.page.PageData; +import com.epmet.commons.tools.utils.ConvertUtils; +import com.epmet.commons.tools.constant.FieldConstant; +import com.epmet.dao.PdmanDbVersionDao; +import com.epmet.dto.PdmanDbVersionDTO; +import com.epmet.entity.PdmanDbVersionEntity; +import com.epmet.redis.PdmanDbVersionRedis; +import com.epmet.service.PdmanDbVersionService; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; + +/** + * + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2020-03-16 + */ +@Service +public class PdmanDbVersionServiceImpl extends BaseServiceImpl implements PdmanDbVersionService { + + @Autowired + private PdmanDbVersionRedis pdmanDbVersionRedis; + + @Override + public PageData page(Map params) { + IPage page = baseDao.selectPage( + getPage(params, FieldConstant.CREATED_TIME, false), + getWrapper(params) + ); + return getPageData(page, PdmanDbVersionDTO.class); + } + + @Override + public List list(Map params) { + List entityList = baseDao.selectList(getWrapper(params)); + + return ConvertUtils.sourceToTarget(entityList, PdmanDbVersionDTO.class); + } + + private QueryWrapper getWrapper(Map params){ + String id = (String)params.get(FieldConstant.ID_HUMP); + + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); + + return wrapper; + } + + @Override + public PdmanDbVersionDTO get(String id) { + PdmanDbVersionEntity entity = baseDao.selectById(id); + return ConvertUtils.sourceToTarget(entity, PdmanDbVersionDTO.class); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void save(PdmanDbVersionDTO dto) { + PdmanDbVersionEntity entity = ConvertUtils.sourceToTarget(dto, PdmanDbVersionEntity.class); + insert(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void update(PdmanDbVersionDTO dto) { + PdmanDbVersionEntity entity = ConvertUtils.sourceToTarget(dto, PdmanDbVersionEntity.class); + updateById(entity); + } + + @Override + @Transactional(rollbackFor = Exception.class) + public void delete(String[] ids) { + // 逻辑删除(@TableLogic 注解) + baseDao.deleteBatchIds(Arrays.asList(ids)); + } + +} \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/bootstrap.yml b/gov-org/gov-org-server/src/main/resources/bootstrap.yml new file mode 100644 index 0000000000..49bac0aa3d --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/bootstrap.yml @@ -0,0 +1,117 @@ +server: + port: @server.port@ + servlet: + context-path: /gov/org + +spring: + main: + allow-bean-definition-overriding: true + application: + name: gov-org-server + #环境 dev|test|prod + profiles: + active: dev + messages: + encoding: UTF-8 + basename: i18n/messages_common + jackson: + time-zone: GMT+8 + date-format: yyyy-MM-dd HH:mm:ss + redis: + database: @spring.redis.index@ + host: @spring.redis.host@ + port: @spring.redis.port@ + password: @spring.redis.password@ + timeout: 30s + datasource: + druid: + #MySQL + driver-class-name: com.mysql.cj.jdbc.Driver + url: @spring.datasource.druid.url@ + username: @spring.datasource.druid.username@ + password: @spring.datasource.druid.password@ + initial-size: 10 + max-active: 100 + min-idle: 10 + max-wait: 60000 + pool-prepared-statements: true + max-pool-prepared-statement-per-connection-size: 20 + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 300000 + #Oracle需要打开注释 + #validation-query: SELECT 1 FROM DUAL + test-while-idle: true + test-on-borrow: false + test-on-return: false + filter: + stat: + log-slow-sql: true + slow-sql-millis: 1000 + merge-sql: false + wall: + config: + multi-statement-allow: true + cloud: + nacos: + discovery: + server-addr: @nacos.server-addr@ + #nacos的命名空间ID,默认是public + namespace: @nacos.discovery.namespace@ + #不把自己注册到注册中心的地址 + register-enabled: @nacos.register-enabled@ + ip: @nacos.ip@ + config: + enabled: @nacos.config-enabled@ + server-addr: @nacos.server-addr@ + namespace: @nacos.config.namespace@ + group: @nacos.config.group@ + file-extension: yaml +management: + endpoints: + web: + exposure: + include: "*" + endpoint: + health: + show-details: ALWAYS + +mybatis-plus: + mapper-locations: classpath:/mapper/**/*.xml + #实体扫描,多个package用逗号或者分号分隔 + typeAliasesPackage: com.epmet.entity + global-config: + #数据库相关配置 + db-config: + #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID"; + id-type: ID_WORKER + banner: false + #原生配置 + configuration: + map-underscore-to-camel-case: true + cache-enabled: false + call-setters-on-nulls: true + jdbc-type-for-null: 'null' + +feign: + hystrix: + enabled: true + client: + config: + default: + loggerLevel: BASIC + httpclient: + enabled: true + max-connections: 200 + max-connections-per-route: 50 + +hystrix: + command: + default: + execution: + isolation: + thread: + timeoutInMilliseconds: 60000 #缺省为1000 + +ribbon: + ReadTimeout: 300000 + ConnectTimeout: 300000 diff --git a/epmet-module/resi-guide/resi-guide-server/src/main/resources/logback-spring.xml b/gov-org/gov-org-server/src/main/resources/logback-spring.xml similarity index 99% rename from epmet-module/resi-guide/resi-guide-server/src/main/resources/logback-spring.xml rename to gov-org/gov-org-server/src/main/resources/logback-spring.xml index 6f0e508a90..ed77f25d1f 100644 --- a/epmet-module/resi-guide/resi-guide-server/src/main/resources/logback-spring.xml +++ b/gov-org/gov-org-server/src/main/resources/logback-spring.xml @@ -2,7 +2,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml new file mode 100644 index 0000000000..5765fffd44 --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml new file mode 100644 index 0000000000..a426a91bb1 --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml new file mode 100644 index 0000000000..ee49f84cc7 --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml new file mode 100644 index 0000000000..23a4f2e60f --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml new file mode 100644 index 0000000000..b2c7feb516 --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml new file mode 100644 index 0000000000..5d41eddab2 --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml new file mode 100644 index 0000000000..6c803aea76 --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml new file mode 100644 index 0000000000..8d1b32c0e1 --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml b/gov-org/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml new file mode 100644 index 0000000000..f265a47684 --- /dev/null +++ b/gov-org/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/gov-org/pom.xml b/gov-org/pom.xml new file mode 100644 index 0000000000..55049442f5 --- /dev/null +++ b/gov-org/pom.xml @@ -0,0 +1,21 @@ + + + 4.0.0 + + + com.epmet + epmet-cloud + 2.0.0 + + + com.epmet + gov-org + pom + + + gov-org-client + gov-org-server + + + diff --git a/pom.xml b/pom.xml index 741f491b12..d8ef348870 100644 --- a/pom.xml +++ b/pom.xml @@ -27,6 +27,7 @@ epmet-admin epmet-module epmet-user + gov-org From bc0ad38a3389c7c61c631d9b60f0e50dfeef8476 Mon Sep 17 00:00:00 2001 From: wangchao Date: Tue, 17 Mar 2020 10:34:01 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=94=BF=E5=BA=9C=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=A7=BB=E5=88=B0epmet-module=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=B8=8B=EF=BC=8Cepmet-module=E7=9A=84pom=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E5=88=A0=E9=99=A4=E5=8E=9Fepmet-api=E7=9A=84?= =?UTF-8?q?=E5=BC=95=E7=94=A8=EF=BC=8C=E4=BF=AE=E6=94=B9epmet-gateway?= =?UTF-8?q?=E4=B8=ADbootstap.yaml=E4=B8=AD=E9=85=8D=E7=BD=AE=E7=9A=84?= =?UTF-8?q?=E8=B7=AF=E7=94=B1order=E4=BF=A1=E6=81=AF=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9gov-org-server=E7=9A=84=E9=BB=98=E8=AE=A4=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3=E5=8F=B7=E4=B8=BA8092?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epmet-gateway/src/main/resources/bootstrap.yml | 16 ++++++++-------- .../gov-org}/gov-org-client/pom.xml | 0 .../com/epmet/dto/CustomerDepartmentDTO.java | 0 .../main/java/com/epmet/dto/CustomerGridDTO.java | 0 .../com/epmet/dto/CustomerOrganizationDTO.java | 0 .../epmet/dto/CustomerRelevantDepartmentDTO.java | 0 .../main/java/com/epmet/dto/CustomerRoleDTO.java | 0 .../epmet/dto/CustomerStaffDepartmentDTO.java | 0 .../java/com/epmet/dto/CustomerStaffGridDTO.java | 0 .../epmet/dto/CustomerStaffOrganizationDTO.java | 0 .../java/com/epmet/dto/CustomerStaffRoleDTO.java | 0 .../java/com/epmet/dto/PdmanDbVersionDTO.java | 0 .../gov-org}/gov-org-server/pom.xml | 4 ++-- .../main/java/com/epmet/GovOrgApplication.java | 0 .../java/com/epmet/config/ModuleConfigImpl.java | 0 .../java/com/epmet/config/SwaggerConfig.java | 0 .../controller/CustomerDepartmentController.java | 0 .../epmet/controller/CustomerGridController.java | 0 .../CustomerOrganizationController.java | 0 .../CustomerRelevantDepartmentController.java | 0 .../epmet/controller/CustomerRoleController.java | 0 .../CustomerStaffDepartmentController.java | 0 .../controller/CustomerStaffGridController.java | 0 .../CustomerStaffOrganizationController.java | 0 .../controller/CustomerStaffRoleController.java | 0 .../controller/PdmanDbVersionController.java | 0 .../com/epmet/dao/CustomerDepartmentDao.java | 0 .../main/java/com/epmet/dao/CustomerGridDao.java | 0 .../com/epmet/dao/CustomerOrganizationDao.java | 0 .../epmet/dao/CustomerRelevantDepartmentDao.java | 0 .../main/java/com/epmet/dao/CustomerRoleDao.java | 0 .../epmet/dao/CustomerStaffDepartmentDao.java | 0 .../java/com/epmet/dao/CustomerStaffGridDao.java | 0 .../epmet/dao/CustomerStaffOrganizationDao.java | 0 .../java/com/epmet/dao/CustomerStaffRoleDao.java | 0 .../java/com/epmet/dao/PdmanDbVersionDao.java | 0 .../epmet/entity/CustomerDepartmentEntity.java | 0 .../com/epmet/entity/CustomerGridEntity.java | 0 .../epmet/entity/CustomerOrganizationEntity.java | 0 .../entity/CustomerRelevantDepartmentEntity.java | 0 .../com/epmet/entity/CustomerRoleEntity.java | 0 .../entity/CustomerStaffDepartmentEntity.java | 0 .../epmet/entity/CustomerStaffGridEntity.java | 0 .../entity/CustomerStaffOrganizationEntity.java | 0 .../epmet/entity/CustomerStaffRoleEntity.java | 0 .../com/epmet/entity/PdmanDbVersionEntity.java | 0 .../com/epmet/excel/CustomerDepartmentExcel.java | 0 .../java/com/epmet/excel/CustomerGridExcel.java | 0 .../epmet/excel/CustomerOrganizationExcel.java | 0 .../excel/CustomerRelevantDepartmentExcel.java | 0 .../java/com/epmet/excel/CustomerRoleExcel.java | 0 .../excel/CustomerStaffDepartmentExcel.java | 0 .../com/epmet/excel/CustomerStaffGridExcel.java | 0 .../excel/CustomerStaffOrganizationExcel.java | 0 .../com/epmet/excel/CustomerStaffRoleExcel.java | 0 .../com/epmet/excel/PdmanDbVersionExcel.java | 0 .../com/epmet/redis/CustomerDepartmentRedis.java | 0 .../java/com/epmet/redis/CustomerGridRedis.java | 0 .../epmet/redis/CustomerOrganizationRedis.java | 0 .../redis/CustomerRelevantDepartmentRedis.java | 0 .../java/com/epmet/redis/CustomerRoleRedis.java | 0 .../redis/CustomerStaffDepartmentRedis.java | 0 .../com/epmet/redis/CustomerStaffGridRedis.java | 0 .../redis/CustomerStaffOrganizationRedis.java | 0 .../com/epmet/redis/CustomerStaffRoleRedis.java | 0 .../com/epmet/redis/PdmanDbVersionRedis.java | 0 .../epmet/service/CustomerDepartmentService.java | 0 .../com/epmet/service/CustomerGridService.java | 0 .../service/CustomerOrganizationService.java | 0 .../CustomerRelevantDepartmentService.java | 0 .../com/epmet/service/CustomerRoleService.java | 0 .../service/CustomerStaffDepartmentService.java | 0 .../epmet/service/CustomerStaffGridService.java | 0 .../CustomerStaffOrganizationService.java | 0 .../epmet/service/CustomerStaffRoleService.java | 0 .../com/epmet/service/PdmanDbVersionService.java | 0 .../impl/CustomerDepartmentServiceImpl.java | 0 .../service/impl/CustomerGridServiceImpl.java | 0 .../impl/CustomerOrganizationServiceImpl.java | 0 .../CustomerRelevantDepartmentServiceImpl.java | 0 .../service/impl/CustomerRoleServiceImpl.java | 0 .../impl/CustomerStaffDepartmentServiceImpl.java | 0 .../impl/CustomerStaffGridServiceImpl.java | 0 .../CustomerStaffOrganizationServiceImpl.java | 0 .../impl/CustomerStaffRoleServiceImpl.java | 0 .../service/impl/PdmanDbVersionServiceImpl.java | 0 .../src/main/resources/bootstrap.yml | 0 .../src/main/resources/logback-spring.xml | 0 .../resources/mapper/CustomerDepartmentDao.xml | 0 .../main/resources/mapper/CustomerGridDao.xml | 0 .../resources/mapper/CustomerOrganizationDao.xml | 0 .../mapper/CustomerRelevantDepartmentDao.xml | 0 .../main/resources/mapper/CustomerRoleDao.xml | 0 .../mapper/CustomerStaffDepartmentDao.xml | 0 .../resources/mapper/CustomerStaffGridDao.xml | 0 .../mapper/CustomerStaffOrganizationDao.xml | 0 .../resources/mapper/CustomerStaffRoleDao.xml | 0 .../main/resources/mapper/PdmanDbVersionDao.xml | 0 {gov-org => epmet-module/gov-org}/pom.xml | 2 +- epmet-module/pom.xml | 2 +- 100 files changed, 12 insertions(+), 12 deletions(-) rename {gov-org => epmet-module/gov-org}/gov-org-client/pom.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/pom.xml (98%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/bootstrap.yml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/logback-spring.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerDepartmentDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml (100%) rename {gov-org => epmet-module/gov-org}/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml (100%) rename {gov-org => epmet-module/gov-org}/pom.xml (93%) diff --git a/epmet-gateway/src/main/resources/bootstrap.yml b/epmet-gateway/src/main/resources/bootstrap.yml index 309844844d..4644b5a062 100644 --- a/epmet-gateway/src/main/resources/bootstrap.yml +++ b/epmet-gateway/src/main/resources/bootstrap.yml @@ -69,7 +69,7 @@ spring: #工作流服务 - id: epmet-activiti-server uri: @gateway.routes.epmet-activiti-server.uri@ - order: 5 + order: 6 predicates: - Path=${server.servlet.context-path}/activiti/** filters: @@ -77,7 +77,7 @@ spring: #定时任务服务 - id: epmet-job-server uri: @gateway.routes.epmet-job-server.uri@ - order: 6 + order: 7 predicates: - Path=${server.servlet.context-path}/job/** filters: @@ -85,7 +85,7 @@ spring: #用户服务 - id: epmet-user-server uri: @gateway.routes.epmet-user-server.uri@ - order: 7 + order: 8 predicates: - Path=${server.servlet.context-path}/epmetuser/** filters: @@ -93,7 +93,7 @@ spring: #demo流服务 - id: epmet-demo-server uri: @gateway.routes.epmet-demo-server.uri@ - order: 8 + order: 9 predicates: - Path=${server.servlet.context-path}/demo/** filters: @@ -101,7 +101,7 @@ spring: #运营端客户定制化服务 - id: oper-customize-server uri: @gateway.routes.oper-customize-server.uri@ - order: 9 + order: 10 predicates: - Path=${server.servlet.context-path}/oper/customize/** filters: @@ -109,7 +109,7 @@ spring: #运营端客户管理 - id: oper-crm-server uri: @gateway.routes.oper-crm-server.uri@ - order: 9 + order: 11 predicates: - Path=${server.servlet.context-path}/oper/crm/** filters: @@ -117,7 +117,7 @@ spring: #居民端陌生人导览 - id: resi-guide-server uri: @gateway.routes.resi-guide-server.uri@ - order: 10 + order: 12 predicates: - Path=${server.servlet.context-path}/resi/guide/** filters: @@ -125,7 +125,7 @@ spring: #政府端组织管理 - id: gov-org-server uri: @gateway.routes.gov-org-server.uri@ - order: 10 + order: 13 predicates: - Path=${server.servlet.context-path}/gov/org/** filters: diff --git a/gov-org/gov-org-client/pom.xml b/epmet-module/gov-org/gov-org-client/pom.xml similarity index 100% rename from gov-org/gov-org-client/pom.xml rename to epmet-module/gov-org/gov-org-client/pom.xml diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerDepartmentDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerGridDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerOrganizationDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRelevantDepartmentDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerRoleDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffDepartmentDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffGridDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffOrganizationDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/CustomerStaffRoleDTO.java diff --git a/gov-org/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java similarity index 100% rename from gov-org/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java rename to epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/PdmanDbVersionDTO.java diff --git a/gov-org/gov-org-server/pom.xml b/epmet-module/gov-org/gov-org-server/pom.xml similarity index 98% rename from gov-org/gov-org-server/pom.xml rename to epmet-module/gov-org/gov-org-server/pom.xml index 4efa0331da..d750db2d37 100644 --- a/gov-org/gov-org-server/pom.xml +++ b/epmet-module/gov-org/gov-org-server/pom.xml @@ -82,7 +82,7 @@ true - 8087 + 8092 dev @@ -112,7 +112,7 @@ true --> - 8087 + 8092 test diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/GovOrgApplication.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/config/ModuleConfigImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/config/SwaggerConfig.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerDepartmentController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerGridController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerOrganizationController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRelevantDepartmentController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerRoleController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffDepartmentController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffOrganizationController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffRoleController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PdmanDbVersionController.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerDepartmentDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerGridDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerOrganizationDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRelevantDepartmentDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerRoleDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffDepartmentDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffGridDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffOrganizationDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CustomerStaffRoleDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/PdmanDbVersionDao.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerDepartmentEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerGridEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerOrganizationEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRelevantDepartmentEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerRoleEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffDepartmentEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffGridEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffOrganizationEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerStaffRoleEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/PdmanDbVersionEntity.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerDepartmentExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerGridExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerOrganizationExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRelevantDepartmentExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerRoleExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffDepartmentExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffGridExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffOrganizationExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/CustomerStaffRoleExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/excel/PdmanDbVersionExcel.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerDepartmentRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerGridRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerOrganizationRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRelevantDepartmentRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerRoleRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffDepartmentRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffGridRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffOrganizationRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/CustomerStaffRoleRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/redis/PdmanDbVersionRedis.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerDepartmentService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerGridService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerOrganizationService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRelevantDepartmentService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerRoleService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffDepartmentService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffGridService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffOrganizationService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CustomerStaffRoleService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/PdmanDbVersionService.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerDepartmentServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerGridServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerOrganizationServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRelevantDepartmentServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerRoleServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffDepartmentServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffGridServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffOrganizationServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerStaffRoleServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java similarity index 100% rename from gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java rename to epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PdmanDbVersionServiceImpl.java diff --git a/gov-org/gov-org-server/src/main/resources/bootstrap.yml b/epmet-module/gov-org/gov-org-server/src/main/resources/bootstrap.yml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/bootstrap.yml rename to epmet-module/gov-org/gov-org-server/src/main/resources/bootstrap.yml diff --git a/gov-org/gov-org-server/src/main/resources/logback-spring.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/logback-spring.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/logback-spring.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/logback-spring.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerDepartmentDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerDepartmentDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerDepartmentDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerDepartmentDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerGridDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerOrganizationDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerRelevantDepartmentDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerRoleDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffDepartmentDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffGridDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffOrganizationDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CustomerStaffRoleDao.xml diff --git a/gov-org/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml similarity index 100% rename from gov-org/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml rename to epmet-module/gov-org/gov-org-server/src/main/resources/mapper/PdmanDbVersionDao.xml diff --git a/gov-org/pom.xml b/epmet-module/gov-org/pom.xml similarity index 93% rename from gov-org/pom.xml rename to epmet-module/gov-org/pom.xml index 55049442f5..0ef2ad2df6 100644 --- a/gov-org/pom.xml +++ b/epmet-module/gov-org/pom.xml @@ -5,7 +5,7 @@ com.epmet - epmet-cloud + epmet-module 2.0.0 diff --git a/epmet-module/pom.xml b/epmet-module/pom.xml index 5ab568cb98..571b2fed2c 100644 --- a/epmet-module/pom.xml +++ b/epmet-module/pom.xml @@ -18,11 +18,11 @@ epmet-job epmet-message epmet-activiti - epmet-api epmet-demo oper-customize oper-crm resi-guide + gov-org