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

Commit e8eea09c authored by 胡佳晨's avatar 胡佳晨

Merge branch 'dev' into test

parents 3d9553b3 40535653
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">演出名称:</label> <label class="col-sm-3 control-label">演出名称:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" type="text" name="title"> <span id="performanceTitle"></span>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
...@@ -56,15 +56,56 @@ ...@@ -56,15 +56,56 @@
$.modal.loading("正在查询演出,请稍后..."); $.modal.loading("正在查询演出,请稍后...");
}, },
success: function(result) { success: function(result) {
$("#performanceTitle").text(result.kylinPerformanceMisVo.title);
var options = { var options = {
data: result.orderTicketEntitiesVo, data: result.performanceOrderStatisticalDao,
pagination: false, pagination: false,
columns: [{ columns: [{
checkbox: true checkbox: true
}, },
{ {
field: 'orderTicketEntitiesId', field: 'title',
title: '票种数据' title: '票种名'
},
{
field: 'price',
title: '单价'
},
{
field: 'type',
title: '类型'
},
{
field: 'useStart',
title: '适用时间'
},
{
field: 'saleGeneral',
title: '销售总数量'
},
{
field: 'totalMemberNumber',
title: '会员销售数量'
},
{
field: 'surplusGeneral',
title: '库存数量'
},
{
field: 'totalPayingNumber',
title: '正在支付数量'
},
{
field: 'totalRefundGeneral',
title: '退票数量'
},
{
field: 'totalSalePrice',
title: '销售额(元)'
},
{
field: 'totalExchange',
title: '兑换数量'
}, },
] ]
}; };
......
...@@ -1053,7 +1053,7 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM ...@@ -1053,7 +1053,7 @@ public class KylinOrderTicketsServiceImpl extends ServiceImpl<KylinOrderTicketsM
// List<KylinOrderTicketEntities> entities = entitiesMapper.selectList(new UpdateWrapper<KylinOrderTicketEntities>().eq("order_id", item.getOrderTicketsId())); // List<KylinOrderTicketEntities> entities = entitiesMapper.selectList(new UpdateWrapper<KylinOrderTicketEntities>().eq("order_id", item.getOrderTicketsId()));
List<KylinOrderTicketEntitiesVo> entities = vo.getEntitiesVoList(); List<KylinOrderTicketEntitiesVo> entities = vo.getEntitiesVoList();
entitiesMapper.selectList(new UpdateWrapper<KylinOrderTicketEntities>().eq("order_id", item.getOrderTicketsId())); // entitiesMapper.selectList(new UpdateWrapper<KylinOrderTicketEntities>().eq("order_id", item.getOrderTicketsId()));
for (int i = 0; i < entities.size(); i++) { for (int i = 0; i < entities.size(); i++) {
KylinOrderTicketEntitiesVo items = entities.get(i); KylinOrderTicketEntitiesVo items = entities.get(i);
dataUtils.changeBuyInfo(items.getUserId(), items.getEnterIdCode(), items.getPerformanceId(), items.getTicketId(), -1); dataUtils.changeBuyInfo(items.getUserId(), items.getEnterIdCode(), items.getPerformanceId(), items.getTicketId(), -1);
......
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