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
b97d5fff
Commit
b97d5fff
authored
Jan 19, 2022
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
7e7a595e
8a463648
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
16 deletions
+33
-16
DutyFirstAidExcleDto.java
...amos/boot/module/common/api/dto/DutyFirstAidExcleDto.java
+2
-2
DutyFirstAidServiceImpl.java
...dule/common/biz/service/impl/DutyFirstAidServiceImpl.java
+18
-12
MqttReceiveServiceImpl.java
...join/equipmanage/service/impl/MqttReceiveServiceImpl.java
+10
-2
application-dev.properties
...ystem-equip/src/main/resources/application-dev.properties
+1
-0
application-docker.properties
...em-equip/src/main/resources/application-docker.properties
+1
-0
application-jcs.properties
...ystem-equip/src/main/resources/application-jcs.properties
+1
-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/DutyFirstAidExcleDto.java
View file @
b97d5fff
...
@@ -31,8 +31,8 @@ public class DutyFirstAidExcleDto implements Serializable{
...
@@ -31,8 +31,8 @@ public class DutyFirstAidExcleDto implements Serializable{
@ExcelIgnore
@ExcelIgnore
@ApiModelProperty
(
value
=
"用户id"
)
@ApiModelProperty
(
value
=
"用户id"
)
private
String
userId
;
private
String
userId
;
@ExcelProperty
(
value
=
"
用户名称
"
,
index
=
2
)
@ExcelProperty
(
value
=
"
值班人员
"
,
index
=
2
)
@ApiModelProperty
(
value
=
"
用户名称
"
)
@ApiModelProperty
(
value
=
"
值班人员
"
)
private
String
userName
;
private
String
userName
;
@ExcelIgnore
@ExcelIgnore
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/DutyFirstAidServiceImpl.java
View file @
b97d5fff
...
@@ -124,27 +124,33 @@ public class DutyFirstAidServiceImpl extends DutyCommonServiceImpl implements ID
...
@@ -124,27 +124,33 @@ public class DutyFirstAidServiceImpl extends DutyCommonServiceImpl implements ID
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<
Map
<
String
,
Object
>>();
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<
Map
<
String
,
Object
>>();
List
<
String
>
userNameList
=
new
ArrayList
<
String
>();
List
<
String
>
userNameList
=
new
ArrayList
<
String
>();
List
<
String
>
firstAidSimpleList
=
new
ArrayList
<
String
>();
List
<
String
>
companyNameList
=
new
ArrayList
<
String
>();
String
firstAidCompanyId
=
dutyPersonShiftMapper
.
getFirstAidCompanyId
();
String
firstAidCompanyId
=
dutyPersonShiftMapper
.
getFirstAidCompanyId
();
if
(
firstAidCompanyId
!=
""
&&
firstAidCompanyId
!=
null
){
if
(
firstAidCompanyId
!=
""
&&
firstAidCompanyId
!=
null
){
ids
.
add
(
firstAidCompanyId
);
ids
.
add
(
firstAidCompanyId
);
OrgUsr
companyDetail
=
orgUsrServiceImpl
.
getDetailById
(
Long
.
parseLong
(
firstAidCompanyId
));
String
companyNameString
=
companyDetail
.
getBizOrgName
()+
"@"
+
companyDetail
.
getSequenceNbr
();
companyNameList
.
add
(
companyNameString
);
}
}
List
<
String
>
firstAidSimpleList
=
new
ArrayList
<
String
>();
List
<
String
>
companyNameList
=
new
ArrayList
<
String
>();
String
typeString
=
"JJZ"
;
String
typeString
=
"JJZ"
;
ids
.
stream
().
forEach
(
i
->{
ids
.
stream
().
forEach
(
i
->{
Map
<
String
,
Object
>
detailMap
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
detailMap
=
new
HashMap
<
String
,
Object
>();
List
<
OrgUsr
>
personList
=
orgUsrServiceImpl
.
getPersonListByParentId
(
Long
.
parseLong
(
i
));
if
(!
i
.
equals
(
firstAidCompanyId
)){
List
<
OrgUsr
>
personList
=
orgUsrServiceImpl
.
getPersonListByParentId
(
Long
.
parseLong
(
i
));
personList
.
stream
().
forEach
(
m
->
{
String
userNameString
=
m
.
getBizOrgName
()+
"@"
+
m
.
getSequenceNbr
();
userNameList
.
add
(
userNameString
);
});
detailMap
.
put
(
"userName"
,
userNameList
);
}
personList
.
stream
().
forEach
(
m
->
{
//单位默认为 消防救援保障部,不可编辑。
String
userNameString
=
m
.
getBizOrgName
()+
"@"
+
m
.
getSequenceNbr
();
userNameList
.
add
(
userNameString
);
});
detailMap
.
put
(
"userName"
,
userNameList
);
OrgUsr
companyDetail
=
orgUsrServiceImpl
.
getDetailById
(
Long
.
parseLong
(
i
));
String
companyNameString
=
companyDetail
.
getBizOrgName
()+
"@"
+
companyDetail
.
getSequenceNbr
();
companyNameList
.
add
(
companyNameString
);
detailMap
.
put
(
"companyName"
,
companyNameList
);
detailMap
.
put
(
"companyName"
,
companyNameList
);
List
<
DataDictionary
>
dataDicList
=
dataDictionaryService
.
getByType
(
typeString
);
List
<
DataDictionary
>
dataDicList
=
dataDictionaryService
.
getByType
(
typeString
);
List
<
String
>
dataDicSimpleList
=
new
ArrayList
<
String
>();
List
<
String
>
dataDicSimpleList
=
new
ArrayList
<
String
>();
dataDicList
.
stream
().
forEach
(
l
->{
dataDicList
.
stream
().
forEach
(
l
->{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/MqttReceiveServiceImpl.java
View file @
b97d5fff
...
@@ -205,6 +205,9 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -205,6 +205,9 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
@Value
(
"${systemctl.amos.switch}"
)
@Value
(
"${systemctl.amos.switch}"
)
private
Boolean
amosSwitch
;
private
Boolean
amosSwitch
;
@Value
(
"${isSendApp}"
)
private
Boolean
isSendApp
;
private
static
final
String
A
=
"A"
;
private
static
final
String
A
=
"A"
;
private
final
static
Map
staticMap
=
new
HashMap
();
private
final
static
Map
staticMap
=
new
HashMap
();
...
@@ -754,9 +757,14 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -754,9 +757,14 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
DateUtils
.
date2LongStr
(
equipmentSpecificAlarmLog
.
getCreateDate
()));
DateUtils
.
date2LongStr
(
equipmentSpecificAlarmLog
.
getCreateDate
()));
model
.
setBody
(
body
);
model
.
setBody
(
body
);
model
.
setMsgType
(
"iotMonitor"
);
model
.
setMsgType
(
"iotMonitor"
);
model
.
setIsSendApp
(
true
);
if
(
isSendApp
){
model
.
setIsSendApp
(
true
);
model
.
setTerminal
(
"APP/WEB"
);
}
else
{
model
.
setIsSendApp
(
false
);
model
.
setTerminal
(
"WEB"
);
}
model
.
setIsSendWeb
(
true
);
model
.
setIsSendWeb
(
true
);
model
.
setTerminal
(
"APP/WEB"
);
model
.
setCategory
(
1
);
model
.
setCategory
(
1
);
model
.
setRelationId
(
String
.
valueOf
(
equipmentSpecificAlarmLog
.
getId
()));
model
.
setRelationId
(
String
.
valueOf
(
equipmentSpecificAlarmLog
.
getId
()));
Token
token
=
remoteSecurityService
.
getServerToken
();
Token
token
=
remoteSecurityService
.
getServerToken
();
...
...
amos-boot-system-equip/src/main/resources/application-dev.properties
View file @
b97d5fff
...
@@ -51,6 +51,7 @@ systemctl.sync.switch=false
...
@@ -51,6 +51,7 @@ systemctl.sync.switch=false
systemctl.jcs.switch
=
false
systemctl.jcs.switch
=
false
#平台数据开关
#平台数据开关
systemctl.amos.switch
=
false
systemctl.amos.switch
=
false
isSendApp
=
false
#报表数据地址
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
amos-boot-system-equip/src/main/resources/application-docker.properties
View file @
b97d5fff
...
@@ -51,6 +51,7 @@ systemctl.sync.switch=false
...
@@ -51,6 +51,7 @@ systemctl.sync.switch=false
systemctl.jcs.switch
=
false
systemctl.jcs.switch
=
false
#平台数据开关
#平台数据开关
systemctl.amos.switch
=
false
systemctl.amos.switch
=
false
isSendApp
=
false
#报表数据地址
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
amos-boot-system-equip/src/main/resources/application-jcs.properties
View file @
b97d5fff
...
@@ -58,6 +58,7 @@ systemctl.sync.switch=false
...
@@ -58,6 +58,7 @@ systemctl.sync.switch=false
systemctl.jcs.switch
=
true
systemctl.jcs.switch
=
true
#平台数据开关
#平台数据开关
systemctl.amos.switch
=
true
systemctl.amos.switch
=
true
isSendApp
=
true
#报表数据地址
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
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