异常消息定时任务处理修改

This commit is contained in:
cwchen 2025-11-17 16:47:34 +08:00
parent 70dcd7add5
commit f97cbcc1f4
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ public class CertificateUtil {
*/
public static ErrorInfo checkCertificateState(String endDate, String certificateType,
Long businessId, Long enterpriseId,String sourceTable) {
// 日期为空则无证件过期消息
if(StringUtils.isEmpty(endDate)){
return null;
}
// 检查证书是否过期
boolean isExpired = isCertificateExpired(endDate, certificateType);