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

Commit 742ea7fd authored by 胡佳晨's avatar 胡佳晨

订单过滤旧错误数据

parent f57162cf
...@@ -456,7 +456,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService { ...@@ -456,7 +456,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
private long getRestTime(GoblinStoreOrderVo orderVo) { private long getRestTime(GoblinStoreOrderVo orderVo) {
long restTime = 0L; long restTime = 0L;
int time = orderVo.getPayCountdownMinute(); int time = orderVo.getPayCountdownMinute();
if (orderVo.getMarketType().equals(GoblinStatusConst.MarketPreStatus.MARKET_PRE_ZHENGZAI.getValue())) { if (orderVo.getMarketType()!=null&&orderVo.getMarketType().equals(GoblinStatusConst.MarketPreStatus.MARKET_PRE_ZHENGZAI.getValue())) {
time = 0; time = 0;
} }
if (orderVo.getStatus() == GoblinStatusConst.Status.ORDER_STATUS_0.getValue()) { if (orderVo.getStatus() == GoblinStatusConst.Status.ORDER_STATUS_0.getValue()) {
......
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