Browse Source

bugFix 解决提醒类型不正确的问题

xiahan 10 months ago
parent
commit
2e73ef310e

+ 2 - 1
cx-safe-check/cx-save-check-common/src/main/java/com/rongwei/sfcommon/sys/service/impl/SpecialCertificateUrgingServiceImpl.java

@@ -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) {