Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8c3bdf96
authored
Nov 21, 2023
by
huangjinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:一家多单批量改约
1 parent
2e7911f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderAssignImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderInfoServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderAssignImpl.java
View file @
8c3bdf9
...
@@ -310,7 +310,7 @@ public class OrderAssignImpl implements OrderAssign {
...
@@ -310,7 +310,7 @@ public class OrderAssignImpl implements OrderAssign {
private
OrderInfoEntity
handleMultipleOrders
(
OrderInfoEntity
order
)
{
private
OrderInfoEntity
handleMultipleOrders
(
OrderInfoEntity
order
)
{
//处理一家多单逻辑
//处理一家多单逻辑
Result
<
String
>
deleteMultipleOrders
=
orderInfoService
.
deleteMultipleOrders
(
order
.
getMultipleOrders
(),
order
.
get
Address
Id
());
Result
<
String
>
deleteMultipleOrders
=
orderInfoService
.
deleteMultipleOrders
(
order
.
getMultipleOrders
(),
order
.
get
Order
Id
());
if
(!
deleteMultipleOrders
.
getCode
().
equals
(
ResultEnum
.
SUCCESS
.
getCode
()))
{
if
(!
deleteMultipleOrders
.
getCode
().
equals
(
ResultEnum
.
SUCCESS
.
getCode
()))
{
throw
new
BusinessException
(
"改约日期失败"
);
throw
new
BusinessException
(
"改约日期失败"
);
}
}
...
...
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderInfoServiceImpl.java
View file @
8c3bdf9
...
@@ -802,7 +802,7 @@ public class OrderInfoServiceImpl implements OrderInfoService {
...
@@ -802,7 +802,7 @@ public class OrderInfoServiceImpl implements OrderInfoService {
private
OrderInfoEntity
handleMultipleOrders
(
OrderInfoEntity
order
)
{
private
OrderInfoEntity
handleMultipleOrders
(
OrderInfoEntity
order
)
{
//处理一家多单逻辑
//处理一家多单逻辑
Result
<
String
>
deleteMultipleOrders
=
this
.
deleteMultipleOrders
(
order
.
getMultipleOrders
(),
order
.
get
Address
Id
());
Result
<
String
>
deleteMultipleOrders
=
this
.
deleteMultipleOrders
(
order
.
getMultipleOrders
(),
order
.
get
Order
Id
());
if
(!
deleteMultipleOrders
.
getCode
().
equals
(
ResultEnum
.
SUCCESS
.
getCode
()))
{
if
(!
deleteMultipleOrders
.
getCode
().
equals
(
ResultEnum
.
SUCCESS
.
getCode
()))
{
throw
new
BusinessException
(
"改约日期失败"
);
throw
new
BusinessException
(
"改约日期失败"
);
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment