|
|
@ -199,10 +199,9 @@ public class StaffServiceImpl implements StaffService { |
|
|
|
public Result editStaffByAccount(TokenDto tokenDto, StaffSubmitAccountFromDTO fromDTO) { |
|
|
|
CustomerAgencyEntity customerAgencyEntity = customerAgencyService.selectById(fromDTO.getAgencyId()); |
|
|
|
fromDTO.setCustomerId(customerAgencyEntity.getCustomerId()); |
|
|
|
|
|
|
|
fromDTO.setApp(tokenDto.getApp()); |
|
|
|
fromDTO.setClient(tokenDto.getClient()); |
|
|
|
logger.info("获取到的参数为:"+fromDTO.toString()); |
|
|
|
|
|
|
|
Result result = epmetUserFeignClient.editStaffByAccount(fromDTO); |
|
|
|
if (!result.success()) { |
|
|
|
if (result.getCode() != EpmetErrorCode.SERVER_ERROR.getCode()) { |
|
|
|