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

Commit fc057cca authored by jiangxiulong's avatar jiangxiulong

票种打印, 要展示场次时间

parent 0426a21b
......@@ -325,7 +325,7 @@
var rows = result.rows;
var html = '<option value="">全部</option>';
$.each(rows,function(index,value){
html += '<option value="'+value.ticketsId+'">'+value.title+'</option>'
html += '<option value="'+value.ticketsId+'">'+value.title+'-'+value.timeTitle+'</option>'
});
$('#selectTicketDiv').find('#openTicketListTplSelect').html(html);
openTicketList("openTicketListTpl", performanceId);
......
......@@ -11,6 +11,7 @@ public class PerformancesTicketListDao implements Serializable, Cloneable {
private String ticketsId;
private String title;
private String timeTitle;
private static final PerformancesTicketListDao obj = new PerformancesTicketListDao();
......
......@@ -45,12 +45,14 @@
<select id="getPerformancesTicketList" resultType="com.liquidnet.service.kylin.dao.PerformancesTicketListDao">
SELECT
a.tickets_id ,
a.title
a.title,
e.title as time_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
LEFT JOIN kylin_ticket_times AS e ON e.ticket_times_id = d.times_id
where d.performance_id = ${performanceId}
and b.is_express = 1
and b.status IN (2, 3, 6, 7, 8, 9, 10)
......
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