This commit is contained in:
尹吉欢
2018-05-23 18:30:46 +08:00
parent 2bf5e76478
commit 5ee124f96f
@@ -86,11 +86,11 @@ public class UserAssetsLevelJob implements SimpleJob {
} else { } else {
if(StringUtils.isNotBlank(user.getMobile())){ if(StringUtils.isNotBlank(user.getMobile())){
name = user.getMobile().replaceAll("(\\d{3})\\d{4}(\\d{4})","$1****$2"); name = user.getMobile().replaceAll("(\\d{3})\\d{4}(\\d{4})","$1****$2");
if (name.length() > 11) {
name = name.substring(0, 11);
}
} }
} }
if (name.length() > 11) {
name = name.substring(0, 11);
}
level.setName(name); level.setName(name);
Long totalMoney = houseInfoService.queryUserManagerHouseTotalPrice(1L, user.getId()+""); Long totalMoney = houseInfoService.queryUserManagerHouseTotalPrice(1L, user.getId()+"");
level.setAssets(DataUtil.getDoubleRound(0, totalMoney / 10000D)); level.setAssets(DataUtil.getDoubleRound(0, totalMoney / 10000D));