Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
2e6cb8fd
Commit
2e6cb8fd
authored
Jun 24, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-06-24-6提交
parent
364eec95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
OrderBusinessServiceImpl.java
...le/order/service/order/impl/OrderBusinessServiceImpl.java
+19
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderBusinessServiceImpl.java
View file @
2e6cb8fd
...
...
@@ -2657,9 +2657,17 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
OrderItemDO
orderItemDO
,
Integer
type
)
{
if
(
orderDO
==
null
)
{
zTest
z
=
new
zTest
();
z
.
setTestname
(
"orderDO 为空"
);
z
.
setCreatedate
(
new
Date
());
zTestMapper
.
insert
(
z
);
return
noQuoteOrAutomaticNoQuote
;
}
if
(
orderItemDO
==
null
)
{
zTest
z
=
new
zTest
();
z
.
setTestname
(
"orderItemDO 为空"
);
z
.
setCreatedate
(
new
Date
());
zTestMapper
.
insert
(
z
);
return
noQuoteOrAutomaticNoQuote
;
}
...
...
@@ -2733,6 +2741,10 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
//noQuoteOrAutomaticNoQuote = 1;
}
else
{
if
(
CollectionUtil
.
isNotEmpty
(
orderNoQuoteExceptionDOList
))
{
zTest
z
=
new
zTest
();
z
.
setTestname
(
"autoProcessException 执行"
);
z
.
setCreatedate
(
new
Date
());
zTestMapper
.
insert
(
z
);
// TODO 当其他业务补充了品名价格后,如果还有待处理的未报价异常,需要同步处理掉
orderExceptionService
.
autoProcessException
(
orderDO
.
getOrderId
(),
orderItemDO
.
getOrderItemId
(),
...
...
@@ -2741,6 +2753,13 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
OrderExceptionResult
.
ORDER_NO_QUOTE_EXCEPTION_RESULT
.
PROCESSED
);
noQuoteOrAutomaticNoQuote
=
2
;
}
else
{
zTest
z
=
new
zTest
();
z
.
setTestname
(
"orderNoQuoteExceptionDOList 为空"
);
z
.
setCreatedate
(
new
Date
());
zTestMapper
.
insert
(
z
);
}
}
return
noQuoteOrAutomaticNoQuote
;
}
...
...
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