Commit c37b3f5f by 徐高华

地区码

parent 573c6950
...@@ -450,7 +450,9 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -450,7 +450,9 @@ public class StaffApiServiceImpl implements StaffApiService {
user.setAlias(EmojiFilterUtil.removeAllEmoji(user.getAlias())); user.setAlias(EmojiFilterUtil.removeAllEmoji(user.getAlias()));
tab.setNickName((user.getAlias())); tab.setNickName((user.getAlias()));
} }
tab.setNationCode("86"); if(StringUtils.isNotBlank(tab.getPhoneNumber())){
tab.setNationCode("86");
}
tab.setSex(user.getGender() == null ? 1 : Integer.parseInt(user.getGender())); tab.setSex(user.getGender() == null ? 1 : Integer.parseInt(user.getGender()));
tab.setActiveFlag(1); tab.setActiveFlag(1);
tab.setPostion(user.getPosition()); tab.setPostion(user.getPosition());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment