Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9039c6cc
authored
Jun 22, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赛事订单增加待送发票订单列表功能;赛事订单导出增加显示各种退款金额
parent
d88addb7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
2 deletions
src/main/java/com/ctrip/fun/golf/dao/order/EventActivityOrderExcelDao.java
src/main/java/com/ctrip/fun/golf/dao/order/OrderDao.java
src/main/java/com/ctrip/fun/golf/domain/order/EventActivityOrderListExcel.java
src/main/java/com/ctrip/fun/golf/service/order/OpEventActivityOrderService.java
src/main/java/com/ctrip/fun/golf/dao/order/EventActivityOrderExcelDao.java
View file @
9039c6cc
...
@@ -47,7 +47,9 @@ public class EventActivityOrderExcelDao extends GenericHibernateDao<EventActivit
...
@@ -47,7 +47,9 @@ public class EventActivityOrderExcelDao extends GenericHibernateDao<EventActivit
+
",od.settleDate"
+
",od.settleDate"
+
",od.finComment"
+
",od.finComment"
+
",od.prePayCardAmount"
+
",od.prePayCardAmount"
+
",od.voucherAmount"
+
",od.voucherAmount"
+
",od.voucherRefundAmount"
+
",od.prePayCardRefundAmount"
+
",od.refundAmount"
+
",od.refundAmount"
+
",od.insuranceAmount"
+
",od.insuranceAmount"
+
",od.outTradeId"
+
",od.outTradeId"
...
...
src/main/java/com/ctrip/fun/golf/dao/order/OrderDao.java
View file @
9039c6cc
...
@@ -1704,6 +1704,11 @@ public class OrderDao extends GenericHibernateDao<Order, Integer> {
...
@@ -1704,6 +1704,11 @@ public class OrderDao extends GenericHibernateDao<Order, Integer> {
}
}
sb
.
append
(
"("
);
sb
.
append
(
"("
);
sb
.
append
(
orderStatusEnum
.
generateSql
(
"od"
));
sb
.
append
(
orderStatusEnum
.
generateSql
(
"od"
));
if
(
orderStatusEnum
.
getName
().
equals
(
OrderStatusEnum
.
WAITING_INVOICE
.
getName
()))
{
sb
.
append
(
" and od.orderId in (select t.orderId from ord_invoiceinfo t where t.orderId=od.orderId)"
);
}
sb
.
append
(
")"
);
sb
.
append
(
")"
);
index
=
index
+
1
;
index
=
index
+
1
;
}
}
...
...
src/main/java/com/ctrip/fun/golf/domain/order/EventActivityOrderListExcel.java
View file @
9039c6cc
...
@@ -81,7 +81,18 @@ public class EventActivityOrderListExcel {
...
@@ -81,7 +81,18 @@ public class EventActivityOrderListExcel {
* 新加属性兑换卷
* 新加属性兑换卷
*/
*/
private
BigDecimal
voucherAmount
;
private
BigDecimal
voucherAmount
;
/**
* 在线支付退款金额
*/
private
BigDecimal
refundAmount
;
/**
* 优惠券退款金额
*/
private
BigDecimal
voucherRefundAmount
;
/**
* 余额退款金额
*/
private
BigDecimal
prePayCardRefundAmount
;
/**
/**
* 保险
* 保险
* */
* */
...
@@ -334,4 +345,28 @@ public class EventActivityOrderListExcel {
...
@@ -334,4 +345,28 @@ public class EventActivityOrderListExcel {
this
.
playDate
=
playDate
;
this
.
playDate
=
playDate
;
}
}
public
BigDecimal
getRefundAmount
()
{
return
refundAmount
;
}
public
void
setRefundAmount
(
BigDecimal
refundAmount
)
{
this
.
refundAmount
=
refundAmount
;
}
public
BigDecimal
getVoucherRefundAmount
()
{
return
voucherRefundAmount
;
}
public
void
setVoucherRefundAmount
(
BigDecimal
voucherRefundAmount
)
{
this
.
voucherRefundAmount
=
voucherRefundAmount
;
}
public
BigDecimal
getPrePayCardRefundAmount
()
{
return
prePayCardRefundAmount
;
}
public
void
setPrePayCardRefundAmount
(
BigDecimal
prePayCardRefundAmount
)
{
this
.
prePayCardRefundAmount
=
prePayCardRefundAmount
;
}
}
}
src/main/java/com/ctrip/fun/golf/service/order/OpEventActivityOrderService.java
View file @
9039c6cc
...
@@ -917,6 +917,9 @@ public class OpEventActivityOrderService
...
@@ -917,6 +917,9 @@ public class OpEventActivityOrderService
bean
.
setPrePayAmount
(
xsl
.
getPrePayAmount
());
bean
.
setPrePayAmount
(
xsl
.
getPrePayAmount
());
bean
.
setPrePayCardAmount
(
xsl
.
getPrePayCardAmount
());
bean
.
setPrePayCardAmount
(
xsl
.
getPrePayCardAmount
());
bean
.
setVoucherAmount
(
xsl
.
getVoucherAmount
());
bean
.
setVoucherAmount
(
xsl
.
getVoucherAmount
());
bean
.
setRefundAmount
(
xsl
.
getRefundAmount
());
bean
.
setVoucherRefundAmount
(
xsl
.
getVoucherRefundAmount
());
bean
.
setPrePayCardRefundAmount
(
xsl
.
getPrePayCardRefundAmount
());
bean
.
setInsuranceAmount
(
xsl
.
getInsuranceAmount
());
bean
.
setInsuranceAmount
(
xsl
.
getInsuranceAmount
());
bean
.
setFloorPrice
(
xsl
.
getFloorPrice
());
bean
.
setFloorPrice
(
xsl
.
getFloorPrice
());
bean
.
setRemark
(
xsl
.
getRemark
());
bean
.
setRemark
(
xsl
.
getRemark
());
...
...
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