|
@@ -25,6 +25,7 @@ import static com.rongwei.safecommon.utils.SaveConstans.NotifyContent.PERSONNEL_
|
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyContent.SAFETY_ATTACHMENT_VERIFICATION_URGING_CONTENT;
|
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyTitle.PERSONNEL_CERTIFICATES_URGING_TITLE;
|
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyTitle.SAFETY_ATTACHMENT_VERIFICATION_URGING_TITLE;
|
|
|
+import static com.rongwei.safecommon.utils.SaveConstans.NotifyType.PERSONNEL_CERTIFICATES;
|
|
|
import static com.rongwei.safecommon.utils.SaveConstans.NotifyType.SPECIALEQUIPMENT;
|
|
|
|
|
|
/**
|
|
@@ -71,7 +72,7 @@ public class SpecialCertificateUrgingServiceImpl implements UrgingService {
|
|
|
aspSpecialEquipmentCertificateDos.size())
|
|
|
, userInfo.stream().map(UserMailOrgVo::getId).collect(Collectors.toList()),
|
|
|
aspSpecialEquipmentCertificateDos.stream().map(AspSpecialEquipmentCertificateDo::getId).collect(Collectors.joining(","))
|
|
|
- , SPECIALEQUIPMENT);
|
|
|
+ , PERSONNEL_CERTIFICATES);
|
|
|
// 收件箱
|
|
|
String[] array = userInfo.stream().map(UserMailOrgVo::getEmail).filter(StringUtils::isNotBlank).toArray(String[]::new);
|
|
|
if (array.length == 0) {
|