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

Commit 32cb02d7 authored by jiangxiulong's avatar jiangxiulong

只有超时退款不处理 其他都处理库存和券

错别字
parent 8e96f7ba
......@@ -44,7 +44,7 @@ public class KylinOrderTicketPreVo implements Serializable, Cloneable {
private BigDecimal priceRefund;
@ApiModelProperty(value = "退款张数")
private Integer refundNumber;
@ApiModelProperty(value = "是否使用优惠 exchange/no")
@ApiModelProperty(value = "是否使用优惠 exchange/no")
private String couponType;
@ApiModelProperty(value = "取票方式 电子票electronic快递票express")
private String getTicketType;
......
......@@ -217,7 +217,7 @@ public class KylinRefundsStatusServiceImpl {
dataUtils.delOrderRefundVo(refundInfo.getOrderRefundsId());
dataUtils.delOrderRefundVoByOrderId(refundInfo.getOrderTicketsId());
if (refundInfo.getType() == KylinTableStatusConst.ORDER_REFUND_TYPE_APPLY) {
if (refundInfo.getType() != KylinTableStatusConst.ORDER_REFUND_TYPE_AUTO) {
// 退还库存
for (String entitiesId : orderTicketEntitiesIdsArr) {
KylinOrderTicketEntities entitiesInfo = kylinOrderTicketEntitiesMapper.selectOne(
......@@ -229,7 +229,7 @@ public class KylinRefundsStatusServiceImpl {
dataUtils.changeBuyInfo(orderInfo.getUserId(), entitiesInfo.getEnterIdCode(), orderRelations.getPerformanceId(), entitiesInfo.getTicketId(), -1);
}
}
// 退所有优惠券 提前购优惠不退
// 退所有优惠券 提前购优惠不退
if (newStatus == KylinTableStatusConst.ORDER_STATUS4) {
KylinPerformanceVo performanceVo = dataUtils.getPerformanceVo(orderRelations.getPerformanceId());
if (performanceVo.getIsRefundVoucher() > 0) {
......
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