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
19b5cd85
Commit
19b5cd85
authored
Jul 11, 2022
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.【中心级系统】消防安全数据管理>消防资源管理>消防对战>消防队伍,战端权限下,左侧单位树可以看到所有的队伍信息(未根据单位过滤) 来源Bug-6533
parent
b412fd0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
PersonIdentifyAspect.java
...odule/common/api/core/framework/PersonIdentifyAspect.java
+3
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/core/framework/PersonIdentifyAspect.java
View file @
19b5cd85
...
@@ -9,6 +9,7 @@ import com.yeejoin.amos.boot.biz.common.utils.RedisUtils;
...
@@ -9,6 +9,7 @@ import com.yeejoin.amos.boot.biz.common.utils.RedisUtils;
import
com.yeejoin.amos.boot.module.common.api.dto.UserDto
;
import
com.yeejoin.amos.boot.module.common.api.dto.UserDto
;
import
com.yeejoin.amos.boot.module.common.api.exception.PermissionException
;
import
com.yeejoin.amos.boot.module.common.api.exception.PermissionException
;
import
com.yeejoin.amos.boot.module.common.api.service.IOrgUsrService
;
import
com.yeejoin.amos.boot.module.common.api.service.IOrgUsrService
;
import
org.apache.commons.lang3.StringUtils
;
import
org.aspectj.lang.JoinPoint
;
import
org.aspectj.lang.JoinPoint
;
import
org.aspectj.lang.annotation.Aspect
;
import
org.aspectj.lang.annotation.Aspect
;
import
org.aspectj.lang.annotation.Before
;
import
org.aspectj.lang.annotation.Before
;
...
@@ -40,7 +41,8 @@ public class PersonIdentifyAspect {
...
@@ -40,7 +41,8 @@ public class PersonIdentifyAspect {
String
userId
=
reginParam
.
getUserModel
().
getUserId
();
String
userId
=
reginParam
.
getUserModel
().
getUserId
();
UserDto
userDto
=
orgUsrService
.
getUserParentInfo
(
userId
);
UserDto
userDto
=
orgUsrService
.
getUserParentInfo
(
userId
);
ReginParams
.
PersonIdentity
personIdentity
=
new
ReginParams
.
PersonIdentity
();
ReginParams
.
PersonIdentity
personIdentity
=
new
ReginParams
.
PersonIdentity
();
personIdentity
.
setBizOrgCode
(
userDto
.
getBizOrgCode
());
// TODO 没有绑定机场单位的人员,则赋值不存在的bizOrgCode,规避查询出所有数据
personIdentity
.
setBizOrgCode
(
StringUtils
.
isEmpty
(
userDto
.
getBizOrgCode
())
?
"-1"
:
userDto
.
getBizOrgCode
());
personIdentity
.
setCompanyId
(
userDto
.
getCompanyId
());
personIdentity
.
setCompanyId
(
userDto
.
getCompanyId
());
personIdentity
.
setCompanyName
(
userDto
.
getCompanyName
());
personIdentity
.
setCompanyName
(
userDto
.
getCompanyName
());
personIdentity
.
setPersonSeq
(
userDto
.
getPersonSeq
());
personIdentity
.
setPersonSeq
(
userDto
.
getPersonSeq
());
...
...
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