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
a41fb8be
Commit
a41fb8be
authored
Jan 27, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
041754c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
FireTeamDto.java
.../yeejoin/amos/boot/module/common/api/dto/FireTeamDto.java
+1
-1
DataSourcesImpl.java
...mos/boot/module/jcs/biz/service/impl/DataSourcesImpl.java
+17
-0
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/dto/FireTeamDto.java
View file @
a41fb8be
...
@@ -77,7 +77,7 @@ public class FireTeamDto extends BaseDto {
...
@@ -77,7 +77,7 @@ public class FireTeamDto extends BaseDto {
@ApiModelProperty
(
value
=
"联系人id"
)
@ApiModelProperty
(
value
=
"联系人id"
)
private
Long
contactUserId
;
private
Long
contactUserId
;
@ExplicitConstraint
(
indexNum
=
7
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getFire
fighters
"
)
//动态下拉内容
@ExplicitConstraint
(
indexNum
=
7
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getFire
TeamContactUser
"
)
//动态下拉内容
@ExcelProperty
(
value
=
"联系人"
,
index
=
7
)
@ExcelProperty
(
value
=
"联系人"
,
index
=
7
)
@ApiModelProperty
(
value
=
"联系人"
)
@ApiModelProperty
(
value
=
"联系人"
)
private
String
contactUser
;
private
String
contactUser
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/DataSourcesImpl.java
View file @
a41fb8be
...
@@ -211,6 +211,23 @@ public class DataSourcesImpl implements DataSources {
...
@@ -211,6 +211,23 @@ public class DataSourcesImpl implements DataSources {
return
str
;
return
str
;
}
}
private
String
[]
getFireTeamContactUser
()
{
ReginParams
reginParams
=
JSONObject
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
// 权限处理
PermissionInterceptorContext
.
setDataAuthRule
(
"fire_team_info"
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"bizOrgCode"
,
reginParams
.
getPersonIdentity
().
getBizOrgCode
());
IPage
<
Map
<
String
,
Object
>>
mapIPage
=
iOrgUsrService
.
pagePerson
(
null
,
null
,
map
);
List
<
Map
<
String
,
Object
>>
records
=
mapIPage
.
getRecords
();
List
<
String
>
carNameList
=
Lists
.
newArrayList
();
records
.
forEach
(
result
->
{
carNameList
.
add
(
result
.
get
(
"bizOrgName"
)
+
"@"
+
result
.
get
(
"sequenceNbr"
));
});
String
[]
str
=
carNameList
.
toArray
(
new
String
[
carNameList
.
size
()]);
return
str
;
}
private
String
[]
getFireTeam
()
{
private
String
[]
getFireTeam
()
{
// Page<FireTeamCardDto> pageBean = new Page<>(0, Integer.MAX_VALUE);
// Page<FireTeamCardDto> pageBean = new Page<>(0, Integer.MAX_VALUE);
...
...
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