This commit is contained in:
cun-nan 2024-09-10 08:40:49 +08:00
parent 7532c12f3d
commit 02c2a664a1

View File

@ -181,6 +181,7 @@ public class PaymentRuleConfigServiceImpl extends ServiceImpl<PaymentRuleConfigM
PaymentRuleConfig paymentRuleConfig1 = baseMapper.selectOne(queryWrapper1);
for (PaymentRuleConfig paymentRuleConfig : list) {
if (ObjectUtil.isNotEmpty(paymentRuleConfig.getStartTime()) && paymentRuleConfig.getStartTime().before(new Date())
&& ObjectUtil.isNotEmpty(paymentRuleConfig1)
&& ObjectUtil.isNotEmpty(paymentRuleConfig1.getUpdateTime())
&& paymentRuleConfig.getStartTime().before(paymentRuleConfig1.getUpdateTime())) {
int i = 1;