Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hubin
long-tern-care-service
Commits
10d7dfb7
Commit
10d7dfb7
authored
Apr 02, 2021
by
hubin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新目录结构 权限管理开发
parent
1d0caac2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
102 changed files
with
197 additions
and
454 deletions
+197
-454
ApplyApplication.java
...vice/src/main/java/com/hungraim/ltc/ApplyApplication.java
+1
-1
AssessmentApplication.java
...src/main/java/com/hungraim/ltc/AssessmentApplication.java
+1
-1
pom.xml
auth-service/pom.xml
+0
-29
AuthApplication.java
...rvice/src/main/java/com/hungraim/ltc/AuthApplication.java
+1
-1
AuthController.java
...main/java/com/hungraim/ltc/controller/AuthController.java
+2
-2
PublicKeyController.java
...java/com/hungraim/ltc/controller/PublicKeyController.java
+1
-1
AuthorizationServerConfiguration.java
.../ltc/gateway/config/AuthorizationServerConfiguration.java
+5
-5
GlobalExceptionHandler.java
...m/hungraim/ltc/gateway/config/GlobalExceptionHandler.java
+3
-3
WebSecurityConfig.java
...va/com/hungraim/ltc/gateway/config/WebSecurityConfig.java
+1
-1
UserDetailsServiceImpl.java
...java/com/hungraim/ltc/service/UserDetailsServiceImpl.java
+7
-7
pom.xml
common/common-core/pom.xml
+13
-1
AssignStatus.java
...src/main/java/com/hungraim/ltc/constant/AssignStatus.java
+1
-1
AuthConstants.java
...rc/main/java/com/hungraim/ltc/constant/AuthConstants.java
+1
-1
Gender.java
...-core/src/main/java/com/hungraim/ltc/constant/Gender.java
+1
-1
ChCfgProperties.java
...m/hungraim/ltc/pojo/entity/SysConfig/ChCfgProperties.java
+1
-1
ChFndDept.java
...ain/java/com/hungraim/ltc/pojo/entity/dept/ChFndDept.java
+1
-1
ChFndDeptCate.java
...java/com/hungraim/ltc/pojo/entity/dept/ChFndDeptCate.java
+1
-1
ChDepositAcct.java
...a/com/hungraim/ltc/pojo/entity/disable/ChDepositAcct.java
+1
-1
ChDepositTrns.java
...a/com/hungraim/ltc/pojo/entity/disable/ChDepositTrns.java
+1
-1
ChDisableApplyHis.java
...m/hungraim/ltc/pojo/entity/disable/ChDisableApplyHis.java
+1
-1
ChDisableInfoChange.java
...hungraim/ltc/pojo/entity/disable/ChDisableInfoChange.java
+1
-1
ChDisableLongitude.java
.../hungraim/ltc/pojo/entity/disable/ChDisableLongitude.java
+1
-1
ChDisableRiskLevel.java
.../hungraim/ltc/pojo/entity/disable/ChDisableRiskLevel.java
+1
-1
ChDisableRiskLevelHis.java
...ngraim/ltc/pojo/entity/disable/ChDisableRiskLevelHis.java
+1
-1
ChDisableTreatment.java
.../hungraim/ltc/pojo/entity/disable/ChDisableTreatment.java
+1
-1
ChFndApplyStatusType.java
...ungraim/ltc/pojo/entity/disable/ChFndApplyStatusType.java
+1
-1
TppesChDisabilityInfo1.java
...graim/ltc/pojo/entity/disable/TppesChDisabilityInfo1.java
+1
-1
TppesFndChUserInfo1.java
...hungraim/ltc/pojo/entity/disable/TppesFndChUserInfo1.java
+1
-1
ChAprReportEvaluate.java
...om/hungraim/ltc/pojo/entity/eval/ChAprReportEvaluate.java
+1
-1
ChCfgAprGroupDetail.java
...om/hungraim/ltc/pojo/entity/eval/ChCfgAprGroupDetail.java
+1
-1
ChSrvBuildBed.java
...om/hungraim/ltc/pojo/entity/governance/ChSrvBuildBed.java
+0
-0
ChSrvRemoveBed.java
...m/hungraim/ltc/pojo/entity/governance/ChSrvRemoveBed.java
+0
-0
ChFndAcModule.java
...java/com/hungraim/ltc/pojo/entity/role/ChFndAcModule.java
+1
-1
ChFndAcModuleUrlBak.java
...om/hungraim/ltc/pojo/entity/role/ChFndAcModuleUrlBak.java
+1
-1
ChFndAcRole.java
...n/java/com/hungraim/ltc/pojo/entity/role/ChFndAcRole.java
+1
-1
ChFndAcRoleModule.java
.../com/hungraim/ltc/pojo/entity/role/ChFndAcRoleModule.java
+1
-1
ChFndAcUserRole.java
...va/com/hungraim/ltc/pojo/entity/role/ChFndAcUserRole.java
+1
-1
TppesChRole.java
...n/java/com/hungraim/ltc/pojo/entity/role/TppesChRole.java
+1
-1
TppesChRoleMenu.java
...va/com/hungraim/ltc/pojo/entity/role/TppesChRoleMenu.java
+1
-1
TppesChUserRole.java
...va/com/hungraim/ltc/pojo/entity/role/TppesChUserRole.java
+1
-1
ChCfgAcc.java
.../com/hungraim/ltc/pojo/entity/serviceManage/ChCfgAcc.java
+1
-1
ChSrvProgram.java
.../hungraim/ltc/pojo/entity/serviceManage/ChSrvProgram.java
+1
-1
ChSrvSendEvaluate.java
...raim/ltc/pojo/entity/serviceManage/ChSrvSendEvaluate.java
+1
-1
TppesChh5Picture1.java
...raim/ltc/pojo/entity/serviceManage/TppesChh5Picture1.java
+1
-1
SystemClientDetails.java
.../hungraim/ltc/pojo/entity/system/SystemClientDetails.java
+1
-1
SystemResource.java
...a/com/hungraim/ltc/pojo/entity/system/SystemResource.java
+10
-5
SystemRole.java
.../java/com/hungraim/ltc/pojo/entity/system/SystemRole.java
+11
-5
SystemRoleResource.java
...m/hungraim/ltc/pojo/entity/system/SystemRoleResource.java
+1
-1
SystemUser.java
.../java/com/hungraim/ltc/pojo/entity/system/SystemUser.java
+5
-3
SystemUserRole.java
...a/com/hungraim/ltc/pojo/entity/system/SystemUserRole.java
+1
-1
MainMenuVO.java
...main/java/com/hungraim/ltc/pojo/vo/system/MainMenuVO.java
+1
-1
ReqResource.java
...ain/java/com/hungraim/ltc/pojo/vo/system/ReqResource.java
+1
-1
ReqRoleInfo.java
...ain/java/com/hungraim/ltc/pojo/vo/system/ReqRoleInfo.java
+2
-2
ReqUserInfo.java
...ain/java/com/hungraim/ltc/pojo/vo/system/ReqUserInfo.java
+1
-1
UserLoginInfoVO.java
...java/com/hungraim/ltc/pojo/vo/system/UserLoginInfoVO.java
+3
-3
CheckStrength.java
...re/src/main/java/com/hungraim/ltc/util/CheckStrength.java
+1
-1
DateUtils.java
...n-core/src/main/java/com/hungraim/ltc/util/DateUtils.java
+1
-1
IResultCode.java
...core/src/main/java/com/hungraim/ltc/util/IResultCode.java
+1
-1
RequestUtils.java
...ore/src/main/java/com/hungraim/ltc/util/RequestUtils.java
+2
-2
Result.java
...mmon-core/src/main/java/com/hungraim/ltc/util/Result.java
+1
-1
ResultCode.java
...-core/src/main/java/com/hungraim/ltc/util/ResultCode.java
+1
-1
DataSourceConfig.java
...c/main/java/com/hungraim/ltc/config/DataSourceConfig.java
+1
-1
RedisConfig.java
...dis/src/main/java/com/hungraim/ltc/redis/RedisConfig.java
+1
-1
GatewayApplication.java
...ce/src/main/java/com/hungraim/ltc/GatewayApplication.java
+1
-1
CorsConfig.java
...main/java/com/hungraim/ltc/gateway/config/CorsConfig.java
+1
-1
GatewayConfig.java
...n/java/com/hungraim/ltc/gateway/config/GatewayConfig.java
+1
-1
NacosGatewayDefineConfig.java
...hungraim/ltc/gateway/config/NacosGatewayDefineConfig.java
+2
-2
ResourceServerConfig.java
...com/hungraim/ltc/gateway/config/ResourceServerConfig.java
+5
-5
AuthorizationManager.java
...m/hungraim/ltc/gateway/security/AuthorizationManager.java
+2
-2
INacosDynamicRouteService.java
...ngraim/ltc/gateway/service/INacosDynamicRouteService.java
+1
-1
NacosDynamicRouteServiceImpl.java
...tc/gateway/service/impl/NacosDynamicRouteServiceImpl.java
+2
-2
WebUtils.java
...rc/main/java/com/hungraim/ltc/gateway/utils/WebUtils.java
+1
-1
pom.xml
governance/pom.xml
+3
-4
pom.xml
manage/manage-api/pom.xml
+0
-40
DOCKERFILE
manage/manage-service/DOCKERFILE
+0
-12
deployment.yaml
manage/manage-service/deployment.yaml
+0
-25
pom.xml
manage/manage-service/pom.xml
+0
-82
ManageApplication.java
...ice/src/main/java/com/hungraim/ltr/ManageApplication.java
+0
-19
bootstrap.yml
manage/manage-service/src/main/resources/bootstrap.yml
+0
-33
pom.xml
manage/pom.xml
+0
-41
pom.xml
pom.xml
+1
-1
SystemApplication.java
...ice/src/main/java/com/hungraim/ltc/SystemApplication.java
+1
-1
InitResourceRoleCacheRunner.java
...m/hungraim/ltc/component/InitResourceRoleCacheRunner.java
+2
-2
ResourcesController.java
...m/hungraim/ltc/system/controller/ResourcesController.java
+6
-6
RoleController.java
...va/com/hungraim/ltc/system/controller/RoleController.java
+7
-7
UserController.java
...va/com/hungraim/ltc/system/controller/UserController.java
+12
-12
SystemResourceMapper.java
...ava/com/hungraim/ltc/system/dao/SystemResourceMapper.java
+2
-2
SystemRoleMapper.java
...in/java/com/hungraim/ltc/system/dao/SystemRoleMapper.java
+2
-2
SystemRoleResourceMapper.java
...com/hungraim/ltc/system/dao/SystemRoleResourceMapper.java
+2
-2
SystemUserMapper.java
...in/java/com/hungraim/ltc/system/dao/SystemUserMapper.java
+2
-2
SystemUserRoleMapper.java
...ava/com/hungraim/ltc/system/dao/SystemUserRoleMapper.java
+2
-2
ISystemResourceService.java
...m/hungraim/ltc/system/service/ISystemResourceService.java
+2
-2
ISystemRoleResourceService.java
...ngraim/ltc/system/service/ISystemRoleResourceService.java
+2
-2
ISystemRoleService.java
...a/com/hungraim/ltc/system/service/ISystemRoleService.java
+2
-2
ISystemUserRoleService.java
...m/hungraim/ltc/system/service/ISystemUserRoleService.java
+2
-2
ISystemUserService.java
...a/com/hungraim/ltc/system/service/ISystemUserService.java
+2
-2
SystemResourceServiceImpl.java
...im/ltc/system/service/impl/SystemResourceServiceImpl.java
+5
-5
SystemRoleResourceServiceImpl.java
...tc/system/service/impl/SystemRoleResourceServiceImpl.java
+4
-4
SystemRoleServiceImpl.java
...ngraim/ltc/system/service/impl/SystemRoleServiceImpl.java
+4
-4
SystemUserRoleServiceImpl.java
...im/ltc/system/service/impl/SystemUserRoleServiceImpl.java
+4
-4
SystemUserServiceImpl.java
...ngraim/ltc/system/service/impl/SystemUserServiceImpl.java
+0
-0
SystemAdminFeignService.java
...in/java/com/hungraim/ltc/api/SystemAdminFeignService.java
+0
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/lt
r
/ApplyApplication.java
→
apply/apply-service/src/main/java/com/hungraim/lt
c
/ApplyApplication.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
;
package
com
.
hungraim
.
lt
c
;
import
org.springframework.boot.SpringApplication
;
...
...
assessment/assessment-service/src/main/java/com/hungraim/lt
r
/AssessmentApplication.java
→
assessment/assessment-service/src/main/java/com/hungraim/lt
c
/AssessmentApplication.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
;
package
com
.
hungraim
.
lt
c
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
...
auth-service/pom.xml
View file @
10d7dfb7
...
...
@@ -84,35 +84,6 @@
<fork>
true
</fork>
<!--重要-->
</configuration>
</plugin>
<!--添加mybatis generator maven插件-->
<plugin>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-maven-plugin
</artifactId>
<version>
1.3.5
</version>
<configuration>
<!--generatorConfig.xml位置-->
<configurationFile>
src/main/resources/mybatis-generator/generatorConfig.xml
</configurationFile>
<verbose>
true
</verbose>
<overwrite>
true
</overwrite>
</configuration>
<executions>
<execution>
<id>
Generate MyBatis Artifacts
</id>
<goals>
<goal>
generate
</goal>
</goals>
<phase>
generate-sources
</phase>
</execution>
</executions>
<!--此处必须添加oracle驱动包-->
<dependencies>
<dependency>
<groupId>
com.oracle
</groupId>
<artifactId>
ojdbc6
</artifactId>
<version>
11.1.0.7.0
</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
...
...
auth-service/src/main/java/com/hungraim/lt
r
/AuthApplication.java
→
auth-service/src/main/java/com/hungraim/lt
c
/AuthApplication.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
;
package
com
.
hungraim
.
lt
c
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
...
auth-service/src/main/java/com/hungraim/lt
r
/controller/AuthController.java
→
auth-service/src/main/java/com/hungraim/lt
c
/controller/AuthController.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
controller
;
package
com
.
hungraim
.
lt
c
.
controller
;
import
com.hungraim.lt
r
.util.Result
;
import
com.hungraim.lt
c
.util.Result
;
import
lombok.AllArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.security.oauth2.common.OAuth2AccessToken
;
...
...
auth-service/src/main/java/com/hungraim/lt
r
/controller/PublicKeyController.java
→
auth-service/src/main/java/com/hungraim/lt
c
/controller/PublicKeyController.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
controller
;
package
com
.
hungraim
.
lt
c
.
controller
;
import
com.nimbusds.jose.jwk.JWKSet
;
import
com.nimbusds.jose.jwk.RSAKey
;
...
...
auth-service/src/main/java/com/hungraim/lt
r
/gateway/config/AuthorizationServerConfiguration.java
→
auth-service/src/main/java/com/hungraim/lt
c
/gateway/config/AuthorizationServerConfiguration.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
config
;
package
com
.
hungraim
.
lt
c
.
gateway
.
config
;
import
cn.hutool.http.HttpStatus
;
import
cn.hutool.json.JSONUtil
;
import
com.hungraim.lt
r
.pojo.vo.system.UserLoginInfoVO
;
import
com.hungraim.lt
r
.service.UserDetailsServiceImpl
;
import
com.hungraim.lt
r
.util.Result
;
import
com.hungraim.lt
r
.util.ResultCode
;
import
com.hungraim.lt
c
.pojo.vo.system.UserLoginInfoVO
;
import
com.hungraim.lt
c
.service.UserDetailsServiceImpl
;
import
com.hungraim.lt
c
.util.Result
;
import
com.hungraim.lt
c
.util.ResultCode
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
...
...
auth-service/src/main/java/com/hungraim/lt
r
/gateway/config/GlobalExceptionHandler.java
→
auth-service/src/main/java/com/hungraim/lt
c
/gateway/config/GlobalExceptionHandler.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
config
;
package
com
.
hungraim
.
lt
c
.
gateway
.
config
;
import
com.hungraim.lt
r
.util.Result
;
import
com.hungraim.lt
r
.util.ResultCode
;
import
com.hungraim.lt
c
.util.Result
;
import
com.hungraim.lt
c
.util.ResultCode
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.security.core.AuthenticationException
;
import
org.springframework.security.oauth2.common.exceptions.InvalidGrantException
;
...
...
auth-service/src/main/java/com/hungraim/lt
r
/gateway/config/WebSecurityConfig.java
→
auth-service/src/main/java/com/hungraim/lt
c
/gateway/config/WebSecurityConfig.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
config
;
package
com
.
hungraim
.
lt
c
.
gateway
.
config
;
import
org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest
;
import
org.springframework.context.annotation.Bean
;
...
...
auth-service/src/main/java/com/hungraim/lt
r
/service/UserDetailsServiceImpl.java
→
auth-service/src/main/java/com/hungraim/lt
c
/service/UserDetailsServiceImpl.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
service
;
package
com
.
hungraim
.
lt
c
.
service
;
import
com.hungraim.lt
r
.api.SystemAdminFeignService
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUser
;
import
com.hungraim.lt
r
.pojo.vo.system.UserLoginInfoVO
;
import
com.hungraim.lt
r
.util.Result
;
import
com.hungraim.lt
r
.util.ResultCode
;
import
com.hungraim.lt
c
.api.SystemAdminFeignService
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUser
;
import
com.hungraim.lt
c
.pojo.vo.system.UserLoginInfoVO
;
import
com.hungraim.lt
c
.util.Result
;
import
com.hungraim.lt
c
.util.ResultCode
;
import
lombok.AllArgsConstructor
;
import
org.springframework.security.core.userdetails.UserDetails
;
import
org.springframework.security.core.userdetails.UserDetailsService
;
...
...
@@ -33,7 +33,7 @@ public class UserDetailsServiceImpl implements UserDetailsService {
}
SystemUser
systemUser
=
userRes
.
getData
();
//根据用户id获取用户权限
Result
<
List
<
Long
>>
roles
=
system
UserFeignService
.
loadUserRolesByUserId
(
systemUser
.
getUser
Id
());
Result
<
List
<
Long
>>
roles
=
system
AdminFeignService
.
loadUserRolesByUserId
(
systemUser
.
get
Id
());
UserLoginInfoVO
userLoginInfoVO
=
new
UserLoginInfoVO
(
systemUser
);
userLoginInfoVO
.
setAuthorities
(
roles
.
getData
());
...
...
common/common-core/pom.xml
View file @
10d7dfb7
...
...
@@ -9,8 +9,20 @@
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
common-core
</artifactId>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
7
</source>
<target>
7
</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependencies>
<dependency>
<groupId>
com.hungraim.ltc
</groupId>
<artifactId>
common-redis
</artifactId>
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/constant/AssignStatus.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/constant/AssignStatus.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
constant
;
package
com
.
hungraim
.
lt
c
.
constant
;
import
lombok.AllArgsConstructor
;
import
lombok.NoArgsConstructor
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/constant/AuthConstants.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/constant/AuthConstants.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
constant
;
package
com
.
hungraim
.
lt
c
.
constant
;
/**
* @author hubin
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/constant/Gender.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/constant/Gender.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
constant
;
package
com
.
hungraim
.
lt
c
.
constant
;
import
lombok.AllArgsConstructor
;
import
lombok.NoArgsConstructor
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/SysConfig/ChCfgProperties.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/SysConfig/ChCfgProperties.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
SysConfig
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
SysConfig
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/dept/ChFndDept.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/dept/ChFndDept.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
dept
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
dept
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/dept/ChFndDeptCate.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/dept/ChFndDeptCate.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
dept
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
dept
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChDepositAcct.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChDepositAcct.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChDepositTrns.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChDepositTrns.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChDisableApplyHis.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChDisableApplyHis.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChDisableInfoChange.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChDisableInfoChange.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChDisableLongitude.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChDisableLongitude.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChDisableRiskLevel.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChDisableRiskLevel.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChDisableRiskLevelHis.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChDisableRiskLevelHis.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChDisableTreatment.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChDisableTreatment.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/ChFndApplyStatusType.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/ChFndApplyStatusType.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/TppesChDisabilityInfo1.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/TppesChDisabilityInfo1.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/disable/TppesFndChUserInfo1.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/disable/TppesFndChUserInfo1.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
disable
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/eval/ChAprReportEvaluate.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/eval/ChAprReportEvaluate.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
eval
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
eval
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/eval/ChCfgAprGroupDetail.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/eval/ChCfgAprGroupDetail.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
eval
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
eval
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/governance/ChSrvBuildBed.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/governance/ChSrvBuildBed.java
View file @
10d7dfb7
File moved
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/governance/ChSrvRemoveBed.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/governance/ChSrvRemoveBed.java
View file @
10d7dfb7
File moved
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/role/ChFndAcModule.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/role/ChFndAcModule.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
role
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
role
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/role/ChFndAcModuleUrlBak.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/role/ChFndAcModuleUrlBak.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
role
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
role
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/role/ChFndAcRole.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/role/ChFndAcRole.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
role
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
role
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/role/ChFndAcRoleModule.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/role/ChFndAcRoleModule.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
role
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
role
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/role/ChFndAcUserRole.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/role/ChFndAcUserRole.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
role
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
role
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/role/TppesChRole.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/role/TppesChRole.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
role
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
role
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/role/TppesChRoleMenu.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/role/TppesChRoleMenu.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
role
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
role
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/role/TppesChUserRole.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/role/TppesChUserRole.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
role
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
role
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/serviceManage/ChCfgAcc.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/serviceManage/ChCfgAcc.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
serviceManage
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
serviceManage
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/serviceManage/ChSrvProgram.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/serviceManage/ChSrvProgram.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
serviceManage
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
serviceManage
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/serviceManage/ChSrvSendEvaluate.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/serviceManage/ChSrvSendEvaluate.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
serviceManage
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
serviceManage
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/serviceManage/TppesChh5Picture1.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/serviceManage/TppesChh5Picture1.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
serviceManage
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
serviceManage
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/system/SystemClientDetails.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/system/SystemClientDetails.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
system
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/system/SystemResource.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/system/SystemResource.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
system
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
@@ -16,16 +17,20 @@ import java.util.List;
@TableName
(
"LTC_RESOURCE"
)
public
class
SystemResource
{
private
Long
resourceId
;
@TableId
@TableField
(
"RESOURCE_ID"
)
private
Long
id
;
private
String
resourceName
;
private
String
resourceUrl
;
private
String
resourceType
;
private
String
method
;
private
String
resourceType
;
private
Long
parentId
;
private
String
resourceIcon
;
private
Date
createdTime
;
@TableField
(
"RESOURCE_ICON"
)
private
String
icon
;
private
Date
createTime
;
@TableField
(
exist
=
false
)
private
List
<
Long
>
roleIds
;
}
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/system/SystemRole.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/system/SystemRole.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
system
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
@@ -14,10 +16,14 @@ import java.util.Date;
@TableName
(
"LTC_ROLE"
)
public
class
SystemRole
{
private
Long
roleId
;
private
String
roleName
;
@TableId
@TableField
(
"ROLE_ID"
)
private
Long
id
;
@TableField
(
"ROLE_NAME"
)
private
String
name
;
private
String
status
;
private
Date
createdTime
;
private
Date
updatedTime
;
private
Date
createTime
;
private
Date
modifyTime
;
}
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/system/SystemRoleResource.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/system/SystemRoleResource.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
system
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/system/SystemUser.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/system/SystemUser.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
system
;
import
com.baomidou.mybatisplus.annotation.
IdType
;
import
com.baomidou.mybatisplus.annotation.
TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
@@ -16,7 +16,9 @@ import java.util.Date;
@TableName
(
"LTC_USER"
)
public
class
SystemUser
{
private
Long
userId
;
@TableId
@TableField
(
"USER_ID"
)
private
Long
id
;
private
String
account
;
private
String
password
;
private
String
realName
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/entity/system/SystemUserRole.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/entity/system/SystemUserRole.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
entity
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
entity
.
system
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/vo/system/MainMenuVO.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/vo/system/MainMenuVO.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
vo
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
vo
.
system
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/vo/system/ReqResource.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/vo/system/ReqResource.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
vo
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
vo
.
system
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/vo/system/ReqRoleInfo.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/vo/system/ReqRoleInfo.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
vo
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
vo
.
system
;
import
lombok.Data
;
...
...
@@ -12,7 +12,7 @@ public class ReqRoleInfo {
private
Long
id
;
private
String
name
;
private
Integer
status
;
private
String
status
;
private
List
<
Long
>
resource
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/vo/system/ReqUserInfo.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/vo/system/ReqUserInfo.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
vo
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
vo
.
system
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/pojo/vo/system/UserLoginInfoVO.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/pojo/vo/system/UserLoginInfoVO.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
pojo
.
vo
.
system
;
package
com
.
hungraim
.
lt
c
.
pojo
.
vo
.
system
;
import
cn.hutool.core.collection.CollectionUtil
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUser
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUser
;
import
lombok.Data
;
import
org.springframework.security.core.GrantedAuthority
;
import
org.springframework.security.core.authority.SimpleGrantedAuthority
;
...
...
@@ -28,7 +28,7 @@ public class UserLoginInfoVO implements UserDetails {
this
.
username
=
user
.
getAccount
();
this
.
password
=
user
.
getPassword
();
this
.
name
=
user
.
getRealName
();
this
.
userId
=
user
.
get
User
Id
();
this
.
userId
=
user
.
getId
();
this
.
enable
=
"1"
.
equals
(
user
.
getUserStatus
())
;
}
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/util/CheckStrength.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/util/CheckStrength.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
util
;
package
com
.
hungraim
.
lt
c
.
util
;
import
cn.hutool.core.util.NumberUtil
;
import
cn.hutool.core.util.StrUtil
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/util/DateUtils.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/util/DateUtils.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
util
;
package
com
.
hungraim
.
lt
c
.
util
;
import
cn.hutool.core.util.StrUtil
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/util/IResultCode.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/util/IResultCode.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
util
;
package
com
.
hungraim
.
lt
c
.
util
;
/**
* @author hubin
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/util/RequestUtils.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/util/RequestUtils.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
util
;
package
com
.
hungraim
.
lt
c
.
util
;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.json.JSONObject
;
import
cn.hutool.json.JSONUtil
;
import
com.hungraim.lt
r
.constant.AuthConstants
;
import
com.hungraim.lt
c
.constant.AuthConstants
;
import
lombok.SneakyThrows
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.http.HttpEntity
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/util/Result.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/util/Result.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
util
;
package
com
.
hungraim
.
lt
c
.
util
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
lombok.Data
;
...
...
common/common-core/src/main/java/com/hungraim/lt
r
/util/ResultCode.java
→
common/common-core/src/main/java/com/hungraim/lt
c
/util/ResultCode.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
util
;
package
com
.
hungraim
.
lt
c
.
util
;
import
lombok.AllArgsConstructor
;
import
lombok.NoArgsConstructor
;
...
...
common/common-mybatis/src/main/java/com/hungraim/lt
r
/config/DataSourceConfig.java
→
common/common-mybatis/src/main/java/com/hungraim/lt
c
/config/DataSourceConfig.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
config
;
package
com
.
hungraim
.
lt
c
.
config
;
import
com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor
;
...
...
common/common-redis/src/main/java/com/hungraim/lt
r
/redis/RedisConfig.java
→
common/common-redis/src/main/java/com/hungraim/lt
c
/redis/RedisConfig.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
redis
;
package
com
.
hungraim
.
lt
c
.
redis
;
import
com.fasterxml.jackson.annotation.JsonAutoDetect
;
import
com.fasterxml.jackson.annotation.PropertyAccessor
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/GatewayApplication.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/GatewayApplication.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
;
package
com
.
hungraim
.
lt
c
;
import
org.springframework.boot.SpringApplication
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/gateway/config/CorsConfig.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/gateway/config/CorsConfig.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
config
;
package
com
.
hungraim
.
lt
c
.
gateway
.
config
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.http.HttpHeaders
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/gateway/config/GatewayConfig.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/gateway/config/GatewayConfig.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
config
;
package
com
.
hungraim
.
lt
c
.
gateway
.
config
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.context.annotation.Configuration
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/gateway/config/NacosGatewayDefineConfig.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/gateway/config/NacosGatewayDefineConfig.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
config
;
package
com
.
hungraim
.
lt
c
.
gateway
.
config
;
import
cn.hutool.json.JSONUtil
;
import
com.alibaba.nacos.api.NacosFactory
;
import
com.alibaba.nacos.api.config.ConfigService
;
import
com.alibaba.nacos.api.config.listener.Listener
;
import
com.alibaba.nacos.api.exception.NacosException
;
import
com.hungraim.lt
r
.gateway.service.impl.NacosDynamicRouteServiceImpl
;
import
com.hungraim.lt
c
.gateway.service.impl.NacosDynamicRouteServiceImpl
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.CommandLineRunner
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/gateway/config/ResourceServerConfig.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/gateway/config/ResourceServerConfig.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
config
;
package
com
.
hungraim
.
lt
c
.
gateway
.
config
;
import
cn.hutool.json.JSONUtil
;
import
com.hungraim.lt
r
.constant.AuthConstants
;
import
com.hungraim.lt
r
.gateway.security.AuthorizationManager
;
import
com.hungraim.lt
r
.util.Result
;
import
com.hungraim.lt
r
.util.ResultCode
;
import
com.hungraim.lt
c
.constant.AuthConstants
;
import
com.hungraim.lt
c
.gateway.security.AuthorizationManager
;
import
com.hungraim.lt
c
.util.Result
;
import
com.hungraim.lt
c
.util.ResultCode
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/gateway/security/AuthorizationManager.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/gateway/security/AuthorizationManager.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
security
;
package
com
.
hungraim
.
lt
c
.
gateway
.
security
;
import
cn.hutool.core.convert.Convert
;
import
cn.hutool.core.util.StrUtil
;
import
com.hungraim.lt
r
.constant.AuthConstants
;
import
com.hungraim.lt
c
.constant.AuthConstants
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.redis.core.RedisTemplate
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/gateway/service/INacosDynamicRouteService.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/gateway/service/INacosDynamicRouteService.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
service
;
package
com
.
hungraim
.
lt
c
.
gateway
.
service
;
import
org.springframework.cloud.gateway.route.RouteDefinition
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/gateway/service/impl/NacosDynamicRouteServiceImpl.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/gateway/service/impl/NacosDynamicRouteServiceImpl.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
service
.
impl
;
package
com
.
hungraim
.
lt
c
.
gateway
.
service
.
impl
;
import
com.alibaba.nacos.client.naming.utils.CollectionUtils
;
import
com.hungraim.lt
r
.gateway.service.INacosDynamicRouteService
;
import
com.hungraim.lt
c
.gateway.service.INacosDynamicRouteService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.cloud.gateway.event.RefreshRoutesEvent
;
...
...
gateway-service/src/main/java/com/hungraim/lt
r
/gateway/utils/WebUtils.java
→
gateway-service/src/main/java/com/hungraim/lt
c
/gateway/utils/WebUtils.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
gateway
.
utils
;
package
com
.
hungraim
.
lt
c
.
gateway
.
utils
;
/**
* @author hubin
...
...
governance/pom.xml
View file @
10d7dfb7
...
...
@@ -3,8 +3,8 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
l
ong-term-care
</artifactId>
<groupId>
com.hungraim.
ism
</groupId>
<artifactId>
l
tc
</artifactId>
<groupId>
com.hungraim.
ltc
</groupId>
<version>
0.0.1
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
@@ -96,4 +96,4 @@
<url>
http://121.5.28.27:9091/nexus/repository/maven-snapshots/
</url>
</snapshotRepository>
</distributionManagement>
</project>
\ No newline at end of file
</project>
manage/manage-api/pom.xml
deleted
100644 → 0
View file @
1d0caac2
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
manage
</artifactId>
<groupId>
com.hungraim.ltc
</groupId>
<version>
0.0.1
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
manage-api
</artifactId>
<dependencies>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-openfeign-core
</artifactId>
</dependency>
<dependency>
<groupId>
com.hungraim.ltc
</groupId>
<artifactId>
common-core
</artifactId>
<version>
0.0.1
</version>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>
releases
</id>
<name>
Nexus Release Repository
</name>
<url>
http://121.5.28.27:9091/nexus/repository/maven-releases/
</url>
</repository>
<snapshotRepository>
<id>
snapshots
</id>
<name>
Nexus Snapshot Repository
</name>
<url>
http://121.5.28.27:9091/nexus/repository/maven-snapshots/
</url>
</snapshotRepository>
</distributionManagement>
</project>
manage/manage-service/DOCKERFILE
deleted
100644 → 0
View file @
1d0caac2
#指定依赖的镜像
FROM
localhost:9999/library/java:8
#springboot
VOLUME
/tmp
#容器使用端口
EXPOSE
8002
#添加jar包入容器
ADD
manage/manage-service/target/manage-0.0.1.jar app.jar
#改名
RUN
sh
-c
'touch /app.jar'
#容器启动java
ENTRYPOINT
["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
manage/manage-service/deployment.yaml
deleted
100644 → 0
View file @
1d0caac2
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
manage-service
namespace
:
ltc-service
labels
:
app
:
manage-service
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
manage-service
template
:
metadata
:
labels
:
app
:
manage-service
spec
:
imagePullSecrets
:
-
name
:
ltc-harbor
containers
:
-
name
:
manage
#TODO:pod的名称,必须字段,名称唯一且对象创建后不可以被修改
image
:
localhost:9999/ltc/ltc-system-user-service:latest
#TODO:镜像仓库的路径/镜像的名称:镜像的标签,
imagePullPolicy
:
Always
#Always(总是去仓库下载),Never(从不去仓库下载),IfNotPresent(如果本地没有就去仓库下载),默认是"IfNotPresent"
ports
:
-
containerPort
:
8001
#TODO:containerPort是pod内部容器的端口,targetPort映射到containerPort;例如,mysql服务需要暴露3306端口,redis暴露6379端口
manage/manage-service/pom.xml
deleted
100644 → 0
View file @
1d0caac2
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
manage
</artifactId>
<groupId>
com.hungraim.ltc
</groupId>
<version>
0.0.1
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
manage-service
</artifactId>
<dependencies>
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<artifactId>
spring-cloud-starter-alibaba-nacos-discovery
</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-nacos-config -->
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<artifactId>
spring-cloud-starter-alibaba-nacos-config
</artifactId>
<version>
2.2.5.RELEASE
</version>
</dependency>
<!--基础包-->
<dependency>
<groupId>
com.hungraim.ltc
</groupId>
<artifactId>
common-core
</artifactId>
<version>
0.0.1
</version>
<exclusions>
<exclusion>
<groupId>
org.springframework.security
</groupId>
<artifactId>
spring-security-core
</artifactId>
</exclusion>
<exclusion>
<groupId>
org.springframework.security
</groupId>
<artifactId>
spring-security-config
</artifactId>
</exclusion>
<exclusion>
<groupId>
org.springframework.security
</groupId>
<artifactId>
spring-security-oauth2-jose
</artifactId>
</exclusion>
<exclusion>
<groupId>
org.apache.tomcat.embed
</groupId>
<artifactId>
tomcat-embed-core
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
com.hungraim.ltc
</groupId>
<artifactId>
common-mybatis
</artifactId>
<version>
0.0.1
</version>
</dependency>
<dependency>
<groupId>
com.hungraim.ltc
</groupId>
<artifactId>
common-redis
</artifactId>
<version>
0.0.1
</version>
</dependency>
<!--基础包 end-->
<!-- spring boot web -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<fork>
true
</fork>
<!--重要-->
</configuration>
</plugin>
</plugins>
</build>
</project>
manage/manage-service/src/main/java/com/hungraim/ltr/ManageApplication.java
deleted
100644 → 0
View file @
1d0caac2
package
com
.
hungraim
.
ltr
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
/**
* 申请服务
*
* @author zhangch
*/
@SpringBootApplication
@EnableDiscoveryClient
public
class
ManageApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
ManageApplication
.
class
,
args
);
}
}
manage/manage-service/src/main/resources/bootstrap.yml
deleted
100644 → 0
View file @
1d0caac2
spring
:
devtools
:
restart
:
enabled
:
true
additional-paths
:
src/main/java
application
:
name
:
LTC-MANAGE-SERVICE
cloud
:
nacos
:
discovery
:
server-addr
:
qw.hungraim.com:31158
namespace
:
87d6f6f1-6583-46ea-ad02-7e8125f03c90
config
:
namespace
:
87d6f6f1-6583-46ea-ad02-7e8125f03c90
server-addr
:
qw.hungraim.com:31158
file-extension
:
yaml
# 必须修改成yaml
extension-configs
:
-
data-id
:
ltc-database.yaml
group
:
common
refresh
:
true
-
data-id
:
ltc-basic.yaml
group
:
common
refresh
:
true
-
data-id
:
thread-config.yaml
group
:
system
refresh
:
true
server
:
port
:
8007
mybatis-plus
:
configuration
:
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
manage/pom.xml
deleted
100644 → 0
View file @
1d0caac2
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
ltc
</artifactId>
<groupId>
com.hungraim.ltc
</groupId>
<version>
0.0.1
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
manage
</artifactId>
<packaging>
pom
</packaging>
<modules>
<module>
manage-service
</module>
<module>
manage-api
</module>
</modules>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.target>
8
</maven.compiler.target>
</properties>
<dependencies>
</dependencies>
<distributionManagement>
<repository>
<id>
releases
</id>
<name>
Nexus Release Repository
</name>
<url>
http://121.5.28.27:9091/nexus/repository/maven-releases/
</url>
</repository>
<snapshotRepository>
<id>
snapshots
</id>
<name>
Nexus Snapshot Repository
</name>
<url>
http://121.5.28.27:9091/nexus/repository/maven-snapshots/
</url>
</snapshotRepository>
</distributionManagement>
</project>
pom.xml
View file @
10d7dfb7
...
...
@@ -17,7 +17,7 @@
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<packaging>
pom
</packaging>
<groupId>
com.hungraim.
ism
</groupId>
<groupId>
com.hungraim.
ltc
</groupId>
<artifactId>
ltc
</artifactId>
<version>
0.0.1
</version>
<name>
spring-cloud-init
</name>
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/SystemApplication.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/SystemApplication.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
;
package
com
.
hungraim
.
lt
c
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/component/InitResourceRoleCacheRunner.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/component/InitResourceRoleCacheRunner.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
component
;
package
com
.
hungraim
.
lt
c
.
component
;
import
com.hungraim.lt
r
.system.service.impl.SystemResourceServiceImpl
;
import
com.hungraim.lt
c
.system.service.impl.SystemResourceServiceImpl
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.CommandLineRunner
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/controller/ResourcesController.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/controller/ResourcesController.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
controller
;
package
com
.
hungraim
.
lt
c
.
system
.
controller
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemResource
;
import
com.hungraim.lt
r
.pojo.vo.system.MainMenuVO
;
import
com.hungraim.lt
r
.pojo.vo.system.ReqResource
;
import
com.hungraim.lt
r
.system.service.ISystemResourceService
;
import
com.hungraim.lt
r
.util.Result
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemResource
;
import
com.hungraim.lt
c
.pojo.vo.system.MainMenuVO
;
import
com.hungraim.lt
c
.pojo.vo.system.ReqResource
;
import
com.hungraim.lt
c
.system.service.ISystemResourceService
;
import
com.hungraim.lt
c
.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/controller/RoleController.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/controller/RoleController.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
controller
;
package
com
.
hungraim
.
lt
c
.
system
.
controller
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemRole
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemRoleResource
;
import
com.hungraim.lt
r
.pojo.vo.system.ReqRoleInfo
;
import
com.hungraim.lt
r
.system.service.ISystemRoleResourceService
;
import
com.hungraim.lt
r
.system.service.ISystemRoleService
;
import
com.hungraim.lt
r
.util.Result
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemRole
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemRoleResource
;
import
com.hungraim.lt
c
.pojo.vo.system.ReqRoleInfo
;
import
com.hungraim.lt
c
.system.service.ISystemRoleResourceService
;
import
com.hungraim.lt
c
.system.service.ISystemRoleService
;
import
com.hungraim.lt
c
.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/controller/UserController.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/controller/UserController.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
controller
;
package
com
.
hungraim
.
lt
c
.
system
.
controller
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.hungraim.lt
r
.constant.Gender
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUser
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUserRole
;
import
com.hungraim.lt
r
.pojo.vo.system.ReqUserInfo
;
import
com.hungraim.lt
r
.system.service.ISystemUserRoleService
;
import
com.hungraim.lt
r
.system.service.ISystemUserService
;
import
com.hungraim.lt
r
.system.service.impl.SystemUserRoleServiceImpl
;
import
com.hungraim.lt
r
.system.service.impl.SystemUserServiceImpl
;
import
com.hungraim.lt
r
.util.CheckStrength
;
import
com.hungraim.lt
r
.util.Result
;
import
com.hungraim.lt
r
.util.ResultCode
;
import
com.hungraim.lt
c
.constant.Gender
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUser
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUserRole
;
import
com.hungraim.lt
c
.pojo.vo.system.ReqUserInfo
;
import
com.hungraim.lt
c
.system.service.ISystemUserRoleService
;
import
com.hungraim.lt
c
.system.service.ISystemUserService
;
import
com.hungraim.lt
c
.system.service.impl.SystemUserRoleServiceImpl
;
import
com.hungraim.lt
c
.system.service.impl.SystemUserServiceImpl
;
import
com.hungraim.lt
c
.util.CheckStrength
;
import
com.hungraim.lt
c
.util.Result
;
import
com.hungraim.lt
c
.util.ResultCode
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/dao/SystemResourceMapper.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/dao/SystemResourceMapper.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
dao
;
package
com
.
hungraim
.
lt
c
.
system
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemResource
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemResource
;
import
org.apache.ibatis.annotations.*
;
import
java.util.List
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/dao/SystemRoleMapper.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/dao/SystemRoleMapper.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
dao
;
package
com
.
hungraim
.
lt
c
.
system
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemRole
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemRole
;
import
org.apache.ibatis.annotations.Mapper
;
/**
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/dao/SystemRoleResourceMapper.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/dao/SystemRoleResourceMapper.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
dao
;
package
com
.
hungraim
.
lt
c
.
system
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemRoleResource
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemRoleResource
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Select
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/dao/SystemUserMapper.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/dao/SystemUserMapper.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
dao
;
package
com
.
hungraim
.
lt
c
.
system
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUser
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUser
;
import
org.apache.ibatis.annotations.Mapper
;
/**
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/dao/SystemUserRoleMapper.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/dao/SystemUserRoleMapper.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
dao
;
package
com
.
hungraim
.
lt
c
.
system
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUserRole
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUserRole
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/ISystemResourceService.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/ISystemResourceService.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
;
package
com
.
hungraim
.
lt
c
.
system
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemResource
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemResource
;
import
java.util.List
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/ISystemRoleResourceService.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/ISystemRoleResourceService.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
;
package
com
.
hungraim
.
lt
c
.
system
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemRoleResource
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemRoleResource
;
/**
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/ISystemRoleService.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/ISystemRoleService.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
;
package
com
.
hungraim
.
lt
c
.
system
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemRole
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemRole
;
/**
* 角色
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/ISystemUserRoleService.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/ISystemUserRoleService.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
;
package
com
.
hungraim
.
lt
c
.
system
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUserRole
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUserRole
;
/**
* @author hubin
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/ISystemUserService.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/ISystemUserService.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
;
package
com
.
hungraim
.
lt
c
.
system
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUser
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUser
;
/**
* @author hubin
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/impl/SystemResourceServiceImpl.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/impl/SystemResourceServiceImpl.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
.
impl
;
package
com
.
hungraim
.
lt
c
.
system
.
service
.
impl
;
import
cn.hutool.core.collection.CollectionUtil
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.hungraim.lt
r
.constant.AuthConstants
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemResource
;
import
com.hungraim.lt
r
.system.dao.SystemResourceMapper
;
import
com.hungraim.lt
r
.system.service.ISystemResourceService
;
import
com.hungraim.lt
c
.constant.AuthConstants
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemResource
;
import
com.hungraim.lt
c
.system.dao.SystemResourceMapper
;
import
com.hungraim.lt
c
.system.service.ISystemResourceService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.redis.core.RedisTemplate
;
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/impl/SystemRoleResourceServiceImpl.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/impl/SystemRoleResourceServiceImpl.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
.
impl
;
package
com
.
hungraim
.
lt
c
.
system
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemRoleResource
;
import
com.hungraim.lt
r
.system.dao.SystemRoleResourceMapper
;
import
com.hungraim.lt
r
.system.service.ISystemRoleResourceService
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemRoleResource
;
import
com.hungraim.lt
c
.system.dao.SystemRoleResourceMapper
;
import
com.hungraim.lt
c
.system.service.ISystemRoleResourceService
;
import
org.springframework.stereotype.Service
;
/**
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/impl/SystemRoleServiceImpl.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/impl/SystemRoleServiceImpl.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
.
impl
;
package
com
.
hungraim
.
lt
c
.
system
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemRole
;
import
com.hungraim.lt
r
.system.dao.SystemRoleMapper
;
import
com.hungraim.lt
r
.system.service.ISystemRoleService
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemRole
;
import
com.hungraim.lt
c
.system.dao.SystemRoleMapper
;
import
com.hungraim.lt
c
.system.service.ISystemRoleService
;
import
org.springframework.stereotype.Service
;
/**
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/impl/SystemUserRoleServiceImpl.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/impl/SystemUserRoleServiceImpl.java
View file @
10d7dfb7
package
com
.
hungraim
.
lt
r
.
system
.
service
.
impl
;
package
com
.
hungraim
.
lt
c
.
system
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.hungraim.lt
r
.pojo.entity.system.SystemUserRole
;
import
com.hungraim.lt
r
.system.dao.SystemUserRoleMapper
;
import
com.hungraim.lt
r
.system.service.ISystemUserRoleService
;
import
com.hungraim.lt
c
.pojo.entity.system.SystemUserRole
;
import
com.hungraim.lt
c
.system.dao.SystemUserRoleMapper
;
import
com.hungraim.lt
c
.system.service.ISystemUserRoleService
;
import
org.springframework.stereotype.Service
;
/**
...
...
system/system-admin-service/src/main/java/com/hungraim/lt
r
/system/service/impl/SystemUserServiceImpl.java
→
system/system-admin-service/src/main/java/com/hungraim/lt
c
/system/service/impl/SystemUserServiceImpl.java
View file @
10d7dfb7
This diff is collapsed.
Click to expand it.
system/system-api/src/main/java/com/hungraim/lt
r
/api/SystemAdminFeignService.java
→
system/system-api/src/main/java/com/hungraim/lt
c
/api/SystemAdminFeignService.java
View file @
10d7dfb7
This diff is collapsed.
Click to expand it.
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