Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
9d5c22d7
Commit
9d5c22d7
authored
Oct 25, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
短信修改
parent
2c84d529
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
OrderMsgBiz.java
...n/java/com/xxfc/platform/order/biz/inner/OrderMsgBiz.java
+16
-4
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/inner/OrderMsgBiz.java
View file @
9d5c22d7
...
...
@@ -577,10 +577,14 @@ public class OrderMsgBiz {
smsParams
.
add
(
startCompanyDetail
.
getAddrDetail
());
break
;
case
SmsTemplateDTO
.
PAY_J
:
String
realName
=
appUserDTO
.
getRealname
();
if
(
StrUtil
.
isBlank
(
realName
)){
realName
=
""
;
}
if
(
SYS_TRUE
.
equals
(
appUserDTO
.
getIsMember
())
&&
!
NONE
.
getCode
().
equals
(
appUserDTO
.
getMemberLevel
())
)
{
smsParams
.
add
(
USER_M
+
appUserDTO
.
getRealname
()
);
smsParams
.
add
(
USER_M
+
realName
);
}
else
{
smsParams
.
add
(
USER_N
+
appUserDTO
.
getRealname
()
);
smsParams
.
add
(
USER_N
+
realName
);
}
smsParams
.
add
(
baseOrder
.
getName
());
smsParams
.
add
(
HOUR_MINUTE_FORMATTE_HUTOOL
.
format
(
DateUtil
.
date
(
otd
.
getStartTime
())));
...
...
@@ -684,7 +688,11 @@ public class OrderMsgBiz {
smsParams
.
add
(
orvd
.
getDayNum
().
toString
());
break
;
case
SmsTemplateDTO
.
PAY_H
:
smsParams
.
add
(
appUserDTO
.
getRealname
());
String
realName
=
appUserDTO
.
getRealname
();
if
(
StrUtil
.
isBlank
(
realName
)){
realName
=
"匿名"
;
}
smsParams
.
add
(
realName
);
smsParams
.
add
(
appUserDTO
.
getUsername
());
smsParams
.
add
(
baseOrder
.
getName
());
smsParams
.
add
(
sCompany
.
getName
());
...
...
@@ -692,7 +700,11 @@ public class OrderMsgBiz {
smsParams
.
add
(
DateUtil
.
formatDateTime
(
DateUtil
.
date
(
otd
.
getStartTime
())));
break
;
case
SmsTemplateDTO
.
CANCEL_F
:
smsParams
.
add
(
appUserDTO
.
getRealname
());
String
realName2
=
appUserDTO
.
getRealname
();
if
(
StrUtil
.
isBlank
(
realName2
)){
realName2
=
"匿名"
;
}
smsParams
.
add
(
realName2
);
smsParams
.
add
(
appUserDTO
.
getUsername
());
smsParams
.
add
(
baseOrder
.
getName
());
smsParams
.
add
(
sCompany
.
getName
());
...
...
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