Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
c3cbdcdf
Commit
c3cbdcdf
authored
Dec 12, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 修改, 装备 和 巡检 切面修改
parent
ecac44f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
PersonIdentifyAspect.java
.../com/yeejoin/equipmanage/config/PersonIdentifyAspect.java
+1
-1
ConfigureController.java
...m/yeejoin/equipmanage/controller/ConfigureController.java
+1
-1
PersonIdentifyAspect.java
.../com/yeejoin/amos/patrol/config/PersonIdentifyAspect.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/config/PersonIdentifyAspect.java
View file @
c3cbdcdf
...
...
@@ -50,7 +50,7 @@ public class PersonIdentifyAspect {
ReginParams
reginParam
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
if
(
reginParam
!=
null
)
{
if
(
reginParam
.
getPersonIdentity
()
==
null
||
reginParam
.
getPersonIdentity
().
getBizOrgCode
()
==
null
)
{
if
(
reginParam
.
getPersonIdentity
()
==
null
||
StringUtils
.
isEmpty
(
reginParam
.
getPersonIdentity
().
getBizOrgCode
())
||
StringUtils
.
isEmpty
(
reginParam
.
getPersonIdentity
().
getCompanyBizOrgCode
())
)
{
String
userId
=
reginParam
.
getUserModel
().
getUserId
();
if
(
userId
!=
null
)
{
FeignClientResult
responseModel
=
jcsFeignClient
.
selectById
(
userId
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/ConfigureController.java
View file @
c3cbdcdf
...
...
@@ -706,7 +706,7 @@ public class ConfigureController extends AbstractBaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
.
PersonIdentity
personIdentity
=
reginParams
.
getPersonIdentity
();
if
(!
ValidationUtil
.
isEmpty
(
personIdentity
))
{
bizOrgCode
=
personIdentity
.
getBizOrgCode
();
bizOrgCode
=
personIdentity
.
get
Company
BizOrgCode
();
}
}
if
(
ObjectUtils
.
isEmpty
(
bizOrgCode
)){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/config/PersonIdentifyAspect.java
View file @
c3cbdcdf
...
...
@@ -56,7 +56,7 @@ public class PersonIdentifyAspect {
}
else
{
ReginParams
reginParam
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
if
(
reginParam
!=
null
)
{
if
(
reginParam
.
getPersonIdentity
()
==
null
||
reginParam
.
getPersonIdentity
().
getCompanyBizOrgCode
()
==
null
)
{
if
(
reginParam
.
getPersonIdentity
()
==
null
||
StringUtils
.
isEmpty
(
reginParam
.
getPersonIdentity
().
getBizOrgCode
())
||
StringUtils
.
isEmpty
(
reginParam
.
getPersonIdentity
().
getCompanyBizOrgCode
())
)
{
String
userId
=
reginParam
.
getUserModel
().
getUserId
();
if
(
userId
!=
null
)
{
...
...
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