Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lingxi-lxy-yanshou
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
后端-黄柯铭
lingxi-lxy-yanshou
Commits
8ae09683
Commit
8ae09683
authored
Jun 16, 2021
by
fhj
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/v2' into v2
parents
e2e3b049
2ee8dcb4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
PurchaseOrderServiceImpl.java
...sy/lingxi/order/serviceimpl/PurchaseOrderServiceImpl.java
+4
-0
No files found.
order-service/src/main/java/com/ssy/lingxi/order/serviceimpl/PurchaseOrderServiceImpl.java
View file @
8ae09683
...
@@ -1042,6 +1042,10 @@ public class PurchaseOrderServiceImpl extends BasePurchaseOrder implements Purch
...
@@ -1042,6 +1042,10 @@ public class PurchaseOrderServiceImpl extends BasePurchaseOrder implements Purch
if
(
request
.
getProductIds
().
size
()
==
1
)
{
if
(
request
.
getProductIds
().
size
()
==
1
)
{
return
Wrapper
.
success
();
return
Wrapper
.
success
();
}
}
//暂时写成魔法值,因为不知道枚举对应哪里
if
(
request
.
getOrderModel
()
==
32
||
request
.
getOrderModel
()
==
33
||
request
.
getOrderModel
()
==
34
){
return
Wrapper
.
success
();
}
Integer
workFlow
=
tradingRulesByProductId
(
request
.
getProductIds
().
get
(
0
),
request
.
getMemberId
(),
request
.
getMemberRoleId
(),
request
.
getShopId
());
Integer
workFlow
=
tradingRulesByProductId
(
request
.
getProductIds
().
get
(
0
),
request
.
getMemberId
(),
request
.
getMemberRoleId
(),
request
.
getShopId
());
for
(
Long
productId
:
request
.
getProductIds
())
{
for
(
Long
productId
:
request
.
getProductIds
())
{
if
(!
workFlow
.
equals
(
tradingRulesByProductId
(
productId
,
request
.
getMemberId
(),
request
.
getMemberRoleId
(),
request
.
getShopId
())))
{
if
(!
workFlow
.
equals
(
tradingRulesByProductId
(
productId
,
request
.
getMemberId
(),
request
.
getMemberRoleId
(),
request
.
getShopId
())))
{
...
...
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