Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
e99d6133
Commit
e99d6133
authored
Nov 02, 2020
by
unset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单核销接口修改
parent
c7223395
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
15 deletions
+21
-15
OrderViolationBiz.java
...n/java/com/xxfc/platform/order/biz/OrderViolationBiz.java
+21
-15
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderViolationBiz.java
View file @
e99d6133
...
...
@@ -71,6 +71,10 @@ public class OrderViolationBiz extends BaseBiz<OrderViolationMapper, OrderViolat
if
(
userDTO
==
null
)
{
throw
new
BaseException
(
ResultCode
.
RSTOKEN_EXPIRED_CODE
);
}
OrderViolation
old
=
mapper
.
selectOne
(
new
OrderViolation
(){{
setDetailId
(
orderViolation
.
getDetailId
());}});
if
(
old
!=
null
)
{
throw
new
BaseException
(
"违章记录已存在!"
);
}
else
{
OrderRentVehicleDetail
orderRentVehicleDetail
=
new
OrderRentVehicleDetail
();
orderRentVehicleDetail
.
setId
(
orderViolation
.
getDetailId
());
orderRentVehicleDetail
.
setHandelViolation
(
0
);
...
...
@@ -88,6 +92,8 @@ public class OrderViolationBiz extends BaseBiz<OrderViolationMapper, OrderViolat
}
else
{
throw
new
BaseException
(
"The operation cannot be changed at this time"
);
}
}
}
...
...
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