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 0cfc77bb
authored
Jul 13, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
7f7199a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
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/OrderAssignImpl.java
View file @
0cfc77b
...
@@ -220,8 +220,8 @@ public class OrderAssignImpl implements OrderAssign {
...
@@ -220,8 +220,8 @@ public class OrderAssignImpl implements OrderAssign {
if
(
order
==
null
){
if
(
order
==
null
){
throw
new
BusinessException
(
"订单不存在"
);
throw
new
BusinessException
(
"订单不存在"
);
}
}
if
(
order
.
getDt
()
==
expectBegin
.
toLocalDate
(
))
{
if
(
order
.
getDt
()
.
isEqual
(
expectBegin
.
toLocalDate
()
))
{
throw
new
BusinessException
(
"改约日期不
能
与之前日期相同"
);
throw
new
BusinessException
(
"改约日期不
应
与之前日期相同"
);
}
}
if
(
LocalDate
.
now
().
isAfter
(
expectBegin
.
toLocalDate
())){
if
(
LocalDate
.
now
().
isAfter
(
expectBegin
.
toLocalDate
())){
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