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

Commit 7e95f3ea authored by anjiabin's avatar anjiabin

修改演出订单

parent f272f2c6
...@@ -20,6 +20,7 @@ public class OrderListReq { ...@@ -20,6 +20,7 @@ public class OrderListReq {
private String timePayEnd; private String timePayEnd;
private String sponsorId; private String sponsorId;
private String sponsor; private String sponsor;
private String payType;
private String paymentType; private String paymentType;
private String orderStatus; private String orderStatus;
private String orderSource; private String orderSource;
......
...@@ -42,24 +42,10 @@ ...@@ -42,24 +42,10 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <div class="input-group">-->
<!-- <input type="text" class="form-control" id="sponsorSelectDiv">-->
<!-- <div class="input-group-btn">-->
<!-- <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">-->
<!-- <span class="caret"></span>-->
<!-- </button>-->
<!-- <ul class="dropdown-menu dropdown-menu-right" role="menu">-->
<!-- </ul>-->
<!-- </div>-->
<!-- </div>-->
<!-- <select name="sponsorId">-->
<!-- <option value="">所有</option>-->
<!-- <option value="-1">代码生成请选择字典属性</option>-->
<!-- </select>-->
</li> </li>
<li> <li>
<label>支付方式:</label> <label>支付方式:</label>
<select name="paymentType" th:with="type=${@dict.getType('zhengzai_pay_type')}"> <select name="payType" th:with="type=${@dict.getType('zhengzai_pay_type')}">
<option value="">所有</option> <option value="">所有</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select> </select>
...@@ -171,11 +157,11 @@ ...@@ -171,11 +157,11 @@
} }
}, },
{ {
field: 'paymentType', field: 'payType',
title: '支付方式' title: '支付方式',
// formatter: function(value, row, index) { formatter: function(value, row, index) {
// return $.table.selectDictLabel(payTypeDic, value); return $.table.selectDictLabel(payTypeDic, value);
// } }
}, },
{ {
field: 'tied', field: 'tied',
......
...@@ -125,8 +125,6 @@ ...@@ -125,8 +125,6 @@
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
inner join kylin_performances kp on kotr.performance_id = kp.performances_id inner join kylin_performances kp on kotr.performance_id = kp.performances_id
<where> <where>
<if test="orderTicketsId != null and orderTicketsId != ''">and kot.order_tickets_id = #{orderTicketsId}
</if>
<if test="userId != null and userId != ''">and kot.user_id = #{userId}</if> <if test="userId != null and userId != ''">and kot.user_id = #{userId}</if>
<if test="userName != null and userName != ''">and kot.user_name like concat('%', #{userName}, '%')</if> <if test="userName != null and userName != ''">and kot.user_name like concat('%', #{userName}, '%')</if>
<if test="userMobile != null and userMobile != ''">and kot.user_mobile = #{userMobile}</if> <if test="userMobile != null and userMobile != ''">and kot.user_mobile = #{userMobile}</if>
...@@ -134,8 +132,6 @@ ...@@ -134,8 +132,6 @@
and kot.performance_title like concat('%', #{performanceTitle}, '%') and kot.performance_title like concat('%', #{performanceTitle}, '%')
</if> </if>
<if test="orderCode != null and orderCode != ''">and kot.order_code = #{orderCode}</if> <if test="orderCode != null and orderCode != ''">and kot.order_code = #{orderCode}</if>
<if test="payCode != null and payCode != ''">and kot.pay_code = #{payCode}</if>
<if test="qrCode != null and qrCode != ''">and kot.qr_code = #{qrCode}</if>
<if test="orderType != null and orderType != ''">and kot.order_type = #{orderType}</if> <if test="orderType != null and orderType != ''">and kot.order_type = #{orderType}</if>
<if test="orderVersion != null and orderVersion != ''">and kot.order_version = #{orderVersion}</if> <if test="orderVersion != null and orderVersion != ''">and kot.order_version = #{orderVersion}</if>
<if test="number != null ">and kot.number = #{number}</if> <if test="number != null ">and kot.number = #{number}</if>
...@@ -168,6 +164,12 @@ ...@@ -168,6 +164,12 @@
<if test="sponsor!=null and sponsor!=''"> <if test="sponsor!=null and sponsor!=''">
AND kp.sponsor = #{sponsor} AND kp.sponsor = #{sponsor}
</if> </if>
<if test="orderStatus!=null and orderStatus!=''">
AND kots.status = #{orderStatus}
</if>
<if test="sponsor!=null and sponsor!=''">
AND kp.sponsor = #{sponsor}
</if>
</where> </where>
<!-- <if test="orderItem!=''">--> <!-- <if test="orderItem!=''">-->
<!-- ORDER BY ${orderItem} ${orderSc}--> <!-- ORDER BY ${orderItem} ${orderSc}-->
......
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