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

Commit caf35730 authored by 胡佳晨's avatar 胡佳晨

修改阶梯退票

默认手续费0
如果配置了阶梯退票默认值为1
parent 7cea650d
......@@ -322,8 +322,9 @@ public class KylinOrderTicketsRefundServiceImpl {
private BigDecimal getChargesRatio(String useStart, Integer isRefundPoundage, String performanceId) {
ArrayList<OrderRefundPoundage> refundPoundage = dataUtils.getRefundPoundage(isRefundPoundage, performanceId);
// 手续费比例
BigDecimal chargesRatio = BigDecimal.valueOf(1);
BigDecimal chargesRatio = BigDecimal.valueOf(0);
if (!CollectionUtils.isEmpty(refundPoundage)) {
chargesRatio = BigDecimal.valueOf(1);
// 票种演出开始时间
DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
// 当前时间
......
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