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
3dd2e608
Commit
3dd2e608
authored
Aug 31, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改任务反馈
parent
05e8b251
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
AlertSubmittedServiceImpl.java
...odule/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
+9
-2
PowerTransferCompanyResourcesServiceImpl.java
...ervice/impl/PowerTransferCompanyResourcesServiceImpl.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
View file @
3dd2e608
...
...
@@ -1480,11 +1480,18 @@ public class AlertSubmittedServiceImpl extends BaseService<AlertSubmittedDto, Al
String
[]
info
=
item
.
getInfo
().
split
(
"/photos:"
);
String
photoUrl
=
info
[
1
];
StringBuffer
stringBuffer
=
new
StringBuffer
();
if
(
photoUrl
.
contains
(
","
)){
List
<
String
>
list
=
Arrays
.
asList
(
photoUrl
.
split
(
","
));
list
.
forEach
(
photo
->
stringBuffer
.
append
(
"<img src=\""
+
photo
+
"\""
+
"width=\""
+
"251\""
+
"height=\""
+
"251\""
+
"/>"
));
instructionsZHDto
.
setContent
(
"<div>"
+
info
[
0
]+
stringBuffer
+
"</div>"
);
list
.
forEach
(
photo
->
stringBuffer
.
append
(
"<img src=\""
+
photo
+
"\"/>"
));
instructionsZHDto
.
setContent
(
"<div>"
+
info
[
0
]+
"</div><div>"
+
stringBuffer
+
"</div>"
);
}
else
{
instructionsZHDto
.
setContent
(
"<div>"
+
info
[
0
]+
"</div>"
+
"<div><img src=\""
+
info
[
1
]+
"\"/></div>"
);
}
}
instructionsZHDto
.
setCompany
(
"现场反馈"
);
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/PowerTransferCompanyResourcesServiceImpl.java
View file @
3dd2e608
...
...
@@ -119,7 +119,7 @@ public class PowerTransferCompanyResourcesServiceImpl extends BaseService<PowerT
}
String
carInfo
=
"车辆信息("
+
fireTeam
.
getName
()
+
" + "
+
powerTransferCompanyResources
.
getResourcesName
()
+
" + "
+
powerTransferCompanyResources
.
getResourcesNum
()
+
"):"
;
String
info
=
""
;
info
=
StrUtil
.
isNotBlank
(
remarks
)
?
carInfo
+
remarks
+
" + "
+
Objects
.
requireNonNull
(
FireCarStatusEnum
.
getEnum
(
code
)).
getName
()
:
carInfo
+
Objects
.
requireNonNull
(
FireCarStatusEnum
.
getEnum
(
code
)).
getName
()
;
info
=
StrUtil
.
isNotBlank
(
remarks
)
?
carInfo
+
remarks
+
" + "
+
"<span style=\"color: #fe0c0c \" >"
+
Objects
.
requireNonNull
(
FireCarStatusEnum
.
getEnum
(
code
)).
getName
()
+
"</span>"
:
carInfo
+
"<span style=\"color: #fe0c0c \" >"
+
Objects
.
requireNonNull
(
FireCarStatusEnum
.
getEnum
(
code
)).
getName
()+
"</span>"
;
JcSituationDetail
jcSituationDetail
=
new
JcSituationDetail
();
jcSituationDetail
.
setAlertCalledId
(
alertCalledId
);
jcSituationDetail
.
setInfoType
(
"车辆反馈"
);
...
...
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