## Fix - 月限购验证时间由(支付时间)调整为(当前时间)[验证在下单前,还没有支付时间]
This commit is contained in:
parent
805e1f13f1
commit
5a36818b66
|
@ -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) {
|
||||
// 月限购 + 本次购买数量
|
||||
monthLimit = monthLimit + limitMap.get(tmpWares);
|
||||
|
|
Loading…
Reference in New Issue