|
|
@ -197,13 +197,13 @@ public class UserBaseInfoServiceImpl extends BaseServiceImpl<UserBaseInfoDao, Us |
|
|
|
if (StringUtils.isNotBlank(baseInfo.getStreet()) && StringUtils.isNotBlank(baseInfo.getSurname())) { |
|
|
|
if ("1".equals(baseInfo.getGender())) { |
|
|
|
// 男
|
|
|
|
baseInfo.setUserShowName(baseInfo.getStreet().concat(StrConstant.HYPHEN).concat(baseInfo.getSurname().concat("先生"))); |
|
|
|
baseInfo.setUserShowName(baseInfo.getSurname().concat("先生")); |
|
|
|
} else if ("2".equals(baseInfo.getGender())) { |
|
|
|
// 女
|
|
|
|
baseInfo.setUserShowName(baseInfo.getStreet().concat(StrConstant.HYPHEN).concat(baseInfo.getSurname().concat("女士"))); |
|
|
|
baseInfo.setUserShowName(baseInfo.getSurname().concat("女士")); |
|
|
|
} else { |
|
|
|
// 0 未知
|
|
|
|
baseInfo.setUserShowName(baseInfo.getStreet().concat(StrConstant.HYPHEN).concat(baseInfo.getSurname().concat("女士/先生"))); |
|
|
|
baseInfo.setUserShowName(baseInfo.getSurname().concat("女士/先生")); |
|
|
|
} |
|
|
|
} else { |
|
|
|
// 社会为微信昵称
|
|
|
|