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

Commit 91c29758 authored by jiangxiulong's avatar jiangxiulong

转增 0and5可退款

parent 373e7970
...@@ -81,9 +81,8 @@ public class KylinOrderRefundAdminController extends BaseController { ...@@ -81,9 +81,8 @@ public class KylinOrderRefundAdminController extends BaseController {
@Log(title = "订单退款列表", businessType = BusinessType.DETAIL) @Log(title = "订单退款列表", businessType = BusinessType.DETAIL)
@PostMapping("applyOrder") @PostMapping("applyOrder")
@ResponseBody @ResponseBody
public RefundOrderDetailsVo applyOrder(RefundApplyParam refundApplyParam) { public AjaxResult applyOrder(RefundApplyParam refundApplyParam) {
RefundOrderDetailsVo orderInfo = kylinOrderRefundsServiceImpl.orderDetails(refundApplyParam.getOrderCode()); return kylinOrderRefundsServiceImpl.orderDetails(refundApplyParam.getOrderCode());
return orderInfo;
} }
@Log(title = "订单退款列表", businessType = BusinessType.INSERT) @Log(title = "订单退款列表", businessType = BusinessType.INSERT)
......
...@@ -63,17 +63,17 @@ ...@@ -63,17 +63,17 @@
$.modal.loading("正在查询订单,请稍后..."); $.modal.loading("正在查询订单,请稍后...");
}, },
success: function (result) { success: function (result) {
if (result.msg) { if (result.status > 0) {
$.modal.closeLoading(); $.modal.closeLoading();
layer.msg("未找到该订单信息"); layer.msg(result.msg);
return false; return false;
} else { } else {
$("#orderTicketsId").val(result.orderTicketVo.orderTicketsId); $("#orderTicketsId").val(result.data.orderTicketVo.orderTicketsId);
$('input[name="RefundPriceExpress"]').val(result.orderTicketVo.priceExpress); $('input[name="RefundPriceExpress"]').val(result.data.orderTicketVo.priceExpress);
$('input[name="RefundPriceExpress"]').attr("max", result.orderTicketVo.priceExpress); $('input[name="RefundPriceExpress"]').attr("max", result.data.orderTicketVo.priceExpress);
$("#performanceTitle").text(result.kylinPerformanceVo.title); $("#performanceTitle").text(result.data.kylinPerformanceVo.title);
var options = { var options = {
data: result.kylinOrderTicketEntitiesDao, data: result.data.kylinOrderTicketEntitiesDao,
pagination: false, pagination: false,
columns: [{ columns: [{
checkbox: true checkbox: true
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
<where> <where>
r.performance_id=#{targetId} r.performance_id=#{targetId}
AND s.status IN (1, 3, 6) AND s.status IN (1, 3, 6)
AND s.transfer_status IN (0, 5)
AND s.pay_status=1 AND s.pay_status=1
AND o.coupon_type='no' AND o.coupon_type='no'
AND o.payment_type IN AND o.payment_type IN
...@@ -82,6 +83,7 @@ ...@@ -82,6 +83,7 @@
<where> <where>
r.performance_id=${targetId} r.performance_id=${targetId}
AND s.status IN (1, 3, 6) AND s.status IN (1, 3, 6)
AND s.transfer_status IN (0, 5)
AND s.pay_status=1 AND s.pay_status=1
AND o.coupon_type='no' AND o.coupon_type='no'
AND o.mid>${mid} AND o.mid>${mid}
......
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