## Fix - 月限购验证时间由(支付时间)调整为(当前时间)[验证在下单前,还没有支付时间]
This commit is contained in:
parent
dd71caa701
commit
61e7ec003d
|
@ -2374,7 +2374,8 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 月限购
|
// 月限购
|
||||||
Integer monthLimit = checkLimitMap.get(tmpWares + "-" + DateUtils.parseDateToFormat(ELimitType.MONTH.getFormat(), saOrderExt.getPayTime()));
|
// Integer monthLimit = checkLimitMap.get(tmpWares + "-" + DateUtils.parseDateToFormat(ELimitType.MONTH.getFormat(), saOrderExt.getPayTime()));
|
||||||
|
Integer monthLimit = checkLimitMap.get(tmpWares + "-" + DateUtils.parseDateToFormat(ELimitType.MONTH.getFormat(), new Date()));
|
||||||
if (null != monthLimit) {
|
if (null != monthLimit) {
|
||||||
// 月限购 + 本次购买数量
|
// 月限购 + 本次购买数量
|
||||||
monthLimit = monthLimit + limitMap.get(tmpWares);
|
monthLimit = monthLimit + limitMap.get(tmpWares);
|
||||||
|
|
Loading…
Reference in New Issue