fix: 退款优惠券为null处理
This commit is contained in:
parent
6e7fcd6404
commit
f42ab0d8b9
|
|
@ -1297,7 +1297,7 @@ public class PayService {
|
|||
throw new MsgException("退款金额必须大于0");
|
||||
}
|
||||
|
||||
oldOrderInfo.setCouponInfoList(JSONObject.toJSONString(couponInfoDTO));
|
||||
oldOrderInfo.setCouponInfoList(couponInfoDTO == null ? null : JSONObject.toJSONString(couponInfoDTO));
|
||||
|
||||
// 保存剩余未退款的订单详情
|
||||
if (!remainOrderDetailList.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue