|
|
@@ -472,7 +472,7 @@ public class RateService {
|
|
|
.stream()
|
|
|
.collect(Collectors.toMap(User::getId, user -> user));
|
|
|
if (!rate.isChange()) {
|
|
|
- Organization organization = organizationRepo.findById(rate.getId()).orElseThrow(new BusinessException("无记录"));
|
|
|
+ Organization organization = organizationRepo.findById(rate.getOrganizationId()).orElseThrow(new BusinessException("无记录"));
|
|
|
rate.setAddress(organization.getAddress());
|
|
|
}
|
|
|
|