记得上下班打卡 | git大法好,push需谨慎

Commit 5a0bd493 authored by GaoHu's avatar GaoHu

bug:演出详情代理票种类型,显示1:单日票,2:通票

parent 1158491c
...@@ -21,7 +21,7 @@ public class ShowTicketVo { ...@@ -21,7 +21,7 @@ public class ShowTicketVo {
/** /**
* 类型 票类型 1.单日票 2.通票 * 类型 票类型 1.单日票 2.通票
*/ */
private Integer type; private String type;
/** /**
* 适用开始时间 * 适用开始时间
...@@ -48,4 +48,5 @@ public class ShowTicketVo { ...@@ -48,4 +48,5 @@ public class ShowTicketVo {
*/ */
private BigDecimal totalPrice; private BigDecimal totalPrice;
} }
...@@ -233,7 +233,7 @@ public class SmileShowServiceImpl extends ServiceImpl<SmileSchoolMapper, SmileSc ...@@ -233,7 +233,7 @@ public class SmileShowServiceImpl extends ServiceImpl<SmileSchoolMapper, SmileSc
showTicketVo.setTitle(ticketAndStatusDao.getTitle()); showTicketVo.setTitle(ticketAndStatusDao.getTitle());
//单价 //单价
showTicketVo.setPrice(ticketAndStatusDao.getPrice()); showTicketVo.setPrice(ticketAndStatusDao.getPrice());
showTicketVo.setType(ticketAndStatusDao.getType()); showTicketVo.setType(ticketAndStatusDao.getType()==1?"单日票":"通票");
showTicketVo.setUseEnd(ticketAndStatusDao.getUseEnd()); showTicketVo.setUseEnd(ticketAndStatusDao.getUseEnd());
showTicketVo.setUseStart(ticketAndStatusDao.getUseStart()); showTicketVo.setUseStart(ticketAndStatusDao.getUseStart());
showTicketVo.setTotalGeneral(ticketAndStatusDao.getTotalGeneral()); showTicketVo.setTotalGeneral(ticketAndStatusDao.getTotalGeneral());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment