|
|
@ -221,15 +221,17 @@ public class IcResiUserImportServiceImpl implements IcResiUserImportService, Res |
|
|
|
String loginUserApp = loginUserUtil.getLoginUserApp(); |
|
|
|
String loginUserClient = loginUserUtil.getLoginUserClient(); |
|
|
|
|
|
|
|
LoginUserDetailsFormDTO userForm = new LoginUserDetailsFormDTO(); |
|
|
|
userForm.setApp(loginUserApp); |
|
|
|
userForm.setClient(loginUserClient); |
|
|
|
userForm.setUserId(loginUserId); |
|
|
|
// LoginUserDetailsFormDTO userForm = new LoginUserDetailsFormDTO();
|
|
|
|
// userForm.setApp(loginUserApp);
|
|
|
|
// userForm.setClient(loginUserClient);
|
|
|
|
// userForm.setUserId(loginUserId);
|
|
|
|
|
|
|
|
String currUserAgencyId = userService.getLoginUserDetails( |
|
|
|
loginUserUtil.getLoginUserApp(), |
|
|
|
loginUserUtil.getLoginUserClient(), |
|
|
|
loginUserUtil.getLoginUserId()).getAgencyId(); |
|
|
|
loginUserApp, |
|
|
|
loginUserClient, |
|
|
|
loginUserId).getAgencyId(); |
|
|
|
|
|
|
|
log.info("userId:{}, app:{}, client:{}, currUserAgencyId:{}", loginUserId, loginUserApp, loginUserClient, currUserAgencyId); |
|
|
|
|
|
|
|
CustomerAgencyDTO agencyInfo = getResultDataOrThrowsException(govOrgOpenFeignClient.getAgencyById(currUserAgencyId), ServiceConstant.GOV_ORG_SERVER, EpmetErrorCode.SERVER_ERROR.getCode(), null, null); |
|
|
|
String customerId = agencyInfo.getCustomerId(); |
|
|
@ -991,6 +993,8 @@ public class IcResiUserImportServiceImpl implements IcResiUserImportService, Res |
|
|
|
|
|
|
|
List<OptionResultDTO> options = null; |
|
|
|
|
|
|
|
log.info("optionsUrl:{}, currUserAgencyId:{}", pureUri, currUserAgencyId); |
|
|
|
|
|
|
|
switch (pureUri) { |
|
|
|
case "/epmetuser/icresidemanddict/demandoption": |
|
|
|
options = getResultDataOrThrowsException(epmetUserOpenFeignClient.getDemandOptions(), ServiceConstant.EPMET_USER_SERVER, |
|
|
|