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
51a82f5d
Commit
51a82f5d
authored
Nov 12, 2020
by
unset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员统计信息修改
parent
3a8e9a32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
OrderViolationBiz.java
...n/java/com/xxfc/platform/order/biz/OrderViolationBiz.java
+1
-1
OrderViolationController.java
...om/xxfc/platform/order/rest/OrderViolationController.java
+6
-2
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderViolationBiz.java
View file @
51a82f5d
...
...
@@ -101,7 +101,7 @@ public class OrderViolationBiz extends BaseBiz<OrderViolationMapper, OrderViolat
baseOrder
.
setRefundStatus
(
3
);
baseOrderBiz
.
updateSelectiveByIdRe
(
baseOrder
);
//触发违章金退款
orderAccountBiz
.
handleRentDepositMarginV2
(
baseOrder
,
orderRentVehicleDetail
);
//
orderAccountBiz.handleRentDepositMarginV2(baseOrder, orderRentVehicleDetail);
}
}
else
{
throw
new
BaseException
(
"The operation cannot be changed at this time"
);
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/OrderViolationController.java
View file @
51a82f5d
...
...
@@ -50,9 +50,13 @@ public class OrderViolationController extends BaseController<OrderViolationBiz,
* @return
*/
@PostMapping
(
"/saveOrderViolation"
)
public
ObjectRestResponse
saveOrderViolation
V2
(
@RequestBody
OrderViolation
orderViolation
,
HttpServletRequest
request
)
{
public
ObjectRestResponse
saveOrderViolation
(
@RequestBody
OrderViolation
orderViolation
,
HttpServletRequest
request
)
{
log
.
info
(
"保存违章记录:orderViolation = {}"
,
orderViolation
.
toString
());
getBaseBiz
().
insertOrderViolation
(
orderViolation
);
if
(
orderViolation
.
getId
()
==
null
)
{
getBaseBiz
().
insertOrderViolation
(
orderViolation
);
}
else
{
getBaseBiz
().
updateOrderViolation
(
orderViolation
);
}
orderDepositRefundRecordBiz
.
saveViolationDeposit
(
orderViolation
);
return
ObjectRestResponse
.
succ
();
}
...
...
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