|
@@ -766,7 +766,7 @@ public class FinancingFromInvestorsServiceImpl extends ServiceImpl<FinancingFrom
|
|
|
FinancingFromInvestorsHistory financingFromInvestorsHistory = financingFromInvestorsHistories.get(0);
|
|
|
FinancingFromInvestorsNotice financingFromInvestorsNotice = financingFromInvestorsNoticeService.lambdaQuery().eq(FinancingFromInvestorsNotice::getFinancingFromInvestorsHistoryId, financingFromInvestorsHistory.getId()).one();
|
|
|
if(financingFromInvestorsNotice != null){
|
|
|
- if (financingFromInvestorsNotice != null && financingFromInvestorsNotice.getExpiringDate().compareTo(new Date()) < 1) {
|
|
|
+ if (financingFromInvestorsNotice != null && financingFromInvestorsNotice.getExpiringDate() != null && financingFromInvestorsNotice.getExpiringDate().compareTo(new Date()) < 1) {
|
|
|
financingFromInvestors.setCreditStatus(SmbCreditStatusEnum.STATUS_12.getCode());
|
|
|
this.updateById(financingFromInvestors);
|
|
|
}
|