|
@@ -281,11 +281,12 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
|
|
CompanyAuthentication companyAuthentication = new CompanyAuthentication();
|
|
CompanyAuthentication companyAuthentication = new CompanyAuthentication();
|
|
|
companyAuthentication.setUserId(Integer.parseInt(userId));
|
|
companyAuthentication.setUserId(Integer.parseInt(userId));
|
|
|
List<CompanyAuthentication> companyAuthenticationList = companyAuthenticationMapper.getEnterpriseList(companyAuthentication);
|
|
List<CompanyAuthentication> companyAuthenticationList = companyAuthenticationMapper.getEnterpriseList(companyAuthentication);
|
|
|
|
|
+ CompanyAuthentication companyAuthentication1 = new CompanyAuthentication();
|
|
|
if (companyAuthenticationList.size() > 0) {
|
|
if (companyAuthenticationList.size() > 0) {
|
|
|
- companyAuthentication = companyAuthenticationList.get(0);
|
|
|
|
|
|
|
+ companyAuthentication1 = companyAuthenticationList.get(0);
|
|
|
}
|
|
}
|
|
|
returnMap.put("userInfo", user);
|
|
returnMap.put("userInfo", user);
|
|
|
- returnMap.put("companyAuthentication", companyAuthentication);
|
|
|
|
|
|
|
+ returnMap.put("companyAuthentication", companyAuthentication1);
|
|
|
} else {
|
|
} else {
|
|
|
returnMap.put("success", "1004");
|
|
returnMap.put("success", "1004");
|
|
|
}
|
|
}
|