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

Commit 1c461c17 authored by jiangxiulong's avatar jiangxiulong

查询演出票种信息

parent a7039593
......@@ -303,7 +303,6 @@ public class PerformancesExpressController extends BaseController {
* 获取演出票种列表
*/
@Log(title = "快递管理-演出列表", businessType = BusinessType.LIST)
@RequiresPermissions("kylin:performancesExpress:getPerformancesTicketList")
@PostMapping("/getPerformancesTicketList")
@ResponseBody
public TableDataInfo getPerformancesTicketList(@RequestParam("ids") String performanceId) {
......
......@@ -286,6 +286,24 @@
});
}
function getPerformancesTicketList(performanceId) {
var data = {"ids": performanceId};
var configPrint = {
url: prefix + "/getPerformancesTicketList",
type: "post",
dataType: "json",
data: data,
beforeSend: function () {
$.modal.loading("正在获取数据中,请稍后...");
},
success: function (result) {
$.modal.closeLoading();
console.log(result)
}
};
$.ajax(configPrint)
}
function exportExcel(performancesId) {
var data = {"ids": performancesId};
$.table.exportExcel("", data)
......@@ -339,7 +357,7 @@
actions.push('<a class="btn btn-danger btn-xs ' + batchPlaceOrderFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.performancesId + '\', \'确定批量下单吗?\', table.options.batchPlaceOrderUrl)"></i>下单</a> ');
actions.push('<a class="btn btn-warning btn-xs ' + batchCancelOrderFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.performancesId + '\', \'确定批量取消吗?\', table.options.batchCancelOrderUrl)"></i>取消</a> ');
// actions.push('<a class="btn btn-warning btn-xs ' + batchGenerateImageFlag + '" href="javascript:void(0)" onclick="generateImage(\'' + row.performancesId + '\',)"></i>下载快递单</a> ');
actions.push('<a class="btn btn-warning btn-xs ' + batchPrintExpressFlag + '" href="javascript:void(0)" onclick="printExpress(\'' + row.performancesId + '\',)"></i>打印快递单</a> ');
actions.push('<a class="btn btn-warning btn-xs ' + batchPrintExpressFlag + '" href="javascript:void(0)" onclick="getPerformancesTicketList(\'' + row.performancesId + '\',)"></i>打印快递单</a> ');
actions.push('<a class="btn btn-warning btn-xs ' + exportExcelFlag + '" href="javascript:void(0)" onclick="exportExcel(\'' + row.performancesId + '\')"></i>导出快递票订单</a> ');
return actions.join('');
}
......
......@@ -44,14 +44,14 @@
</select>
<select id="getPerformancesTicketList" resultType="com.liquidnet.service.kylin.dao.PerformancesTicketListDao">
SELECT
t.tickets_id ,
t.title
a.tickets_id ,
a.title
FROM
kylin_tickets AS a
LEFT JOIN kylin_ticket_status AS b ON b.ticket_id = a.tickets_id
LEFT JOIN kylin_ticket_relations AS c ON c.ticket_id = a.tickets_id
LEFT JOIN kylin_ticket_time_relation AS d ON d.times_id = c.times_id
where d.performance_id = ${performanceId}
where b.is_express = 1
and b.is_express = 1
</select>
</mapper>
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