Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
oms
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
曲欣亮
oms
Commits
a9fafcdb
Commit
a9fafcdb
authored
Dec 13, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
2cf06f74
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
OrderServiceImpl.java
...ain/java/com/egolm/oms/service/impl/OrderServiceImpl.java
+4
-3
No files found.
src/main/java/com/egolm/oms/service/impl/OrderServiceImpl.java
View file @
a9fafcdb
...
...
@@ -868,6 +868,7 @@ public class OrderServiceImpl implements OrderService {
e
.
printStackTrace
();
}
if
(
salesman
!=
null
)
{
String
dateString
=
DateUtil
.
format
(
new
Date
());
Map
<
String
,
Object
>
shop
=
jdbcTemplate
.
queryForMap
(
"select * from tShop where sShopNO = ?"
,
shopNo
);
String
custNo
=
(
String
)
shop
.
get
(
"sCustNO"
);
String
shopMemo
=
(
String
)
shop
.
get
(
"sMemo"
);
...
...
@@ -877,8 +878,8 @@ public class OrderServiceImpl implements OrderService {
WxMessage
wxMessage
=
new
WxMessage
(
sCompanyAccountID
);
MiniprogramNotice
notice
=
new
MiniprogramNotice
();
wxMessage
.
setMiniprogram_notice
(
notice
);
notice
.
setDescription
(
"当前时间"
);
notice
.
setTitle
(
"
认证审核
通知"
);
notice
.
setDescription
(
dateString
);
notice
.
setTitle
(
"
客户订单
通知"
);
notice
.
setPage
(
"pages/ordermanage/detail/detail?SalesmanNO="
+
salesmanNo
+
"&isShare=1&id="
+
sSalesOrderID
+
"&isActive=0"
);
Map
<
Object
,
Object
>
params
=
new
LinkedHashMap
<
Object
,
Object
>();
params
.
put
(
"订单状态"
,
"待审核"
);
...
...
@@ -886,7 +887,7 @@ public class OrderServiceImpl implements OrderService {
params
.
put
(
"订单金额"
,
totalAmount
);
params
.
put
(
"商品数量"
,
totalSaleQty
);
params
.
put
(
"支付方式"
,
payType
);
params
.
put
(
"订单时间"
,
DateUtil
.
format
(
new
Date
())
);
params
.
put
(
"订单时间"
,
dateString
);
params
.
put
(
"备注"
,
StringUtil
.
isBlank
(
shopMemo
)
?
" "
:
shopMemo
);
notice
.
setContent_item
(
params
);
wxService
.
sendMessage
(
wxMessage
);
...
...
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