fix 83173 会员管理-新增单位后开票后--权益状态不对

This commit is contained in:
lijiarao
2024-03-28 10:19:35 +08:00
parent 959d8559e2
commit 76b6398665
@@ -675,6 +675,10 @@ public class ITbMemberProjectSubitemService extends ServiceImpl<TbMemberProjectS
private void processData(TbMemberProjectSubitem record){
Date effectiveDate = record.getEffectiveDate();
Date invalidationDate = record.getInvalidationDate();
if (effectiveDate == null){
record.setEquityStatus(INVALID);
return;
}
//如果当前日期大于失效日期,返回失效
DateTime date = DateUtil.date();
if (DateUtil.isIn(date,effectiveDate,invalidationDate)){