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

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

限购相关

parent d722c4bc
...@@ -111,7 +111,7 @@ public class MongoVoUtils { ...@@ -111,7 +111,7 @@ public class MongoVoUtils {
isLackRegister = 1; isLackRegister = 1;
} }
payCountdownMinute = t1.getPayCountdownMinute(); payCountdownMinute = t1.getPayCountdownMinute();
if (price.subtract(kylinTicketVo.getPrice()).compareTo(new BigDecimal("0.00")) < 0) { if (price.subtract(kylinTicketVo.getPrice()).compareTo(new BigDecimal("0.00")) > 0) {
price = kylinTicketVo.getPrice(); price = kylinTicketVo.getPrice();
} }
if (stopSellTime == null || stopSellTime.isBefore(t1.getTimeEnd())) { if (stopSellTime == null || stopSellTime.isBefore(t1.getTimeEnd())) {
......
...@@ -191,7 +191,7 @@ public class PerformanceVoUtils { ...@@ -191,7 +191,7 @@ public class PerformanceVoUtils {
KylinPerformanceMisVo kylinPerformanceMisVo = new KylinPerformanceMisVo(); KylinPerformanceMisVo kylinPerformanceMisVo = new KylinPerformanceMisVo();
BeanUtils.copyProperties(performanceData, kylinPerformanceMisVo); BeanUtils.copyProperties(performanceData, kylinPerformanceMisVo);
floatList.sort(Comparator.reverseOrder()); floatList.sort(Comparator.naturalOrder());
StringList.sort(Comparator.naturalOrder()); StringList.sort(Comparator.naturalOrder());
kylinPerformanceMisVo.setPrice(floatList.get(0) + "起"); kylinPerformanceMisVo.setPrice(floatList.get(0) + "起");
......
...@@ -199,7 +199,7 @@ public class PerformanceVoTask { ...@@ -199,7 +199,7 @@ public class PerformanceVoTask {
KylinPerformanceMisVo kylinPerformanceMisVo = new KylinPerformanceMisVo(); KylinPerformanceMisVo kylinPerformanceMisVo = new KylinPerformanceMisVo();
BeanUtils.copyProperties(performanceData, kylinPerformanceMisVo); BeanUtils.copyProperties(performanceData, kylinPerformanceMisVo);
floatList.sort(Comparator.reverseOrder()); floatList.sort(Comparator.naturalOrder());
StringList.sort(Comparator.naturalOrder()); StringList.sort(Comparator.naturalOrder());
kylinPerformanceMisVo.setPrice(floatList.get(0) + "起"); kylinPerformanceMisVo.setPrice(floatList.get(0) + "起");
......
...@@ -115,7 +115,7 @@ public class MongoVoUtils { ...@@ -115,7 +115,7 @@ public class MongoVoUtils {
isLackRegister = 1; isLackRegister = 1;
} }
payCountdownMinute = t1.getPayCountdownMinute(); payCountdownMinute = t1.getPayCountdownMinute();
if (price.subtract(kylinTicketVo.getPrice()).compareTo(new BigDecimal("0.00")) < 0) { if (price.subtract(kylinTicketVo.getPrice()).compareTo(new BigDecimal("0.00")) > 0) {
price = kylinTicketVo.getPrice(); price = kylinTicketVo.getPrice();
} }
if (stopSellTime == null || stopSellTime.isBefore(t1.getTimeEnd())) { if (stopSellTime == null || stopSellTime.isBefore(t1.getTimeEnd())) {
......
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