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
2fdd3926
authored
Jun 26, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赛事订单等待发票递送列表导出功能
parent
9039c6cc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
src/main/java/com/ctrip/fun/golf/dao/order/EventActivityOrderExcelDao.java
src/main/java/com/ctrip/fun/golf/domain/order/EventActivityOrderListExcel.java
src/main/java/com/ctrip/fun/golf/service/order/OpCourseOrderService.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 @
2fdd3926
...
@@ -130,6 +130,11 @@ public class EventActivityOrderExcelDao extends GenericHibernateDao<EventActivit
...
@@ -130,6 +130,11 @@ public class EventActivityOrderExcelDao extends GenericHibernateDao<EventActivit
}
}
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 @
2fdd3926
...
@@ -64,7 +64,7 @@ public class EventActivityOrderListExcel {
...
@@ -64,7 +64,7 @@ public class EventActivityOrderListExcel {
private
BigDecimal
communeMinus
;
private
BigDecimal
communeMinus
;
private
BigDecimal
communeGuestPrice
;
private
BigDecimal
communeGuestPrice
;
private
BigDecimal
communeGuestMinus
;
private
BigDecimal
communeGuestMinus
;
private
BigDecimal
floorPrice
;
private
double
floorPrice
;
/**
/**
* 实付金额
* 实付金额
*/
*/
...
@@ -277,11 +277,11 @@ public class EventActivityOrderListExcel {
...
@@ -277,11 +277,11 @@ public class EventActivityOrderListExcel {
this
.
voucherAmount
=
voucherAmount
;
this
.
voucherAmount
=
voucherAmount
;
}
}
public
BigDecimal
getFloorPrice
()
{
public
double
getFloorPrice
()
{
return
floorPrice
;
return
floorPrice
;
}
}
public
void
setFloorPrice
(
BigDecimal
floorPrice
)
{
public
void
setFloorPrice
(
double
floorPrice
)
{
this
.
floorPrice
=
floorPrice
;
this
.
floorPrice
=
floorPrice
;
}
}
...
...
src/main/java/com/ctrip/fun/golf/service/order/OpCourseOrderService.java
View file @
2fdd3926
src/main/java/com/ctrip/fun/golf/service/order/OpEventActivityOrderService.java
View file @
2fdd3926
...
@@ -881,6 +881,12 @@ public class OpEventActivityOrderService
...
@@ -881,6 +881,12 @@ public class OpEventActivityOrderService
Invoiceinfo
invoiceinfo
=
this
.
findInvoiceinfo
(
orderListExcelBean
.
getOrderId
(),
Invoiceinfo
invoiceinfo
=
this
.
findInvoiceinfo
(
orderListExcelBean
.
getOrderId
(),
invoiceinfos
);
invoiceinfos
);
if
(
invoiceinfo
!=
null
)
{
InvoiceBean
invoice
=
new
InvoiceBean
();
BeanConverter
.
copyProperties
(
invoice
,
invoiceinfo
);
orderListExcelBean
.
setInvoice
(
invoice
);
}
OrderStatusEnum
orderStatusEnum
=
OrderStatusEnum
.
getOrderStatus
(
OrderStatusEnum
orderStatusEnum
=
OrderStatusEnum
.
getOrderStatus
(
orderListExcelBean
.
getOrderType
(),
orderListExcelBean
.
getPayMode
(),
orderListExcelBean
.
getOrderType
(),
orderListExcelBean
.
getPayMode
(),
orderListExcelBean
.
getConfirmType
(),
orderListExcelBean
.
getProcessStatus
(),
orderListExcelBean
.
getConfirmType
(),
orderListExcelBean
.
getProcessStatus
(),
...
...
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