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

Commit 687354b2 authored by jiangxiulong's avatar jiangxiulong

去掉type

parent 11593031
...@@ -225,7 +225,6 @@ public class KylinOrderRefundsServiceImpl extends ServiceImpl<KylinOrderRefundsM ...@@ -225,7 +225,6 @@ public class KylinOrderRefundsServiceImpl extends ServiceImpl<KylinOrderRefundsM
return ResponseDto.failure("无退款订单"); return ResponseDto.failure("无退款订单");
} }
Integer[] orderRefundStatus = null; Integer[] orderRefundStatus = null;
Integer orderType = KylinTableStatusConst.ORDER_REFUND_TYPE_APPLY;
switch (type) { switch (type) {
default: default:
return ResponseDto.failure("type类型错误"); return ResponseDto.failure("type类型错误");
...@@ -251,7 +250,6 @@ public class KylinOrderRefundsServiceImpl extends ServiceImpl<KylinOrderRefundsM ...@@ -251,7 +250,6 @@ public class KylinOrderRefundsServiceImpl extends ServiceImpl<KylinOrderRefundsM
List<KylinOrderRefunds> refundList = kylinOrderRefundsMapper.selectList( List<KylinOrderRefunds> refundList = kylinOrderRefundsMapper.selectList(
new QueryWrapper<KylinOrderRefunds>() new QueryWrapper<KylinOrderRefunds>()
.eq("type", orderType)
.in("order_refunds_id", orderRefundsIdList) .in("order_refunds_id", orderRefundsIdList)
.in("status", orderRefundStatus) .in("status", orderRefundStatus)
); );
......
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