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

Commit c8d61af4 authored by jiangxiulong's avatar jiangxiulong

快递管理 演出订单列表增加购票数量、搜索增加票种搜索

parent 7a8ad304
......@@ -10,6 +10,7 @@ public class PerformanceExpressSearchAdminParam {
// 演出搜索
private String title;
private String performancesId;
private String ticketsId;
// 分页
private Integer pageSize;
......
......@@ -69,7 +69,9 @@ public class PerformancesExpressController extends BaseController {
@RequiresPermissions("kylin:performancesExpress:performanceOrderList")
@GetMapping("performanceOrderList/{id}")
public String performanceOrderListView(@PathVariable("id") String id, ModelMap mmap) {
List<PerformancesTicketListDao> performancesTicketList = performancesExpressServiceImpl.getPerformancesTicketList(id);
mmap.put("performancesId", id);
mmap.put("performancesTicketList", performancesTicketList);
return prefix + "/performanceOrderList";
}
......
......@@ -67,6 +67,13 @@
<option value="80">已签收</option>
</select>
</li>
<li>
<label>票种:</label>
<select name="ticketsId">
<option value="">所有</option>
<option th:each="ticket : ${performancesTicketList}" th:text="${ticket.title + ticket.timeTitle}" th:value="${ticket.ticketsId}"></option>
</select>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
class="fa fa-search"></i>&nbsp;搜索</a>
......@@ -414,6 +421,10 @@
return '姓名:' + expressContacts + '<br>' + '手机号:' + expressPhone + '<br>' + '地址:' + expressAddress;
}
},
{
field: 'number',
title: '购票数量'
},
{
field: '',
title: '快递方式',
......
......@@ -9,6 +9,7 @@ public class PerformanceExpressPerformanceOrderListAdminDao {
String orderTicketsId;
String orderCode;
Integer number;
Integer status;
BigDecimal priceExpress;
......
......@@ -346,6 +346,7 @@
</if>
<if test="expressStatus == 80">AND (oe.express_status = 80 OR oe.express_status = 8000)</if>
<if test="mailno != ''">AND oe.mailno LIKE concat('%', #{mailno}, '%')</if>
<if test="ticketsId != '' and ticketsId != null">AND kotr.ticket_id = ${ticketsId} </if>
</where>
</select>
......
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