## 订单支付时间正向、逆向处理;

This commit is contained in:
cabbage 2025-10-28 16:16:57 +08:00
parent dca8e9dc7c
commit a999161877
1 changed files with 2 additions and 0 deletions

View File

@ -1416,9 +1416,11 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
if (null == firstPayTime) {
cuMember.setPayTime(null);
cuMember.setPayStatus(EPayStatus.UNPAID.getValue());
saOrderExt.setUpdateFlag(EYesNo.YES.getIntValue());
} else {
if (firstPayTime.compareTo(cuMember.getPayTime()) < 0) {
cuMember.setPayTime(firstPayTime);
saOrderExt.setUpdateFlag(EYesNo.YES.getIntValue());
}
}
}