|
@@ -36,6 +36,8 @@ public class CertJob implements JobHandler {
|
|
|
if (certExpire.isBefore(LocalDateTime.now())) {
|
|
if (certExpire.isBefore(LocalDateTime.now())) {
|
|
|
//证书已过期的话,更新expired为true
|
|
//证书已过期的话,更新expired为true
|
|
|
item.setExpired(true);
|
|
item.setExpired(true);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ item.setExpired(false);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
iotMeasureCertMapper.updateBatch(iotMeasureCertDOS);
|
|
iotMeasureCertMapper.updateBatch(iotMeasureCertDOS);
|