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

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

Merge branch 'hjc_阶段退票' into 阶梯退票_羊毛券_合并分支

parents c57d2805 244568e8
......@@ -104,8 +104,8 @@ public class KylinRefundsStatusServiceImpl {
kylinOrderRefunds.setOrderTicketsId(orderInfo.getOrderTicketsId());
String orderRefundCode = orderInfo.getOrderCode();
String codeNum = StringUtils.leftPad(String.valueOf(refundCount), 3, "0");
// long currentTime = System.currentTimeMillis()% 100;
kylinOrderRefunds.setOrderRefundCode(IDGenerator.nextSnowId());
long currentTime = System.currentTimeMillis()% 100;
kylinOrderRefunds.setOrderRefundCode(orderRefundCode.concat(codeNum)+currentTime);
kylinOrderRefunds.setPrice(refundPrice);
kylinOrderRefunds.setPriceExpress(priceExpress);
kylinOrderRefunds.setPriceCharges(priceCharges);
......@@ -263,8 +263,8 @@ public class KylinRefundsStatusServiceImpl {
kylinOrderRefunds.setOrderTicketsId(orderInfo.getOrderTicketsId());
String orderRefundCode = orderInfo.getOrderCode();
String codeNum = StringUtils.leftPad(String.valueOf(refundCount), 3, "0");
// long currentTime = System.currentTimeMillis()% 100;
kylinOrderRefunds.setOrderRefundCode(IDGenerator.nextSnowId());
long currentTime = System.currentTimeMillis()% 100;
kylinOrderRefunds.setOrderRefundCode(orderRefundCode.concat(codeNum)+currentTime);
kylinOrderRefunds.setPrice(BigDecimal.valueOf(refundPrice));
kylinOrderRefunds.setPriceExpress(orderInfo.getPriceExpress());
kylinOrderRefunds.setStatus(KylinTableStatusConst.ORDER_REFUND_STATUS_APPLY);
......
......@@ -121,9 +121,9 @@ public class KylinRefundsStatusServiceImpl {
kylinOrderRefunds.setOrderRefundsId(orderRefundsId);
kylinOrderRefunds.setOrderTicketsId(orderTicketsId);
String orderRefundCode = orderInfo.getOrderCode();
// long currentTime = System.currentTimeMillis()% 100;
long currentTime = System.currentTimeMillis()% 100;
String codeNum = StringUtils.leftPad(String.valueOf(5), 3, "0");
kylinOrderRefunds.setOrderRefundCode(IDGenerator.nextSnowId());
kylinOrderRefunds.setOrderRefundCode(orderRefundCode.concat(codeNum)+ currentTime);
kylinOrderRefunds.setPrice(entitiesPriceSum);
kylinOrderRefunds.setPriceExpress(RefundPriceExpress);
kylinOrderRefunds.setStatus(KylinTableStatusConst.ORDER_REFUND_STATUS_APPLY);
......
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