Browse Source

修改:

1.志愿者分布参数命名调整
dev_shibei_match
wangxianzhang 4 years ago
parent
commit
b5d1790bff
  1. 2
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/VolunteerDistributionResultDTO.java
  2. 2
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/VolunteerServiceImpl.java

2
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/VolunteerDistributionResultDTO.java

@ -27,7 +27,7 @@ public class VolunteerDistributionResultDTO {
@Data @Data
public static class Distribution { public static class Distribution {
private Set<String> volunteerTypes; private Set<String> volunteerCategories;
private String epmetUserId; private String epmetUserId;
private String icResiUserId; private String icResiUserId;
private String longitude; private String longitude;

2
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/VolunteerServiceImpl.java

@ -162,7 +162,7 @@ public class VolunteerServiceImpl implements VolunteerService, ResultDataResolve
ServiceConstant.GOV_ORG_SERVER, ServiceConstant.GOV_ORG_SERVER,
EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), msg, msg); EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), msg, msg);
distribution.setVolunteerTypes(volunteerTypes); distribution.setVolunteerCategories(volunteerTypes);
distribution.setEpmetUserId(userBaseInfo.getUserId()); distribution.setEpmetUserId(userBaseInfo.getUserId());
distribution.setIcResiUserId(icResiUserInfo.getId()); distribution.setIcResiUserId(icResiUserInfo.getId());
Optional.of(building).ifPresent(b -> { Optional.of(building).ifPresent(b -> {

Loading…
Cancel
Save