|
@@ -128,7 +128,7 @@ public class RateService {
|
|
|
.collect(Collectors.joining(","));
|
|
.collect(Collectors.joining(","));
|
|
|
String message1 = "您于" + dtf.format(LocalDateTime.now()) + ",收到" + rate.getDistrict() + "上报的承办单位等级评定申请。";
|
|
String message1 = "您于" + dtf.format(LocalDateTime.now()) + ",收到" + rate.getDistrict() + "上报的承办单位等级评定申请。";
|
|
|
njwlSmsService.sendSms(phone1, message1);
|
|
njwlSmsService.sendSms(phone1, message1);
|
|
|
- } else {
|
|
|
|
|
|
|
+ } else if (RateStatus.REVIEW_DENY.equals(status)) {
|
|
|
String phone = userRepo.findAllByDistrictAndAuthoritiesContainsAndDelFalse(rate.getDistrict(), Authority.get(AuthorityName.ROLE_DISTRICT_STAFF))
|
|
String phone = userRepo.findAllByDistrictAndAuthoritiesContainsAndDelFalse(rate.getDistrict(), Authority.get(AuthorityName.ROLE_DISTRICT_STAFF))
|
|
|
.stream()
|
|
.stream()
|
|
|
.map(User::getPhone)
|
|
.map(User::getPhone)
|