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

Commit 20d89916 authored by 胡佳晨's avatar 胡佳晨

提交platform

KylinRefundsStatusServiceImpl 151行
.subtract(refundInfo.getPriceCharges())
判断 的时候 减去手续费
parent 7b93ba3b
...@@ -148,7 +148,7 @@ public class KylinRefundsStatusServiceImpl { ...@@ -148,7 +148,7 @@ public class KylinRefundsStatusServiceImpl {
KylinOrderTicketEntities entitiesTable = KylinOrderTicketEntities.getNew(); KylinOrderTicketEntities entitiesTable = KylinOrderTicketEntities.getNew();
BigDecimal priceNew = refundEntitiesInfo.getRefundPrice().add(refundedPrice); BigDecimal priceNew = refundEntitiesInfo.getRefundPrice().add(refundedPrice);
int isPayment = 0; int isPayment = 0;
if (priceNew.compareTo(onePrice) >= 0) { if (priceNew.compareTo(onePrice.subtract(refundInfo.getPriceCharges())) >= 0) {//增加 胡佳晨 .subtract(refundInfo.getPriceCharges())
isPayment = KylinTableStatusConst.ENTITIES_IS_PAYMENT3; isPayment = KylinTableStatusConst.ENTITIES_IS_PAYMENT3;
refundNumber++; refundNumber++;
} else { } else {
...@@ -156,7 +156,7 @@ public class KylinRefundsStatusServiceImpl { ...@@ -156,7 +156,7 @@ public class KylinRefundsStatusServiceImpl {
} }
entitiesTable.setIsPayment(isPayment); entitiesTable.setIsPayment(isPayment);
entitiesTable.setUpdatedAt(LocalDateTime.now()); entitiesTable.setUpdatedAt(LocalDateTime.now());
if (priceNew.compareTo(onePrice) > 0) { if (priceNew.compareTo(onePrice.subtract(refundInfo.getPriceCharges())) > 0) {//.subtract(refundInfo.getPriceCharges())
priceNew = onePrice; priceNew = onePrice;
} }
entitiesTable.setRefundPrice(priceNew); entitiesTable.setRefundPrice(priceNew);
......
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