|
|
|
@ -389,12 +389,7 @@ public class UserInfoServiceImpl implements UserInfoService { |
|
|
|
|
if (StringUtils.isNotBlank(result)) { |
|
|
|
|
JSONObject jsonObject = JSON.parseObject(result); |
|
|
|
|
if (!jsonObject.isEmpty() && ConfigureConstant.STRING_0000.equals(jsonObject.get(OrderManagementConstant.CODE))) { |
|
|
|
|
log.info("用户信息json:{}", jsonObject.toJSONString()); |
|
|
|
|
log.info("用户信息json enterpriseNumbers:{}", jsonObject.getJSONObject(OrderManagementConstant.DATA).getString("enterpriseNumbers")); |
|
|
|
|
DeptEntity deptEntity = JsonUtils.getInstance().parseObject(jsonObject.getString(OrderManagementConstant.DATA), DeptEntity.class); |
|
|
|
|
log.info("用户信息deptEntity:{}", JSONObject.toJSONString(deptEntity)); |
|
|
|
|
deptEntity.setEnterpriseNumbers(jsonObject.getJSONObject(OrderManagementConstant.DATA).getString("enterpriseNumbers")); |
|
|
|
|
return deptEntity; |
|
|
|
|
return JsonUtils.getInstance().parseObject(jsonObject.getString(OrderManagementConstant.DATA), DeptEntity.class); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
@ -468,6 +463,7 @@ public class UserInfoServiceImpl implements UserInfoService { |
|
|
|
|
deptEntityNew.setTaxpayerAccount(groupManagementEntity.getXhfZh()); |
|
|
|
|
deptEntityNew.setInvoiceName(groupManagementEntity.getXhfMc()); |
|
|
|
|
deptEntityNew.setInvoiceNsrsbh(groupManagementEntity.getXhfNsrsbh()); |
|
|
|
|
deptEntityNew.setEnterpriseNumbers(deptEntity.getEnterpriseNumbers()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return deptEntityNew; |
|
|
|
|