Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jenkins
order-group
Commits
2e1a8cb9
Commit
2e1a8cb9
authored
Feb 11, 2020
by
shuhu.hou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扣减库存传入订单号
parent
fd454bd0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
+1
-2
No files found.
assortment-ordercenter-sdk/src/main/java/com/freemud/sdk/api/assortment/order/adapter/OrderSdkAdapter.java
View file @
2e1a8cb9
...
@@ -1361,8 +1361,7 @@ public class OrderSdkAdapter {
...
@@ -1361,8 +1361,7 @@ public class OrderSdkAdapter {
updateStocksRequest
.
setIsOversold
(
0
);
updateStocksRequest
.
setIsOversold
(
0
);
updateStocksRequest
.
setPartnerId
(
orderBean
.
getCompanyId
());
updateStocksRequest
.
setPartnerId
(
orderBean
.
getCompanyId
());
updateStocksRequest
.
setStoreId
(
orderBean
.
getShopId
());
updateStocksRequest
.
setStoreId
(
orderBean
.
getShopId
());
String
transNo
=
UUID
.
randomUUID
().
toString
().
replaceAll
(
"-"
,
""
);
updateStocksRequest
.
setTransNo
(
orderBean
.
getOid
());
updateStocksRequest
.
setTransNo
(
transNo
);
updateStocksRequest
.
setTransTime
(
DateUtil
.
convert2String
(
new
Date
(),
DateUtil
.
FORMAT_YYYY_MM_DD_HHMMSS
));
updateStocksRequest
.
setTransTime
(
DateUtil
.
convert2String
(
new
Date
(),
DateUtil
.
FORMAT_YYYY_MM_DD_HHMMSS
));
List
<
ProductStocksVO
>
productStocks
=
new
ArrayList
<>();
List
<
ProductStocksVO
>
productStocks
=
new
ArrayList
<>();
if
(
CollectionUtils
.
isNotEmpty
(
products
))
{
if
(
CollectionUtils
.
isNotEmpty
(
products
))
{
...
...
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