Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli
Commits
8e1f2b77
Commit
8e1f2b77
authored
Apr 23, 2023
by
郑云飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单导出修改,退款0元逻辑处理
parent
02b3613a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/domain/vo/DbOrderVo.java
+3
-3
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/service/impl/DbOrderServiceImpl.java
+5
-0
No files found.
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/domain/vo/DbOrderVo.java
View file @
8e1f2b77
...
@@ -36,7 +36,7 @@ public class DbOrderVo {
...
@@ -36,7 +36,7 @@ public class DbOrderVo {
/**
/**
* 标题
* 标题
*/
*/
@ExcelProperty
(
value
=
"
标题
"
)
@ExcelProperty
(
value
=
"
公司名称
"
)
private
String
title
;
private
String
title
;
/**
/**
...
@@ -86,7 +86,7 @@ public class DbOrderVo {
...
@@ -86,7 +86,7 @@ public class DbOrderVo {
/**
/**
* 管理员备注
* 管理员备注
*/
*/
@ExcelProperty
(
value
=
"
退款金额
"
)
@ExcelProperty
(
value
=
"
管理员备注
"
)
private
String
adminRemark
;
private
String
adminRemark
;
/**
/**
* 备注说明
* 备注说明
...
@@ -124,7 +124,7 @@ public class DbOrderVo {
...
@@ -124,7 +124,7 @@ public class DbOrderVo {
/**
/**
* 修改时间
* 修改时间
*/
*/
@ExcelProperty
(
value
=
"修改时间"
)
//
@ExcelProperty(value = "修改时间")
private
Date
modifyTime
;
private
Date
modifyTime
;
/**
/**
...
...
yongqi-xinrenli/src/main/java/com/yongqi/xinrenli/service/impl/DbOrderServiceImpl.java
View file @
8e1f2b77
...
@@ -630,6 +630,11 @@ public class DbOrderServiceImpl implements IDbOrderService {
...
@@ -630,6 +630,11 @@ public class DbOrderServiceImpl implements IDbOrderService {
}
}
// 修改订单
// 修改订单
order
.
setRefundAmount
(
refundAmount
);
order
.
setRefundAmount
(
refundAmount
);
if
(
order
.
getPayAmount
().
compareTo
(
BigDecimal
.
ZERO
)
==
0
)
{
order
.
setStatus
(
OrderStatusEnum
.
REFUNDED
.
getCode
());
baseMapper
.
updateById
(
order
);
return
R
.
ok
(
"退款成功"
);
}
baseMapper
.
updateById
(
order
);
baseMapper
.
updateById
(
order
);
// 组装退款参数
// 组装退款参数
WxPayRefundRequest
request
=
new
WxPayRefundRequest
();
WxPayRefundRequest
request
=
new
WxPayRefundRequest
();
...
...
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