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

Commit 0bc4ef4f authored by jiangxiulong's avatar jiangxiulong

Merge remote-tracking branch 'origin/jxl_1214_refund' into dev_merchant

parents 927f0f1e 7d02cfca
package com.liquidnet.client.admin.web.controller.zhengzai.kylin; package com.liquidnet.client.admin.web.controller.zhengzai.kylin;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.liquidnet.client.admin.common.annotation.Log; import com.liquidnet.client.admin.common.annotation.Log;
import com.liquidnet.client.admin.common.core.controller.BaseController; import com.liquidnet.client.admin.common.core.controller.BaseController;
import com.liquidnet.client.admin.common.core.domain.AjaxResult; import com.liquidnet.client.admin.common.core.domain.AjaxResult;
...@@ -16,6 +17,8 @@ import com.liquidnet.service.kylin.dao.PerformanceExpressPerformanceOrderListAdm ...@@ -16,6 +17,8 @@ import com.liquidnet.service.kylin.dao.PerformanceExpressPerformanceOrderListAdm
import com.liquidnet.service.kylin.dao.PerformancesTicketListDao; import com.liquidnet.service.kylin.dao.PerformancesTicketListDao;
import com.liquidnet.service.kylin.dto.param.PerformanceExpressSearchAdminParam; import com.liquidnet.service.kylin.dto.param.PerformanceExpressSearchAdminParam;
import com.liquidnet.service.kylin.dto.vo.express.KylinOrderExpressPrintVo; import com.liquidnet.service.kylin.dto.vo.express.KylinOrderExpressPrintVo;
import com.liquidnet.service.kylin.entity.KylinExpressModule;
import com.liquidnet.service.kylin.mapper.KylinExpressModuleMapper;
import org.apache.shiro.authz.annotation.RequiresPermissions; import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
...@@ -44,6 +47,9 @@ public class PerformancesExpressController extends BaseController { ...@@ -44,6 +47,9 @@ public class PerformancesExpressController extends BaseController {
@Autowired @Autowired
private PerformancesExpressServiceImpl performancesExpressServiceImpl; private PerformancesExpressServiceImpl performancesExpressServiceImpl;
@Autowired
private KylinExpressModuleMapper kylinExpressModuleMapper;
/** /**
* 查询演出列表 * 查询演出列表
*/ */
...@@ -70,8 +76,10 @@ public class PerformancesExpressController extends BaseController { ...@@ -70,8 +76,10 @@ public class PerformancesExpressController extends BaseController {
@GetMapping("performanceOrderList/{id}") @GetMapping("performanceOrderList/{id}")
public String performanceOrderListView(@PathVariable("id") String id, ModelMap mmap) { public String performanceOrderListView(@PathVariable("id") String id, ModelMap mmap) {
List<PerformancesTicketListDao> performancesTicketList = performancesExpressServiceImpl.getPerformancesTicketList(id); List<PerformancesTicketListDao> performancesTicketList = performancesExpressServiceImpl.getPerformancesTicketList(id);
List<KylinExpressModule> expressModuleList = kylinExpressModuleMapper.selectList(Wrappers.lambdaQuery(KylinExpressModule.class));
mmap.put("performancesId", id); mmap.put("performancesId", id);
mmap.put("performancesTicketList", performancesTicketList); mmap.put("performancesTicketList", performancesTicketList);
mmap.put("expressModuleList", expressModuleList);
return prefix + "/performanceOrderList"; return prefix + "/performanceOrderList";
} }
......
...@@ -69,13 +69,22 @@ ...@@ -69,13 +69,22 @@
</li> </li>
<li> <li>
<label>快递方式:</label> <label>快递方式:</label>
<select name="prizeType" <select name="expressType"
th:with="type=${@dict.getType('zhengzai_kylin_express_type')}"> th:with="type=${@dict.getType('zhengzai_kylin_express_type')}">
<option value="">全部</option> <option value="">全部</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" <option th:each="dict : ${type}" th:text="${dict.dictLabel}"
th:value="${dict.dictValue}"></option> th:value="${dict.dictValue}"></option>
</select> </select>
</li> </li>
<li>
<label>快递产品:</label>
<select name="productCode">
<option value="">所有</option>
<option th:each="module : ${expressModuleList}"
th:text="${module.title}"
th:value="${module.productCode}"></option>
</select>
</li>
<li> <li>
<label>票种:</label> <label>票种:</label>
<select name="ticketsId"> <select name="ticketsId">
...@@ -439,7 +448,11 @@ ...@@ -439,7 +448,11 @@
title: '购票数量' title: '购票数量'
}, },
{ {
field: '', field: 'produceTitle',
title: '快递产品'
},
{
field: 'expressType',
title: '快递方式', title: '快递方式',
formatter: function (value, row) { formatter: function (value, row) {
let dictLabel = $.table.selectDictLabel(expressType, value); let dictLabel = $.table.selectDictLabel(expressType, value);
......
...@@ -23,6 +23,9 @@ public class PerformanceExpressPerformanceOrderListAdminDao { ...@@ -23,6 +23,9 @@ public class PerformanceExpressPerformanceOrderListAdminDao {
// 1寄付|2到付|3包邮 // 1寄付|2到付|3包邮
Integer expressType; Integer expressType;
// 标快 特快
Integer produceCode;
Integer produceTitle;
String orderExpressId; String orderExpressId;
String mailno; String mailno;
......
...@@ -305,6 +305,9 @@ ...@@ -305,6 +305,9 @@
kots.status, kots.status,
kots.express_type, kots.express_type,
kots.produce_code,
kem.title as produce_title,
oe.order_express_id, oe.order_express_id,
oe.mailno, oe.mailno,
...@@ -312,6 +315,7 @@ ...@@ -312,6 +315,7 @@
oe.express_status oe.express_status
FROM kylin_order_tickets kot FROM kylin_order_tickets kot
INNER JOIN kylin_order_ticket_status kots ON kot.order_tickets_id = kots.order_id INNER JOIN kylin_order_ticket_status kots ON kot.order_tickets_id = kots.order_id
INNER JOIN kylin_express_module kem ON kem.product_code = kots.product_code
INNER JOIN kylin_order_ticket_relations kotr ON kot.order_tickets_id = kotr.order_id INNER JOIN kylin_order_ticket_relations kotr ON kot.order_tickets_id = kotr.order_id
LEFT JOIN (SELECT * FROM kylin_order_express WHERE express_status NOT IN (1, 3) AND send_type = 1) AS oe ON LEFT JOIN (SELECT * FROM kylin_order_express WHERE express_status NOT IN (1, 3) AND send_type = 1) AS oe ON
oe.order_tickets_id = kot.order_tickets_id oe.order_tickets_id = kot.order_tickets_id
...@@ -345,6 +349,8 @@ ...@@ -345,6 +349,8 @@
<if test="expressStatus == 80">AND (oe.express_status = 80 OR oe.express_status = 8000)</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="mailno != ''">AND oe.mailno LIKE concat('%', #{mailno}, '%')</if>
<if test="ticketsId != '' and ticketsId != null">AND kotr.ticket_id = ${ticketsId}</if> <if test="ticketsId != '' and ticketsId != null">AND kotr.ticket_id = ${ticketsId}</if>
<if test="expressType != '' and expressType != null">AND kots.express_type = ${expressType}</if>
<if test="produceCode != '' and produceCode != null">AND kots.produce_code = ${produceCode}</if>
</where> </where>
ORDER BY kot.mid DESC ORDER BY kot.mid DESC
</select> </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