Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 74667872
authored
Mar 03, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化邮件发送内容
1 parent
fc0fb540
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
src/main/java/cn/com/glsx/stdinterface/modules/service/WorkOrderService.java
src/main/java/cn/com/glsx/stdinterface/modules/service/WorkOrderService.java
View file @
7466787
...
...
@@ -448,24 +448,36 @@ public class WorkOrderService {
StringBuilder
content
=
new
StringBuilder
();
content
.
append
(
"租赁公司-"
).
append
(
rootOrg
).
append
(
";\n"
);
content
.
append
(
"申请编号-"
).
append
(
order
.
getPartnerOrderNo
()).
append
(
";\n"
);
content
.
append
(
"区域-
无"
).
append
(
";\n"
);
content
.
append
(
"区域-
"
).
append
(
order
.
getProvince
().
concat
(
"/"
).
concat
(
order
.
getCity
()).
concat
(
"/"
).
concat
(
order
.
getDistrict
())
).
append
(
";\n"
);
content
.
append
(
"设备组合-"
).
append
(
buildDeviceCompose
(
woVehicle
.
getDeviceCompose
())).
append
(
";\n"
);
content
.
append
(
"导入时间-"
).
append
(
DateUtil
.
formatDate
(
order
.
getCreatedDate
())).
append
(
";\n"
);
content
.
append
(
"分公司-无"
).
append
(
";\n"
);
content
.
append
(
"店面名称-"
).
append
(
order
.
getShopName
()).
append
(
";\n"
);
content
.
append
(
"店面联系电话-"
).
append
(
order
.
getShopTelephone
()).
append
(
";\n"
);
content
.
append
(
"要求安装日期-"
).
append
(
DateUtil
.
formatDate
(
order
.
getServiceTime
())).
append
(
";\n"
);
if
(
StringUtils
.
isEmpty
(
woVehicle
.
getLesseeName
()))
{
content
.
append
(
"客户姓名-无"
).
append
(
";\n"
);
}
else
{
content
.
append
(
"客户姓名-"
).
append
(
woVehicle
.
getLesseeName
()).
append
(
";\n"
);
}
content
.
append
(
"车架号-"
).
append
(
woVehicle
.
getVin
()).
append
(
";\n"
);
content
.
append
(
"颜色-无"
).
append
(
";\n"
);
if
(
StringUtils
.
isEmpty
(
woVehicle
.
getSubBrandName
())
&&
StringUtils
.
isEmpty
(
woVehicle
.
getSeriesName
())
&&
StringUtils
.
isEmpty
(
woVehicle
.
getTypeName
()))
{
content
.
append
(
"车型-无"
).
append
(
";\n"
);
}
else
{
String
modelType
=
(
woVehicle
.
getSubBrandName
()
==
null
?
"--"
:
woVehicle
.
getSubBrandName
())
.
concat
(
"/"
).
concat
(
woVehicle
.
getSeriesName
()
==
null
?
"--"
:
woVehicle
.
getSeriesName
())
.
concat
(
"/"
).
concat
(
woVehicle
.
getTypeName
()
==
null
?
"--"
:
woVehicle
.
getTypeName
());
content
.
append
(
"车型-"
).
append
(
modelType
).
append
(
";\n"
);
}
content
.
append
(
"贷款期限-无"
).
append
(
";\n"
);
content
.
append
(
"租凭方式-无"
).
append
(
";\n"
);
content
.
append
(
"安装地址-"
).
append
(
order
.
getServiceAddress
()).
append
(
";\n"
);
if
(
StringUtils
.
isEmpty
(
order
.
getRemark
()))
{
content
.
append
(
"备注—无"
).
append
(
";\n"
);
}
else
{
content
.
append
(
"备注—"
).
append
(
order
.
getRemark
()).
append
(
";\n"
);
}
content
.
append
(
"安装方式—广联安装"
).
append
(
";\n"
);
MailTemplateMessageDTO
messageDTO
=
new
MailTemplateMessageDTO
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment