Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
civil-bigdata
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
civil
civil-bigdata
Commits
59e91a04
Commit
59e91a04
authored
Aug 25, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改模块名
parent
83eb65a4
Hide whitespace changes
Inline
Side-by-side
Showing
116 changed files
with
462 additions
and
966 deletions
+462
-966
civil-common-utils/pom.xml
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/AnonymousAccess.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/DataPermission.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/Limit.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/Log.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/Query.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousDeleteMapping.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousGetMapping.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPatchMapping.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPostMapping.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPutMapping.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/base/AsyncConfig.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/base/CallBack.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/base/SpringContextHolder.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/base/UnifiedExceptionHandler.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/interceptor/UserInfoInterceptor.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/limit/LimitAspect.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/limit/LimitType.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/redis/BaseCacheKeys.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/redis/RedisConfig.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/redis/RedisUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/security/ApiTokenUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/config/security/SecurityProperties.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/constant/CloudConstant.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/constant/DBName.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/constant/SystemName.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/context/ContextUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/context/ThreadContext.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/encrypt/AesUtil.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/encrypt/DesUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/encrypt/EncryptUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/encrypt/RsaUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/ApiLog.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/AppUser.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/AppVersion.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/EnbuzStats.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/Pfuser.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/SysConfig.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/SystemArea.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/VBzCremationStats.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/VChildWelfareStats.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/VDemographics.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/VMarriageStats.java
+6
-3
civil-common-utils/src/main/java/com/zq/common/entity/VShjzAchieve.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/VShjzProvide.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/VShjzStats.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/entity/VSoorganStats.java
+6
-3
civil-common-utils/src/main/java/com/zq/common/exception/AuthorizationException.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/exception/BusinessException.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/exception/RateLimitExceededException.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/exception/ServerErrorException.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/http/FileBytesPart.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/http/FileInputStreamPart.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/http/HttpClientUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/http/HttpRequestUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/AreaCodeUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/AssertUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/FileUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/ImageUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/PagingUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/ParamMapBuilder.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/RequestMethodEnum.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/SecureRandomStringUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/StringUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/ThrowableUtil.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/UploadUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/UuidUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/ValidateUtil.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/WeixinUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/utils/WxUserSigUtils.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/vo/ApiTokenVo.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/vo/IdVo.java
+34
-0
civil-common-utils/src/main/java/com/zq/common/vo/OnlineUserDto.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/vo/PageReqVo.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/vo/PageVo.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/vo/ResultVo.java
+0
-0
civil-common-utils/src/main/java/com/zq/common/vo/UploadVo.java
+0
-0
common-utils/src/main/java/com/zq/common/utils/CollectionUtil.java
+0
-175
common-utils/src/main/java/com/zq/common/vo/AdviceFeedbackVo.java
+0
-55
common-utils/src/main/java/com/zq/common/vo/FolderNoticeVo.java
+0
-81
common-utils/src/main/java/com/zq/common/vo/FolderRollPictureVo.java
+0
-86
common-utils/src/main/java/com/zq/common/vo/FolderVo.java
+0
-107
common-utils/src/main/java/com/zq/common/vo/TipOffVo.java
+0
-65
common-utils/src/main/java/com/zq/common/vo/WxRedpackVo.java
+0
-69
common-utils/src/main/java/com/zq/common/vo/WxUserVo.java
+0
-146
config-server/src/main/resources/properties/config-dev.yml
+28
-11
config-server/src/main/resources/properties/config-product.yml
+5
-0
config/lib/mvn-install.txt
+1
-1
config/lib/ojdbc8.jar
+0
-0
pom.xml
+1
-1
portal-server/src/main/java/com/zq/portal/config/MybatisConfig.java
+1
-1
resource-server/pom.xml
+13
-3
resource-server/src/main/java/com/zq/resource/config/MybatisConfig.java
+43
-0
resource-server/src/main/java/com/zq/resource/config/SpringSecurityConfig.java
+1
-1
resource-server/src/main/java/com/zq/resource/constant/ShareStatusEnum.java
+71
-0
resource-server/src/main/java/com/zq/resource/controller/admin/CategoryController.java
+11
-0
resource-server/src/main/java/com/zq/resource/controller/app/AreaApi.java
+38
-0
resource-server/src/main/java/com/zq/resource/dao/DataCategoryDao.java
+1
-5
resource-server/src/main/java/com/zq/resource/dao/DataDictDao.java
+2
-6
resource-server/src/main/java/com/zq/resource/dao/GovAffairItemDao.java
+2
-6
resource-server/src/main/java/com/zq/resource/dao/GovMonitorItemDao.java
+2
-6
resource-server/src/main/java/com/zq/resource/dao/InfoMetadataDao.java
+2
-6
resource-server/src/main/java/com/zq/resource/dao/InfoSystemDao.java
+2
-6
resource-server/src/main/java/com/zq/resource/dao/OrgDeptDao.java
+1
-5
resource-server/src/main/java/com/zq/resource/entity/DataCategory.java
+9
-4
resource-server/src/main/java/com/zq/resource/entity/DataDict.java
+17
-15
resource-server/src/main/java/com/zq/resource/entity/GovAffairItem.java
+17
-15
resource-server/src/main/java/com/zq/resource/entity/GovMonitorItem.java
+9
-7
resource-server/src/main/java/com/zq/resource/entity/InfoMetadata.java
+26
-24
resource-server/src/main/java/com/zq/resource/entity/InfoSystem.java
+33
-25
resource-server/src/main/java/com/zq/resource/entity/OrgDept.java
+9
-4
resource-server/src/main/java/com/zq/resource/entity/SystemArea.java
+11
-9
resource-server/src/main/java/com/zq/resource/service/CategoryService.java
+9
-0
resource-server/src/main/resources/application.yml
+5
-11
sync-server/pom.xml
+3
-4
user-server/src/main/java/com/zq/user/config/MybatisConfig.java
+43
-0
No files found.
common-utils/pom.xml
→
c
ivil-c
ommon-utils/pom.xml
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/AnonymousAccess.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/AnonymousAccess.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/DataPermission.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/DataPermission.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/Limit.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/Limit.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/Log.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/Log.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/Query.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/Query.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousDeleteMapping.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/rest/AnonymousDeleteMapping.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousGetMapping.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/rest/AnonymousGetMapping.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPatchMapping.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPatchMapping.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPostMapping.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPostMapping.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPutMapping.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/annotation/rest/AnonymousPutMapping.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/base/AsyncConfig.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/base/AsyncConfig.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/base/CallBack.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/base/CallBack.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/base/SpringContextHolder.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/base/SpringContextHolder.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/base/UnifiedExceptionHandler.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/base/UnifiedExceptionHandler.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/interceptor/UserInfoInterceptor.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/interceptor/UserInfoInterceptor.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/limit/LimitAspect.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/limit/LimitAspect.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/limit/LimitType.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/limit/LimitType.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/redis/BaseCacheKeys.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/redis/BaseCacheKeys.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/redis/RedisConfig.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/redis/RedisConfig.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/redis/RedisUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/redis/RedisUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/security/ApiTokenUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/security/ApiTokenUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/config/security/SecurityProperties.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/config/security/SecurityProperties.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/constant/CloudConstant.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/constant/CloudConstant.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/constant/DBName.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/constant/DBName.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/constant/SystemName.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/constant/SystemName.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/context/ContextUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/context/ContextUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/context/ThreadContext.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/context/ThreadContext.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/encrypt/AesUtil.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/encrypt/AesUtil.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/encrypt/DesUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/encrypt/DesUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/encrypt/EncryptUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/encrypt/EncryptUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/encrypt/RsaUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/encrypt/RsaUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/ApiLog.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/ApiLog.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/AppUser.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/AppUser.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/AppVersion.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/AppVersion.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/EnbuzStats.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/EnbuzStats.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/Pfuser.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/Pfuser.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/SysConfig.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/SysConfig.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/SystemArea.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/SystemArea.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/VBzCremationStats.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/VBzCremationStats.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/VChildWelfareStats.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/VChildWelfareStats.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/VDemographics.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/VDemographics.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/VMarriageStats.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/VMarriageStats.java
View file @
59e91a04
package
com
.
zq
.
common
.
entity
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.Date
;
/**
* 地区婚姻统计(VMarriageStats)实体类
...
...
common-utils/src/main/java/com/zq/common/entity/VShjzAchieve.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/VShjzAchieve.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/VShjzProvide.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/VShjzProvide.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/VShjzStats.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/VShjzStats.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/entity/VSoorganStats.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/entity/VSoorganStats.java
View file @
59e91a04
package
com
.
zq
.
common
.
entity
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.Date
;
/**
* (VSoorganStats)实体类
...
...
common-utils/src/main/java/com/zq/common/exception/AuthorizationException.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/exception/AuthorizationException.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/exception/BusinessException.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/exception/BusinessException.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/exception/RateLimitExceededException.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/exception/RateLimitExceededException.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/exception/ServerErrorException.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/exception/ServerErrorException.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/http/FileBytesPart.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/http/FileBytesPart.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/http/FileInputStreamPart.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/http/FileInputStreamPart.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/http/HttpClientUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/http/HttpClientUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/http/HttpRequestUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/http/HttpRequestUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/AreaCodeUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/AreaCodeUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/AssertUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/AssertUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/FileUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/FileUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/ImageUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/ImageUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/PagingUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/PagingUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/ParamMapBuilder.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/ParamMapBuilder.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/RequestMethodEnum.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/RequestMethodEnum.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/SecureRandomStringUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/SecureRandomStringUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/StringUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/StringUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/ThrowableUtil.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/ThrowableUtil.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/UploadUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/UploadUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/UuidUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/UuidUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/ValidateUtil.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/ValidateUtil.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/WeixinUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/WeixinUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/WxUserSigUtils.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/utils/WxUserSigUtils.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/vo/ApiTokenVo.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/vo/ApiTokenVo.java
View file @
59e91a04
File moved
civil-common-utils/src/main/java/com/zq/common/vo/IdVo.java
0 → 100644
View file @
59e91a04
package
com
.
zq
.
common
.
vo
;
import
cn.hutool.core.util.StrUtil
;
import
lombok.*
;
import
java.util.HashSet
;
import
java.util.Set
;
/**
* @author CodeAnyWay
* @since 2019-04-28
*/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public
class
IdVo
{
private
String
id
;
private
Set
<
String
>
ids
;
public
Set
<
String
>
getIds
()
{
if
(
ids
==
null
)
{
ids
=
new
HashSet
<>();
}
if
(
StrUtil
.
isNotBlank
(
id
))
{
ids
.
add
(
id
);
}
return
ids
;
}
}
\ No newline at end of file
common-utils/src/main/java/com/zq/common/vo/OnlineUserDto.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/vo/OnlineUserDto.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/vo/PageReqVo.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/vo/PageReqVo.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/vo/PageVo.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/vo/PageVo.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/vo/ResultVo.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/vo/ResultVo.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/vo/UploadVo.java
→
c
ivil-c
ommon-utils/src/main/java/com/zq/common/vo/UploadVo.java
View file @
59e91a04
File moved
common-utils/src/main/java/com/zq/common/utils/CollectionUtil.java
deleted
100644 → 0
View file @
83eb65a4
package
com
.
zq
.
common
.
utils
;
import
java.util.Collection
;
/**
* 列表操作类
*
* @author wilmiam
* @date 2015年10月29日
*/
public
class
CollectionUtil
{
/**
* 判断对象是否在集合里
*
* @param searchObj 对象
* @param list 集合
* @param caseInsensetive 忽略大小写
* @return 判断结果
*/
public
static
boolean
inCollection
(
final
Object
searchObj
,
final
Collection
<
Object
>
list
,
final
boolean
caseInsensetive
)
{
return
CollectionUtil
.
getInCollectionId
(
searchObj
,
list
,
caseInsensetive
)
>=
0
;
}
/**
* 判断对象是否在集合里
*
* @param searchObj 对象
* @param list 集合
* @return 判断结果
*/
public
static
boolean
inCollection
(
final
Object
searchObj
,
final
Collection
<
Object
>
list
)
{
return
inCollection
(
searchObj
,
list
,
false
);
}
/**
* 判断指定字符串是否属于指定字符串数组中的一个元素
*
* @param strSearch 字符串
* @param stringArray 内部以逗号分割单词的字符串
* @return 判断结果
*/
public
static
boolean
inArray
(
final
String
strSearch
,
final
String
stringArray
)
{
return
inArray
(
strSearch
,
StringUtils
.
splitString
(
stringArray
,
","
));
}
/**
* 判断指定字符串是否属于指定字符串数组中的一个元素
*
* @param strSearch 字符串
* @param stringArray 内部分割单词的字符串
* @param strSplit 分割字符串
* @return 判断结果
*/
public
static
boolean
inArray
(
final
String
strSearch
,
final
String
stringArray
,
final
String
strSplit
)
{
return
inArray
(
strSearch
,
StringUtils
.
splitString
(
stringArray
,
strSplit
));
}
/**
* 判断指定字符串是否属于指定字符串数组中的一个元素
*
* @param strSearch 字符串
* @param stringArray 内部以逗号分割单词的字符串
* @param strsplit 分割字符串
* @param caseInsensetive 是否不区分大小写, true为不区分, false为区分
* @return 判断结果
*/
public
static
boolean
inArray
(
final
String
strSearch
,
final
String
stringArray
,
final
String
strsplit
,
final
boolean
caseInsensetive
)
{
return
inArray
(
strSearch
,
StringUtils
.
splitString
(
stringArray
,
strsplit
),
caseInsensetive
);
}
/**
* 判断制定字符串是否属于制定字符串数组中的一个元素
*
* @param strSearch 字符串
* @param stringArray 字符串数组
* @return 判断结果
*/
public
static
boolean
inArray
(
final
String
strSearch
,
final
String
[]
stringArray
)
{
return
inArray
(
strSearch
,
stringArray
,
false
);
}
/**
* 判断制定字符串是否属于制定字符串数组中的一个元素
*
* @param strSearch 字符串
* @param stringArray 字符串数组
* @param caseInsensetive 是否不区分大小写, true为不区分, false为区分
* @return 判断结果
*/
public
static
boolean
inArray
(
final
String
strSearch
,
final
String
[]
stringArray
,
final
boolean
caseInsensetive
)
{
return
getInArrayId
(
strSearch
,
stringArray
,
caseInsensetive
)
>=
0
;
}
/**
* 判断指定字符串在指定字符串数组中的位置
*
* @param searchStr 字符串
* @param strArray 字符串数组
* @param caseInsensetice 是否不区分大小写, true为不区分, false为区分
* @return 字符串在指定字符串数组中的位置, 如不存在则返回-1
*/
public
static
int
getInArrayId
(
final
String
searchStr
,
final
String
[]
strArray
,
final
boolean
caseInsensetice
)
{
if
(!
ValidateUtil
.
isBlank
(
searchStr
))
{
for
(
int
i
=
0
;
i
<
strArray
.
length
;
i
++)
{
final
String
tmpStr
=
strArray
[
i
];
if
(!
ValidateUtil
.
isBlank
(
tmpStr
))
{
if
(
caseInsensetice
)
{
if
(
searchStr
.
toLowerCase
().
equals
(
strArray
[
i
].
toLowerCase
()))
{
return
i
;
}
}
else
{
if
(
searchStr
.
equals
(
strArray
[
i
]))
{
return
i
;
}
}
}
}
return
-
1
;
}
return
-
1
;
}
/**
* 判断指定字符串在指定字符串数组中的位置
*
* @param searchStr 字符串
* @param strArray 字符串数组
* @return 字符串在指定字符串数组中的位置, 如不存在则返回-1
*/
public
static
int
getInArrayId
(
final
String
searchStr
,
final
String
[]
strArray
)
{
return
getInArrayId
(
searchStr
,
strArray
,
false
);
}
/**
* 查询对象在集合里的索引
*
* @param searchObj 对象
* @param list 集合列表
* @param caseInsensetice 区分大小写
* @return 集合索引
*/
public
static
int
getInCollectionId
(
final
Object
searchObj
,
final
Collection
<
Object
>
list
,
final
boolean
caseInsensetice
)
{
if
(!
ValidateUtil
.
isBlank
(
searchObj
))
{
int
index
=
0
;
for
(
Object
tempObj
:
list
)
{
if
(
caseInsensetice
&&
searchObj
instanceof
String
&&
tempObj
instanceof
String
)
{
if
(((
String
)
searchObj
).
equalsIgnoreCase
((
String
)
tempObj
))
{
return
index
;
}
}
else
{
if
(
searchObj
.
equals
(
tempObj
))
{
return
index
;
}
}
index
++;
}
}
return
-
1
;
}
/**
* 查询对象在集合里的索引
*
* @param searchObj 对象
* @param list 集合列表
* @return 对象在集合中的索引
*/
public
static
int
getInCollectionId
(
final
Object
searchObj
,
final
Collection
<
Object
>
list
)
{
return
getInCollectionId
(
searchObj
,
list
,
false
);
}
}
common-utils/src/main/java/com/zq/common/vo/AdviceFeedbackVo.java
deleted
100644 → 0
View file @
83eb65a4
package
com
.
zq
.
common
.
vo
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public
class
AdviceFeedbackVo
extends
PageReqVo
{
@ApiModelProperty
(
"id"
)
private
Integer
id
;
@ApiModelProperty
(
"用户id"
)
private
Integer
userid
;
@ApiModelProperty
(
"用户姓名"
)
private
String
username
;
@ApiModelProperty
(
"用户qq"
)
private
String
qq
;
@ApiModelProperty
(
"邮件"
)
private
String
email
;
@ApiModelProperty
(
"手机号"
)
private
String
telphone
;
@ApiModelProperty
(
"意见反馈内容"
)
private
String
content
;
@ApiModelProperty
(
"备注"
)
private
String
remark
;
@ApiModelProperty
(
"是否已读 1.已读 0.未读"
)
private
Integer
isRead
;
@ApiModelProperty
(
"创建者id"
)
private
Integer
createId
;
@ApiModelProperty
(
"对反馈问题的回复内容"
)
private
String
feedbackContent
;
@ApiModelProperty
(
"对反馈问题的回复用户id"
)
private
Integer
feedbackUserId
;
@ApiModelProperty
(
"对反馈问题的回复者名称"
)
private
String
feedbackUserName
;
@ApiModelProperty
(
"回复时间"
)
private
String
feedbackTime
;
}
common-utils/src/main/java/com/zq/common/vo/FolderNoticeVo.java
deleted
100644 → 0
View file @
83eb65a4
package
com
.
zq
.
common
.
vo
;
import
lombok.*
;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public
class
FolderNoticeVo
{
/**
* 栏目公告
*/
/**
* 栏目id
*/
private
Integer
id
;
/**
* 目录id
*/
private
Integer
folderId
;
/**
* 类型:
*/
private
Integer
type
;
/**
* 图标
*/
private
String
icon
;
/**
* 内容
*/
private
String
content
;
/**
* 链接地址
*/
private
String
url
;
/**
* 排序号
*/
private
Integer
sort
;
/**
* 状态: 1.显示 2.隐藏
*/
private
Integer
status
;
/**
* 删除标记 0.未删除 1.已删除
*/
private
Integer
isDeleted
;
/**
* 更新时间
*/
private
String
updateTime
;
/**
* 更新者id
*/
private
Integer
updateId
;
/**
* 创建时间
*/
private
String
createTime
;
/**
* 创建者id
*/
private
Integer
createId
;
}
common-utils/src/main/java/com/zq/common/vo/FolderRollPictureVo.java
deleted
100644 → 0
View file @
83eb65a4
package
com
.
zq
.
common
.
vo
;
import
lombok.*
;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public
class
FolderRollPictureVo
extends
PageReqVo
{
/**
* 栏目轮播图
*/
/**
* 栏目id
*/
private
Integer
id
;
/**
* 目录id
*/
private
Integer
folderId
;
/**
* 目录名称
*/
private
String
folderName
;
/**
* 标题
*/
private
String
title
;
/**
* 内容
*/
private
String
content
;
/**
* 状态: 1.显示 2.隐藏
*/
private
Integer
status
;
/**
* 图片路径
*/
private
String
imageUrl
;
/**
* 网络图片路径
*/
private
String
imageNetUrl
;
/**
* 链接地址
*/
private
String
url
;
/**
* 删除标记 0.未删除 1.已删除
*/
private
Integer
isDeleted
;
/**
* 更新时间
*/
private
String
updateTime
;
/**
* 更新者id
*/
private
Integer
updateId
;
/**
* 创建时间
*/
private
String
createTime
;
/**
* 创建者id
*/
private
Integer
createId
;
}
common-utils/src/main/java/com/zq/common/vo/FolderVo.java
deleted
100644 → 0
View file @
83eb65a4
package
com
.
zq
.
common
.
vo
;
import
lombok.*
;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public
class
FolderVo
{
/**
* 目录id
*/
private
Integer
id
;
/**
* 父级id
*/
private
Integer
parentId
;
/**
* 目录名称
*/
private
String
name
;
/**
* URL KEY
*/
private
String
key
;
/**
* 模板路径
*/
private
String
path
;
/**
* 描述、说明
*/
private
String
content
;
/**
* 排序号
*/
private
Integer
sort
;
/**
* 状态: 1.显示 2.隐藏
*/
private
Integer
status
;
/**
* 类型: 1.普通目录 2.a标签 3.a标签_blank 4 直接加载url信息
*/
private
Integer
type
;
/**
* 跳转地址
*/
private
String
jumpUrl
;
/**
* 素材类型 (对应sys_dict_detail 表)
*/
private
Integer
materialType
;
/**
* 站点ID
*/
private
Integer
siteId
;
/**
* 站点标题
*/
private
String
seoTitle
;
/**
* 站点内容
*/
private
String
seoKeywords
;
/**
* 站点描述
*/
private
String
seoDescription
;
/**
* 更新时间
*/
private
String
updateTime
;
/**
* 更新者id
*/
private
Integer
updateId
;
/**
* 创建时间
*/
private
String
createTime
;
/**
* 创建者id
*/
private
Integer
createId
;
}
common-utils/src/main/java/com/zq/common/vo/TipOffVo.java
deleted
100644 → 0
View file @
83eb65a4
package
com
.
zq
.
common
.
vo
;
import
lombok.*
;
import
java.util.Date
;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public
class
TipOffVo
{
/**
* 用户举报
*/
private
Integer
id
;
/**
* 举报人 用户id
*/
private
Integer
userid
;
/**
* 举报类型 1.偷盗 2.违建3.放牧4.未允进入5.其他
*/
private
Integer
type
;
/**
* 举报对象的姓名
*/
private
String
person
;
/**
* 举报事件的发生地点
*/
private
String
addr
;
/**
* 事件发生时间
*/
private
Date
happenedTime
;
/**
* 举报的事件描述
*/
private
String
event
;
/**
* 状态:1 举报上传 2 处理中 3 处理结束
*/
private
Integer
status
;
/**
* 创建时间
*/
private
Date
createTime
;
/**
* 更新时间
*/
private
Date
updateTime
;
}
common-utils/src/main/java/com/zq/common/vo/WxRedpackVo.java
deleted
100644 → 0
View file @
83eb65a4
package
com
.
zq
.
common
.
vo
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
java.math.BigDecimal
;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public
class
WxRedpackVo
extends
PageReqVo
{
/**
* 红包发放表
*/
/**
* 发放红包记录id
*/
@ApiModelProperty
(
"发放红包记录id"
)
private
Integer
id
;
/**
* 用户openId
*/
@ApiModelProperty
(
"用户openId"
)
private
String
openId
;
/**
* 发送金额
*/
@ApiModelProperty
(
"发送金额"
)
private
BigDecimal
amount
;
/**
* 发送时间
*/
@ApiModelProperty
(
"发送时间"
)
private
String
createTime
;
/**
* 发送结果:1 成功 2失败
*/
@ApiModelProperty
(
"发送结果:1 成功 2失败"
)
private
Integer
sendResult
;
/**
* 微信单号(付款返回的订单号)
*/
@ApiModelProperty
(
"微信单号(付款返回的订单号)"
)
private
String
sendListid
;
/**
* 用户头像
*/
@ApiModelProperty
(
"用户头像"
)
private
String
headimgurl
;
/**
* 用户昵称
*/
@ApiModelProperty
(
"用户昵称"
)
private
String
nickname
;
@ApiModelProperty
(
"手机号"
)
private
String
phone
;
}
common-utils/src/main/java/com/zq/common/vo/WxUserVo.java
deleted
100644 → 0
View file @
83eb65a4
package
com
.
zq
.
common
.
vo
;
import
lombok.*
;
import
java.util.Date
;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public
class
WxUserVo
extends
PageReqVo
{
/**
* 用户id
*/
private
Integer
id
;
/**
* 平台注册id
*/
private
Long
sellerId
;
/**
* 用户所属于的微信公众号
*/
private
String
authAppId
;
/**
* 用户昵称
*/
private
String
nickname
;
/**
* 用户手机号
*/
private
String
phone
;
/**
* 用户密码
*/
private
String
password
;
/**
* 用户头像
*/
private
String
headimgurl
;
/**
* 用户openId
*/
private
String
openId
;
private
String
email
;
/**
* 性别 1.男 2.女
*/
private
Integer
sex
;
private
String
language
;
private
String
city
;
private
String
province
;
private
String
country
;
/**
* 是否订阅
*/
private
Integer
subscribe
;
/**
* 订阅时间
*/
private
Date
subscribeTime
;
private
Integer
groupid
;
/**
* 备注
*/
private
String
remark
;
/**
* 访问的ip
*/
private
String
accessIp
;
/**
* token
*/
private
String
accessToken
;
/**
* 刷新token
*/
private
String
refreshToken
;
/**
* TOKEN 过期时间
*/
private
String
tokenExpiresIn
;
/**
* 登录时间
*/
private
Date
lastLoginTime
;
/**
*
*/
private
String
unionid
;
/**
* 积分
*/
private
Integer
score
;
/**
* 是否消息接收者 0为否,1为true
*/
private
Integer
isReceiver
;
/**
* 删除标记
*/
private
Boolean
active
;
/**
* 创建时间
*/
private
Date
created
;
/**
* 更新时间
*/
private
Date
updated
;
/**
* 1 微信用户 2 手机用户
*/
private
Integer
userType
;
}
config-server/src/main/resources/properties/config-dev.yml
View file @
59e91a04
...
...
@@ -27,18 +27,35 @@ redis.port: 6379
#数据库源配置
jdbc.driver-class-name
:
com.mysql.cj.jdbc.Driver
#jdbc.username: root
#jdbc.password: Dk2019!23456
#jdbc.master.url: jdbc:mysql://47.107.148.253:3306/mz_big_data?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.gxbz.url: jdbc:mysql://47.107.148.253:3306/gx-bz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.gxcj.url: jdbc:mysql://47.107.148.253:3306/gx-cj?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.gxdb.url: jdbc:mysql://47.107.148.253:3306/gx-db?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.gxhy.url: jdbc:mysql://47.107.148.253:3306/gx-hy?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.gxshzz.url: jdbc:mysql://47.107.148.253:3306/shzz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.gxet.url: jdbc:mysql://47.107.148.253:3306/gx-et?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.gxyl.url: jdbc:mysql://47.107.148.253:3306/gx-yl?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.gxshjz.url: jdbc:mysql://47.107.148.253:3306/gx-shjz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jdbc.resource.url: jdbc:mysql://47.107.148.253:3306/mz_resource?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.username
:
root
jdbc.password
:
Dk2019!23456
jdbc.master.url
:
jdbc:mysql://47.107.148.253:3306/mz_big_data?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxbz.url
:
jdbc:mysql://47.107.148.253:3306/gx-bz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxcj.url
:
jdbc:mysql://47.107.148.253:3306/gx-cj?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxdb.url
:
jdbc:mysql://47.107.148.253:3306/gx-db?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxhy.url
:
jdbc:mysql://47.107.148.253:3306/gx-hy?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxshzz.url
:
jdbc:mysql://47.107.148.253:3306/shzz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxet.url
:
jdbc:mysql://47.107.148.253:3306/gx-et?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxyl.url
:
jdbc:mysql://47.107.148.253:3306/gx-yl?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxshjz.url
:
jdbc:mysql://47.107.148.253:3306/gx-shjz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.resource.url
:
jdbc:mysql://47.107.148.253:3306/mz_resource?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.password
:
rooT123!321
jdbc.master.url
:
jdbc:mysql://192.168.0.193:3306/mz_big_data?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxbz.url
:
jdbc:mysql://192.168.0.193:3306/gx-bz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxcj.url
:
jdbc:mysql://192.168.0.193:3306/gx-cj?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxdb.url
:
jdbc:mysql://192.168.0.193:3306/gx-db?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxhy.url
:
jdbc:mysql://192.168.0.193:3306/gx-hy?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxshzz.url
:
jdbc:mysql://192.168.0.193:3306/shzz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxet.url
:
jdbc:mysql://192.168.0.193:3306/gx-et?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxyl.url
:
jdbc:mysql://192.168.0.193:3306/gx-yl?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.gxshjz.url
:
jdbc:mysql://192.168.0.193:3306/gx-shjz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.resource.url
:
jdbc:mysql://192.168.0.193:3306/mz_resource?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
ojdbc.driver-class-name
:
oracle.jdbc.driver.OracleDriver
ojdbc.username
:
zt
ojdbc.password
:
LSZ192125mcm
ojdbc.mzzt.url
:
jdbc:oracle:thin:@//192.168.0.31:1521/mzzt
#jwt
jwt
:
...
...
config-server/src/main/resources/properties/config-product.yml
View file @
59e91a04
...
...
@@ -40,6 +40,11 @@ jdbc.gxyl.url: jdbc:mysql://192.168.0.193:3306/gx-yl?characterEncoding=utf8&useS
jdbc.gxshjz.url
:
jdbc:mysql://192.168.0.193:3306/gx-shjz?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.resource.url
:
jdbc:mysql://192.168.0.193:3306/mz_resource?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
ojdbc.driver-class-name
:
oracle.jdbc.driver.OracleDriver
ojdbc.username
:
zt
ojdbc.password
:
LSZ192125mcm
ojdbc.mzzt.url
:
jdbc:oracle:thin:@//192.168.0.31:1521/mzzt
#jwt
jwt
:
header
:
Authorization
...
...
config/lib/mvn-install.txt
View file @
59e91a04
mvn install:install-file -Dfile=
E:\Gitlab\civil-bigdata\config\lib\ojdbc8-1.0.jar -DgroupId=org.oracle.jdbc -DartifactId=oracle8 -Dversion=1
.0 -Dpackaging=jar
mvn install:install-file -Dfile=
config/lib/ojdbc8.jar -DgroupId=org.oracle -DartifactId=ojdbc8 -Dversion=12.1.0.2
.0 -Dpackaging=jar
config/lib/ojdbc8
-1.0
.jar
→
config/lib/ojdbc8.jar
View file @
59e91a04
No preview for this file type
pom.xml
View file @
59e91a04
...
...
@@ -34,7 +34,7 @@
<module>
gateway-server
</module>
<module>
eureka-server
</module>
<module>
config-server
</module>
<module>
common-utils
</module>
<module>
c
ivil-c
ommon-utils
</module>
<module>
sys-server
</module>
<module>
file-server
</module>
<module>
api-server
</module>
...
...
common-utils/src/main/java/com/zq/common/config/mybatis
/MybatisConfig.java
→
portal-server/src/main/java/com/zq/portal/config
/MybatisConfig.java
View file @
59e91a04
package
com
.
zq
.
common
.
config
.
mybatis
;
package
com
.
zq
.
portal
.
config
;
import
com.baomidou.mybatisplus.annotation.DbType
;
import
com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor
;
...
...
resource-server/pom.xml
View file @
59e91a04
...
...
@@ -85,7 +85,18 @@
<artifactId>
mysql-connector-java
</artifactId>
<scope>
runtime
</scope>
</dependency>
<!-- oracle8 -->
<dependency>
<groupId>
org.oracle
</groupId>
<artifactId>
ojdbc8
</artifactId>
<version>
12.1.0.2.0
</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.oracle.database.nls/orai18n -->
<dependency>
<groupId>
com.oracle.database.nls
</groupId>
<artifactId>
orai18n
</artifactId>
<version>
21.1.0.0
</version>
</dependency>
</dependencies>
<build>
...
...
@@ -105,4 +116,4 @@
</resource>
</resources>
</build>
</project>
\ No newline at end of file
</project>
resource-server/src/main/java/com/zq/resource/config/MybatisConfig.java
0 → 100644
View file @
59e91a04
package
com
.
zq
.
resource
.
config
;
import
com.baomidou.mybatisplus.annotation.DbType
;
import
com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor
;
import
com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor
;
import
com.github.pagehelper.PageInterceptor
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
java.util.Properties
;
/**
* @author wilmiam
* @since 2021-08-09 15:59
*/
@Configuration
public
class
MybatisConfig
{
/**
* MybatisPlus分页插件
*/
@Bean
public
MybatisPlusInterceptor
mybatisPlusInterceptor
()
{
MybatisPlusInterceptor
interceptor
=
new
MybatisPlusInterceptor
();
interceptor
.
addInnerInterceptor
(
new
PaginationInnerInterceptor
(
DbType
.
ORACLE_12C
));
return
interceptor
;
}
/**
* PageHelper分页插件
*
* @return
*/
@Bean
public
PageInterceptor
pageInterceptor
()
{
PageInterceptor
pageInterceptor
=
new
PageInterceptor
();
Properties
properties
=
new
Properties
();
properties
.
put
(
"helperDialect"
,
"oracle"
);
pageInterceptor
.
setProperties
(
properties
);
return
pageInterceptor
;
}
}
resource-server/src/main/java/com/zq/resource/config/SpringSecurityConfig.java
View file @
59e91a04
...
...
@@ -76,7 +76,7 @@ public class SpringSecurityConfig extends WebSecurityConfigurerAdapter {
Map
<
String
,
Set
<
String
>>
anonymousUrls
=
getAnonymousUrl
(
handlerMethodMap
);
Set
<
String
>
allType
=
anonymousUrls
.
get
(
RequestMethodEnum
.
ALL
.
getType
());
//不使用注解的时候在这添加url放行
allType
.
add
(
"/resource/ap
p
/**"
);
allType
.
add
(
"/resource/ap
i
/**"
);
httpSecurity
// 禁用 CSRF
...
...
resource-server/src/main/java/com/zq/resource/constant/ShareStatusEnum.java
0 → 100644
View file @
59e91a04
package
com
.
zq
.
resource
.
constant
;
import
lombok.Getter
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
@Getter
public
enum
ShareStatusEnum
{
/**
* 未注册
*/
NOT_REGISTERED
(
1
,
"未注册"
),
/**
* 已注册
*/
REGISTERED
(
2
,
"已注册"
),
/**
* 已撤销
*/
REVOKED
(
3
,
"已撤销"
),
;
private
final
Integer
value
;
private
final
String
label
;
ShareStatusEnum
(
Integer
value
,
String
label
)
{
this
.
value
=
value
;
this
.
label
=
label
;
}
/**
* 获取指定值得枚举对象
*
* @param value 枚举值
* @return 未找到匹配值则返回{@code null}
*/
public
static
ShareStatusEnum
ofValue
(
int
value
)
{
ShareStatusEnum
result
=
null
;
for
(
ShareStatusEnum
item
:
values
())
{
if
(
item
.
value
==
value
)
{
result
=
item
;
break
;
}
}
return
result
;
}
/**
* 转List
*
* @return
*/
public
static
List
<
Map
<
String
,
Object
>>
toList
()
{
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
for
(
ShareStatusEnum
item
:
ShareStatusEnum
.
values
())
{
Map
<
String
,
Object
>
obj
=
new
HashMap
<>();
obj
.
put
(
"value"
,
item
.
getValue
());
obj
.
put
(
"label"
,
item
.
getLabel
());
list
.
add
(
obj
);
}
return
list
;
}
}
resource-server/src/main/java/com/zq/resource/controller/admin/CategoryController.java
View file @
59e91a04
package
com
.
zq
.
resource
.
controller
.
admin
;
import
cn.hutool.core.collection.CollUtil
;
import
com.zq.common.utils.AssertUtils
;
import
com.zq.common.vo.IdVo
;
import
com.zq.common.vo.PageVo
;
import
com.zq.common.vo.ResultVo
;
import
com.zq.resource.entity.DataCategory
;
...
...
@@ -55,4 +57,13 @@ public class CategoryController {
return
ResultVo
.
success
();
}
@ApiOperation
(
"注册目录"
)
@PostMapping
(
value
=
"/registerCategory"
)
public
ResultVo
registerCategory
(
@RequestBody
IdVo
vo
)
{
AssertUtils
.
isTrue
(
CollUtil
.
isNotEmpty
(
vo
.
getIds
()),
"至少选择一项"
);
categoryService
.
registerCategory
(
vo
.
getIds
());
return
ResultVo
.
success
();
}
}
resource-server/src/main/java/com/zq/resource/controller/app/AreaApi.java
0 → 100644
View file @
59e91a04
package
com
.
zq
.
resource
.
controller
.
app
;
import
com.zq.common.vo.ResultVo
;
import
com.zq.resource.entity.SystemArea
;
import
com.zq.resource.service.AreaService
;
import
com.zq.resource.vo.DataTreeVo
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author wilmiam
* @since 2021/8/19 14:33
*/
@Api
(
tags
=
"区域相关接口"
)
@RequiredArgsConstructor
@RestController
@RequestMapping
(
value
=
"/resource/api/area"
)
public
class
AreaApi
{
private
final
AreaService
areaService
;
@ApiOperation
(
"获取广西全区树形结构"
)
@GetMapping
(
value
=
"/getAreaTree"
)
public
ResultVo
<
List
<
DataTreeVo
>>
getAreaTree
()
{
return
ResultVo
.
success
(
areaService
.
getAreaTree
());
}
@ApiOperation
(
"指定条件获取区域列表"
)
@PostMapping
(
value
=
"/getAreaList"
)
public
ResultVo
<
List
<
SystemArea
>>
getAreaList
(
@RequestBody
SystemArea
vo
)
{
return
ResultVo
.
success
(
areaService
.
getAreaList
(
vo
));
}
}
resource-server/src/main/java/com/zq/resource/dao/DataCategoryDao.java
View file @
59e91a04
package
com
.
zq
.
resource
.
dao
;
import
com.baomidou.dynamic.datasource.annotation.DS
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zq.common.constant.DBName
;
import
com.zq.resource.entity.DataCategory
;
import
org.springframework.stereotype.Repository
;
...
...
@@ -12,8 +10,7 @@ import org.springframework.stereotype.Repository;
* @author makejava
* @since 2021-08-19 11:25:52
*/
@DS
(
DBName
.
RESOURCE
)
@Repository
public
interface
DataCategoryDao
extends
BaseMapper
<
DataCategory
>
{
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/dao/DataDictDao.java
View file @
59e91a04
package
com
.
zq
.
resource
.
dao
;
import
com.baomidou.dynamic.datasource.annotation.DS
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zq.common.constant.DBName
;
import
com.zq.resource.entity.DataDict
;
import
org.springframework.stereotype.Repository
;
...
...
@@ -12,8 +10,7 @@ import org.springframework.stereotype.Repository;
* @author makejava
* @since 2021-08-19 11:25:54
*/
@DS
(
DBName
.
RESOURCE
)
@Repository
public
interface
DataDictDao
extends
BaseMapper
<
DataDict
>
{
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/dao/GovAffairItemDao.java
View file @
59e91a04
package
com
.
zq
.
resource
.
dao
;
import
com.baomidou.dynamic.datasource.annotation.DS
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zq.common.constant.DBName
;
import
com.zq.resource.entity.GovAffairItem
;
import
org.springframework.stereotype.Repository
;
...
...
@@ -12,8 +10,7 @@ import org.springframework.stereotype.Repository;
* @author makejava
* @since 2021-08-19 11:25:54
*/
@DS
(
DBName
.
RESOURCE
)
@Repository
public
interface
GovAffairItemDao
extends
BaseMapper
<
GovAffairItem
>
{
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/dao/GovMonitorItemDao.java
View file @
59e91a04
package
com
.
zq
.
resource
.
dao
;
import
com.baomidou.dynamic.datasource.annotation.DS
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zq.common.constant.DBName
;
import
com.zq.resource.entity.GovMonitorItem
;
import
org.springframework.stereotype.Repository
;
...
...
@@ -12,8 +10,7 @@ import org.springframework.stereotype.Repository;
* @author makejava
* @since 2021-08-19 11:25:54
*/
@DS
(
DBName
.
RESOURCE
)
@Repository
public
interface
GovMonitorItemDao
extends
BaseMapper
<
GovMonitorItem
>
{
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/dao/InfoMetadataDao.java
View file @
59e91a04
package
com
.
zq
.
resource
.
dao
;
import
com.baomidou.dynamic.datasource.annotation.DS
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zq.common.constant.DBName
;
import
com.zq.resource.entity.InfoMetadata
;
import
org.springframework.stereotype.Repository
;
...
...
@@ -12,8 +10,7 @@ import org.springframework.stereotype.Repository;
* @author makejava
* @since 2021-08-19 11:25:54
*/
@DS
(
DBName
.
RESOURCE
)
@Repository
public
interface
InfoMetadataDao
extends
BaseMapper
<
InfoMetadata
>
{
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/dao/InfoSystemDao.java
View file @
59e91a04
package
com
.
zq
.
resource
.
dao
;
import
com.baomidou.dynamic.datasource.annotation.DS
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zq.common.constant.DBName
;
import
com.zq.resource.entity.InfoSystem
;
import
org.springframework.stereotype.Repository
;
...
...
@@ -12,8 +10,7 @@ import org.springframework.stereotype.Repository;
* @author makejava
* @since 2021-08-19 11:25:54
*/
@DS
(
DBName
.
RESOURCE
)
@Repository
public
interface
InfoSystemDao
extends
BaseMapper
<
InfoSystem
>
{
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/dao/OrgDeptDao.java
View file @
59e91a04
package
com
.
zq
.
resource
.
dao
;
import
com.baomidou.dynamic.datasource.annotation.DS
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zq.common.constant.DBName
;
import
com.zq.resource.entity.OrgDept
;
import
org.springframework.stereotype.Repository
;
...
...
@@ -12,8 +10,7 @@ import org.springframework.stereotype.Repository;
* @author makejava
* @since 2021-08-19 11:25:54
*/
@DS
(
DBName
.
RESOURCE
)
@Repository
public
interface
OrgDeptDao
extends
BaseMapper
<
OrgDept
>
{
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/entity/DataCategory.java
View file @
59e91a04
...
...
@@ -21,14 +21,14 @@ import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName
(
value
=
"
data_category
"
)
@TableName
(
value
=
"
DATA_CATEGORY"
,
schema
=
"ZY
"
)
public
class
DataCategory
{
/**
* 自增
*/
@ApiModelProperty
(
"自增"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Long
id
;
/**
...
...
@@ -79,4 +79,10 @@ public class DataCategory {
@ApiModelProperty
(
"更新时间"
)
private
Date
updateTime
;
}
\ No newline at end of file
/**
* 共享状态: 0-未注册, 1-已注册
*/
@ApiModelProperty
(
"共享状态: 0-未注册, 1-已注册"
)
private
Integer
shareStatus
;
}
resource-server/src/main/java/com/zq/resource/entity/DataDict.java
View file @
59e91a04
package
com
.
zq
.
resource
.
entity
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.Date
;
/**
* 数据字典表(DataDict)实体类
...
...
@@ -18,56 +21,56 @@ import lombok.*;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName
(
value
=
"
data_dict
"
)
@TableName
(
value
=
"
DATA_DICT"
,
schema
=
"ZY
"
)
public
class
DataDict
{
/**
* 自增
*/
@ApiModelProperty
(
"自增"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Long
id
;
/**
* 类型代码,如:update_cycle
*/
@ApiModelProperty
(
"类型代码,如:update_cycle"
)
private
String
type
;
/**
* 类型描述,如:更新周期
*/
@ApiModelProperty
(
"类型描述,如:更新周期"
)
private
String
typeDesc
;
/**
* 代码:1
*/
@ApiModelProperty
(
"代码:1"
)
private
Integer
code
;
/**
* 代码描述:实时
*/
@ApiModelProperty
(
"代码描述:实时"
)
private
String
codeDesc
;
/**
* 排序号
*/
@ApiModelProperty
(
"排序号"
)
private
Integer
sortNo
;
/**
* 创建时间
*/
@ApiModelProperty
(
"创建时间"
)
private
Date
createTime
;
/**
* 更新时间
*/
@ApiModelProperty
(
"更新时间"
)
private
Date
updateTime
;
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/entity/GovAffairItem.java
View file @
59e91a04
package
com
.
zq
.
resource
.
entity
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.Date
;
/**
* 机构的政务服务事项表(GovAffairItem)实体类
...
...
@@ -18,56 +21,56 @@ import lombok.*;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName
(
value
=
"
gov_affair_item
"
)
@TableName
(
value
=
"
GOV_AFFAIR_ITEM"
,
schema
=
"ZY
"
)
public
class
GovAffairItem
{
/**
* 自增
*/
@ApiModelProperty
(
"自增"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Long
id
;
/**
* 机构id
*/
@ApiModelProperty
(
"机构id"
)
private
Long
deptId
;
/**
* 政务服务事项类型: 包括1行政许可、2行政确认、3行政裁决、4行政征收、5行政给付、6行政奖励、7其他行政权力、8公共服务。
*/
@ApiModelProperty
(
"政务服务事项类型: 包括1行政许可、2行政确认、3行政裁决、4行政征收、5行政给付、6行政奖励、7其他行政权力、8公共服务。"
)
private
Integer
affairItemType
;
/**
* 事项名称
*/
@ApiModelProperty
(
"事项名称"
)
private
String
itemName
;
/**
* 事项代码
*/
@ApiModelProperty
(
"事项代码"
)
private
String
itemCode
;
/**
* 办理材料名称
*/
@ApiModelProperty
(
"办理材料名称"
)
private
String
document
;
/**
* 创建时间
*/
@ApiModelProperty
(
"创建时间"
)
private
Date
createTime
;
/**
* 更新时间
*/
@ApiModelProperty
(
"更新时间"
)
private
Date
updateTime
;
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/entity/GovMonitorItem.java
View file @
59e91a04
package
com
.
zq
.
resource
.
entity
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.Date
;
/**
* 机构的监管事项表(GovMonitorItem)实体类
...
...
@@ -18,14 +21,14 @@ import lombok.*;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName
(
value
=
"
gov_monitor_item
"
)
@TableName
(
value
=
"
GOV_MONITOR_ITEM"
,
schema
=
"ZY
"
)
public
class
GovMonitorItem
{
/**
* 自增
*/
@ApiModelProperty
(
"自增"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Long
id
;
/**
...
...
@@ -70,4 +73,4 @@ public class GovMonitorItem {
@ApiModelProperty
(
"更新时间"
)
private
Date
updateTime
;
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/entity/InfoMetadata.java
View file @
59e91a04
package
com
.
zq
.
resource
.
entity
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.Date
;
/**
* 资源元数据表(InfoMetadata)实体类
...
...
@@ -18,110 +21,110 @@ import lombok.*;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName
(
value
=
"
info_metadata
"
)
@TableName
(
value
=
"
INFO_METADATA"
,
schema
=
"ZY
"
)
public
class
InfoMetadata
{
/**
* 自增
*/
@ApiModelProperty
(
"自增"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Long
id
;
/**
* 元数据名称
*/
@ApiModelProperty
(
"元数据名称"
)
private
String
metaName
;
/**
* 归属资源目录id
*/
@ApiModelProperty
(
"归属资源目录id"
)
private
Long
belongCategoryId
;
/**
* 数据资源格式: 分为1电子文件、2电子表格、3数据库类、4图形图像类、5流媒体类、6接口类。
*/
@ApiModelProperty
(
"数据资源格式: 分为1电子文件、2电子表格、3数据库类、4图形图像类、5流媒体类、6接口类。"
)
private
Integer
formatType
;
/**
* 对结构化数据资源,描述其具体的信息项名称
*/
@ApiModelProperty
(
"对结构化数据资源,描述其具体的信息项名称"
)
private
String
dataItemName
;
/**
* 共享类型:资源目录按共享类型分为1无条件共享、2有条件共享、3不予共享等三种类型
*/
@ApiModelProperty
(
"共享类型:资源目录按共享类型分为1无条件共享、2有条件共享、3不予共享等三种类型"
)
private
Integer
shareType
;
/**
* 共享属性:对政务数据资源共享类型和条件的描述,包括共享类型、共享条件、共享方式。
*/
@ApiModelProperty
(
"共享属性:对政务数据资源共享类型和条件的描述,包括共享类型、共享条件、共享方式。"
)
private
String
shareOption
;
/**
* 共享条件:无条件共享类和有条件共享类的政务数据资源,应标明使用要求,包括作为行政依据、工作参考、业务协同等;有条件共享类的政务数据资源还应注明共享条件和共享范围;对于不予类的政务数据资源,应注明相关的法律、行政法规或党中央、国务院政策依据。
*/
@ApiModelProperty
(
"共享条件:无条件共享类和有条件共享类的政务数据资源,应标明使用要求,包括作为行政依据、工作参考、业务协同等;有条件共享类的政务数据资源还应注明共享条件和共享范围;对于不予类的政务数据资源,应注明相关的法律、行政法规或党中央、国务院政策依据。"
)
private
String
shareCondition
;
/**
* 共享方式:获取数据资源的方式。原则上应通过数据共享交换平台方式获取。确因条件所限可采用其他方式,如文件夹、纸质文档、电子文档等方式。
*/
@ApiModelProperty
(
"共享方式:获取数据资源的方式。原则上应通过数据共享交换平台方式获取。确因条件所限可采用其他方式,如文件夹、纸质文档、电子文档等方式。"
)
private
String
shareMode
;
/**
* 开放属性:对政务数据资源向社会开放,以及开放条件的描述,包括是否向社会开放、开放条件。
*/
@ApiModelProperty
(
"开放属性:对政务数据资源向社会开放,以及开放条件的描述,包括是否向社会开放、开放条件。"
)
private
String
openOption
;
/**
* 更新周期:数据资源更新的频度。分为1实时、2每日、3每周、4每月、5每季度、6每年等。
*/
@ApiModelProperty
(
"更新周期:数据资源更新的频度。分为1实时、2每日、3每周、4每月、5每季度、6每年等。"
)
private
Integer
updateCycle
;
/**
* 数据资源分类:描述数据资源的分类,包括所属领域、服务分类、以及标签分类。
*/
@ApiModelProperty
(
"数据资源分类:描述数据资源的分类,包括所属领域、服务分类、以及标签分类。"
)
private
String
dataType
;
/**
* 发布日期
*/
@ApiModelProperty
(
"发布日期"
)
private
Date
issueDate
;
/**
* 政务数据资源代码
*/
@ApiModelProperty
(
"政务数据资源代码"
)
private
String
govDataCode
;
/**
* 描述政务数据资源是否属于电子证照。
*/
@ApiModelProperty
(
"描述政务数据资源是否属于电子证照。"
)
private
Integer
ifLicense
;
/**
* 创建时间
*/
@ApiModelProperty
(
"创建时间"
)
private
Date
createTime
;
/**
* 更新时间
*/
@ApiModelProperty
(
"更新时间"
)
private
Date
updateTime
;
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/entity/InfoSystem.java
View file @
59e91a04
package
com
.
zq
.
resource
.
entity
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.util.Date
;
/**
* 系统资源信息表(InfoSystem)实体类
...
...
@@ -18,116 +21,122 @@ import lombok.*;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName
(
value
=
"
info_system
"
)
@TableName
(
value
=
"
INFO_SYSTEM"
,
schema
=
"ZY
"
)
public
class
InfoSystem
{
/**
* 自增
*/
@ApiModelProperty
(
"自增"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Long
id
;
/**
* 系统名称
*/
@ApiModelProperty
(
"系统名称"
)
private
String
systemName
;
/**
* 归属部门id
*/
@ApiModelProperty
(
"归属部门id"
)
private
Long
belongDeptId
;
/**
* 信息系统分类:分为1政务服务业务办理系统、2执法监管系统、3共享交换平台、4办公OA、5视频会商系统、6监控系统、7热线系统、8财务系统、9人事系统、10政府网站。
*/
@ApiModelProperty
(
"信息系统分类:分为1政务服务业务办理系统、2执法监管系统、3共享交换平台、4办公OA、5视频会商系统、6监控系统、7热线系统、8财务系统、9人事系统、10政府网站。"
)
private
Integer
systemType
;
/**
* 信息系统所属层级:分为1国垂、2区垂、3市垂。
*/
@ApiModelProperty
(
"信息系统所属层级:分为1国垂、2区垂、3市垂。"
)
private
Integer
systemLevelType
;
/**
* 覆盖层级:分为1自治区级、2自治区/市两级、3自治区/市/县三级、4自治区/市/县/乡四级、自治区/市/县/乡/村五级。
*/
@ApiModelProperty
(
"覆盖层级:分为1自治区级、2自治区/市两级、3自治区/市/县三级、4自治区/市/县/乡四级、自治区/市/县/乡/村五级。"
)
private
Integer
coverLevelType
;
/**
* 接入网络:分为电1子政务外网、2电子政务内网、3互联网、4业务专网。
*/
@ApiModelProperty
(
"接入网络:分为电1子政务外网、2电子政务内网、3互联网、4业务专网。"
)
private
Integer
networkType
;
/**
* 运行状态: 分为在用、停用、在建。
*/
@ApiModelProperty
(
"运行状态: 分为在用、停用、在建。"
)
private
Integer
runStatus
;
/**
* 云类别分为1政务云、2行业云、市云、3阿里云、4腾讯云、5华为云。
*/
@ApiModelProperty
(
"云类别分为1政务云、2行业云、市云、3阿里云、4腾讯云、5华为云。"
)
private
Integer
cloudType
;
/**
* 云名称
*/
@ApiModelProperty
(
"云名称"
)
private
String
cloudName
;
/**
* 机房(数据中心)建设方式,建设方式分为1自建、2租用。
*/
@ApiModelProperty
(
"机房(数据中心)建设方式,建设方式分为1自建、2租用。"
)
private
Integer
computerRoomType
;
/**
* 机房名称
*/
@ApiModelProperty
(
"机房名称"
)
private
String
computerRoomName
;
/**
* 数据库类型分为1mysql、2oracle、3sqlserver、4Memcached、5Redis、6MongoDB、7达梦、8人大金仓、9其他。
*/
@ApiModelProperty
(
"数据库类型分为1mysql、2oracle、3sqlserver、4Memcached、5Redis、6MongoDB、7达梦、8人大金仓、9其他。"
)
private
Integer
databaseType
;
/**
* 数据库名称
*/
@ApiModelProperty
(
"数据库名称"
)
private
String
databaseName
;
/**
* 系统对应的数据库数量
*/
@ApiModelProperty
(
"系统对应的数据库数量"
)
private
Integer
databaseQuantity
;
/**
* 数据库部署方式: 1分为集群、2分布式、3集中式。
*/
@ApiModelProperty
(
"数据库部署方式: 1分为集群、2分布式、3集中式。"
)
private
Integer
databaseDeploymentType
;
/**
* 创建时间
*/
@ApiModelProperty
(
"创建时间"
)
private
Date
createTime
;
/**
* 更新时间
*/
@ApiModelProperty
(
"更新时间"
)
private
Date
updateTime
;
}
\ No newline at end of file
/**
* 共享状态: 0-未注册, 1-已注册
*/
@ApiModelProperty
(
"共享状态: 0-未注册, 1-已注册"
)
private
Integer
shareStatus
;
}
resource-server/src/main/java/com/zq/resource/entity/OrgDept.java
View file @
59e91a04
...
...
@@ -21,14 +21,14 @@ import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName
(
value
=
"
org_dept
"
)
@TableName
(
value
=
"
ORG_DEPT"
,
schema
=
"ZY
"
)
public
class
OrgDept
{
/**
* 自增
*/
@ApiModelProperty
(
"自增"
)
@TableId
(
type
=
IdType
.
A
UTO
)
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Long
id
;
/**
...
...
@@ -97,4 +97,10 @@ public class OrgDept {
@ApiModelProperty
(
"更新时间"
)
private
Date
updateTime
;
}
\ No newline at end of file
/**
* 共享状态: 0-未注册, 1-已注册
*/
@ApiModelProperty
(
"共享状态: 0-未注册, 1-已注册"
)
private
Integer
shareStatus
;
}
resource-server/src/main/java/com/zq/resource/entity/SystemArea.java
View file @
59e91a04
...
...
@@ -3,7 +3,10 @@ package com.zq.resource.entity;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* 行政区域信息表(SystemArea)实体类
...
...
@@ -15,7 +18,7 @@ import lombok.*;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName
(
value
=
"
system_area
"
)
@TableName
(
value
=
"
SYSTEM_AREA"
,
schema
=
"ZY
"
)
public
class
SystemArea
{
/**
...
...
@@ -24,29 +27,29 @@ public class SystemArea {
@ApiModelProperty
(
"区域唯一标识"
)
@TableId
private
String
id
;
/**
* 区域名称
*/
@ApiModelProperty
(
"区域名称"
)
private
String
name
;
/**
* 区域编码
*/
@ApiModelProperty
(
"区域编码"
)
private
String
code
;
/**
* 类型 1:省级、2:市级、3:区县级、4:街道 5村级
*/
@ApiModelProperty
(
"类型 1:省级、2:市级、3:区县级、4:街道 5村级"
)
private
String
type
;
/**
* 上级区域ID
*/
@ApiModelProperty
(
"上级区域ID"
)
private
String
parentId
;
}
\ No newline at end of file
}
resource-server/src/main/java/com/zq/resource/service/CategoryService.java
View file @
59e91a04
...
...
@@ -7,12 +7,15 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import
com.zq.common.utils.AssertUtils
;
import
com.zq.common.utils.PagingUtils
;
import
com.zq.common.vo.PageVo
;
import
com.zq.resource.constant.ShareStatusEnum
;
import
com.zq.resource.dao.DataCategoryDao
;
import
com.zq.resource.entity.DataCategory
;
import
com.zq.resource.vo.DataCategoryFindVo
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.stereotype.Service
;
import
java.util.Set
;
/**
* @author wilmiam
* @since 2021/8/19 16:47
...
...
@@ -35,6 +38,7 @@ public class CategoryService {
}
public
void
addCategory
(
DataCategory
vo
)
{
vo
.
setShareStatus
(
ShareStatusEnum
.
NOT_REGISTERED
.
getValue
());
vo
.
setCreateTime
(
DateUtil
.
date
());
vo
.
setUpdateTime
(
DateUtil
.
date
());
...
...
@@ -56,4 +60,9 @@ public class CategoryService {
dataCategoryDao
.
updateById
(
dataCategory
);
}
public
void
registerCategory
(
Set
<
String
>
ids
)
{
for
(
String
id
:
ids
)
{
}
}
}
resource-server/src/main/resources/application.yml
View file @
59e91a04
...
...
@@ -29,16 +29,10 @@ spring:
datasource
:
master
:
type
:
com.alibaba.druid.pool.DruidDataSource
url
:
${jdbc.master.url}
username
:
${jdbc.username}
password
:
${jdbc.password}
driver-class-name
:
${jdbc.driver-class-name}
resource
:
type
:
com.alibaba.druid.pool.DruidDataSource
url
:
${jdbc.resource.url}
username
:
${jdbc.username}
password
:
${jdbc.password}
driver-class-name
:
${jdbc.driver-class-name}
url
:
${ojdbc.mzzt.url}
username
:
${ojdbc.username}
password
:
${ojdbc.password}
driver-class-name
:
${ojdbc.driver-class-name}
druid
:
# 初始连接数
initial-size
:
10
...
...
@@ -58,7 +52,7 @@ spring:
test-on-borrow
:
false
test-on-return
:
false
# 检测连接是否有效
validation-query
:
select 1
validation-query
:
SELECT 1 FROM DUAL
filters
:
stat
stat
:
merge-sql
:
true
...
...
sync-server/pom.xml
View file @
59e91a04
...
...
@@ -80,11 +80,10 @@
<!-- oracle8 -->
<dependency>
<groupId>
org.oracle
.jdbc
</groupId>
<artifactId>
o
racle
8
</artifactId>
<version>
1.0
</version>
<groupId>
org.oracle
</groupId>
<artifactId>
o
jdbc
8
</artifactId>
<version>
1
2.1.0.2
.0
</version>
</dependency>
<dependency>
<groupId>
cn.easyproject
</groupId>
<artifactId>
orai18n
</artifactId>
...
...
user-server/src/main/java/com/zq/user/config/MybatisConfig.java
0 → 100644
View file @
59e91a04
package
com
.
zq
.
user
.
config
;
import
com.baomidou.mybatisplus.annotation.DbType
;
import
com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor
;
import
com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor
;
import
com.github.pagehelper.PageInterceptor
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
java.util.Properties
;
/**
* @author wilmiam
* @since 2021-08-09 15:59
*/
@Configuration
public
class
MybatisConfig
{
/**
* MybatisPlus分页插件
*/
@Bean
public
MybatisPlusInterceptor
mybatisPlusInterceptor
()
{
MybatisPlusInterceptor
interceptor
=
new
MybatisPlusInterceptor
();
interceptor
.
addInnerInterceptor
(
new
PaginationInnerInterceptor
(
DbType
.
MYSQL
));
return
interceptor
;
}
/**
* PageHelper分页插件
*
* @return
*/
@Bean
public
PageInterceptor
pageInterceptor
()
{
PageInterceptor
pageInterceptor
=
new
PageInterceptor
();
Properties
properties
=
new
Properties
();
properties
.
put
(
"helperDialect"
,
"mysql"
);
pageInterceptor
.
setProperties
(
properties
);
return
pageInterceptor
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment