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

Commit dc8c9c8c authored by jiangxiulong's avatar jiangxiulong

列表增加 取票方式 申请退款类型

parent bbca2b8f
...@@ -25,6 +25,8 @@ public class RefundSearchParam implements Serializable { ...@@ -25,6 +25,8 @@ public class RefundSearchParam implements Serializable {
private String orderRefundCode; private String orderRefundCode;
private String orderCode; private String orderCode;
private String getTicketType;
private Integer type;
private String status; private String status;
private List<String> statusStr; private List<String> statusStr;
......
...@@ -18,6 +18,24 @@ ...@@ -18,6 +18,24 @@
<label>订单编号:</label> <label>订单编号:</label>
<input type="text" name="orderCode"/> <input type="text" name="orderCode"/>
</li> </li>
<li>
<label>取票方式:</label>
<select name="getTicketType">
<option value="">全部</option>
<option value="electronic">电子票</option>
<option value="express">快递票</option>
</select>
</li>
<li>
<label>申请退款类型:</label>
<select name="type">
<option value="">全部</option>
<option value="0">客服申请</option>
<option value="1">超时退款</option>
<option value="2">用户申请普通退款</option>
<option value="3">用户申请快递退款</option>
</select>
</li>
<li> <li>
<label>退款状态:</label> <label>退款状态:</label>
<select name="status"> <select name="status">
...@@ -114,7 +132,8 @@ ...@@ -114,7 +132,8 @@
<a class="btn btn-primary multiple disabled" onclick="execute()" shiro:hasPermission="kylin:refund:execute"> <a class="btn btn-primary multiple disabled" onclick="execute()" shiro:hasPermission="kylin:refund:execute">
财务审核 财务审核
</a> </a>
<a class="btn btn-success multiple disabled" onclick="ticketAudit()" shiro:hasPermission="kylin:refund:ticketAudit"> <a class="btn btn-success multiple disabled" onclick="ticketAudit()"
shiro:hasPermission="kylin:refund:ticketAudit">
票务审核 票务审核
</a> </a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll('确定取消选中的退款申请吗?', 'refund/cancel')" <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll('确定取消选中的退款申请吗?', 'refund/cancel')"
...@@ -225,7 +244,8 @@ ...@@ -225,7 +244,8 @@
$.operate.save(prefix + "/ticketAudit", data); $.operate.save(prefix + "/ticketAudit", data);
layer.close(index) layer.close(index)
}, },
btn2: function (index, layero) {} btn2: function (index, layero) {
}
}); });
} }
...@@ -286,6 +306,37 @@ ...@@ -286,6 +306,37 @@
field: 'orderCode', field: 'orderCode',
title: '订单编号' title: '订单编号'
}, },
{
field: 'getTicketType',
title: '取票方式',
formatter: function (value, row, index) {
if (row.getTicketType == "electronic") {
return "电子票";
} else {
return '快递票';
}
},
},
{
field: 'type',
title: '申请退款类型',
formatter: function (value, row, index) {
switch (row.type) {
case 0:
return "客服申请";
break;
case 1:
return "超时退款";
break;
case 2:
return "用户申请普通退款";
break;
case 3:
return "用户申请快递退款";
break;
}
},
},
{ {
field: 'price', field: 'price',
title: '退票金额' title: '退票金额'
......
...@@ -76,6 +76,8 @@ public class OrderRefundDao implements Serializable { ...@@ -76,6 +76,8 @@ public class OrderRefundDao implements Serializable {
private String performanceTitle; private String performanceTitle;
private String getTicketType;
private String mailno; private String mailno;
public void setStatusName(Integer status){ public void setStatusName(Integer status){
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</select> </select>
<select id="misRefundList" resultType="com.liquidnet.service.kylin.dao.OrderRefundDao" resultMap="misRefundListResult"> <select id="misRefundList" resultType="com.liquidnet.service.kylin.dao.OrderRefundDao" resultMap="misRefundListResult">
select t.*, b.order_code, b.performance_title from select t.*, b.order_code, b.performance_title, b.get_ticket_type from
(select a.*, d.mailno (select a.*, d.mailno
from kylin_order_refunds a from kylin_order_refunds a
LEFT JOIN kylin_order_express AS d ON d.order_refunds_id = a.order_refunds_id LEFT JOIN kylin_order_express AS d ON d.order_refunds_id = a.order_refunds_id
...@@ -88,6 +88,9 @@ ...@@ -88,6 +88,9 @@
<if test="orderTicketsId!=''"> <if test="orderTicketsId!=''">
AND a.order_tickets_id = #{orderTicketsId} AND a.order_tickets_id = #{orderTicketsId}
</if> </if>
<if test="type!=''">
AND a.type = #{type}
</if>
<choose> <choose>
<when test="roleType!=''"> <when test="roleType!=''">
<if test="roleType == 1"> <if test="roleType == 1">
...@@ -126,6 +129,9 @@ ...@@ -126,6 +129,9 @@
<if test="orderCode!=''"> <if test="orderCode!=''">
AND b.order_code = #{orderCode} AND b.order_code = #{orderCode}
</if> </if>
<if test="getTicketType!=''">
AND b.get_ticket_type = #{getTicketType}
</if>
</where> </where>
</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