Authored by jianhui_wang

no message

... ... @@ -80,14 +80,14 @@ public class UserInfoImportServiceImpl implements IBusinessImportService {
UserRegisterBuyInfoBO UserRegisterBuyInfoBO_id = new UserRegisterBuyInfoBO();
if (userProfile == null) {
UserRegisterBuyInfoBO_id.setId(i + 1);
UserRegisterBuyInfoBO_id.setMobile(mobile==null?"":mobile);
UserRegisterBuyInfoBO_id.setMobile(mobile);
UserRegisterBuyInfoBO_id.setRegister("未注册");
UserRegisterBuyInfoBO_id.setUid(uid <= 0 ? 0 : uid);
UserRegisterBuyInfoBO_id.setRegisterTime("0");
UserRegisterBuyInfoBO_id.setBuy("未购买");
} else {
UserRegisterBuyInfoBO_id.setId(i + 1);
UserRegisterBuyInfoBO_id.setMobile(mobile!=null?mobile:userProfile.getMobile().substring(0, 3) + " **** " + userProfile.getMobile().substring(7));
UserRegisterBuyInfoBO_id.setMobile(mobile == "" ? userProfile.getMobile().substring(0, 3) + " **** " + userProfile.getMobile().substring(7):mobile);
UserRegisterBuyInfoBO_id.setRegister("已注册");
UserRegisterBuyInfoBO_id.setUid(userProfile.getUid());
UserRegisterBuyInfoBO_id.setRegisterTime(DateUtils.getDateString(userProfile.getCreateTime()));
... ... @@ -105,7 +105,7 @@ public class UserInfoImportServiceImpl implements IBusinessImportService {
String ListKey = "userRegisterBuyListKey";
/**
* 清缓存
*/
*/
redisTemplate.delete(ListKey);
redisListCache.rightPushAll(ListKey, userRegisterBuyList, 120, TimeUnit.MINUTES);
... ...
... ... @@ -45,7 +45,6 @@ public class UserRegisterBuyInfoserviceImpl implements IUserRegisterBuyInfoServi
List<UserRegisterBuyInfoBO> userInfoList = new ArrayList<>();
List<UserRegisterBuyInfoBO> getuserInfoList = new ArrayList<>();
UserRegisterBuyInfoBO UserRegisterBuyInfoBO = new UserRegisterBuyInfoBO();
//从redis获取结果数据
String ListKey = "userRegisterBuyListKey";
userInfoList = redisListCache.range(ListKey, UserRegisterBuyInfoBO.class, 0, -1);
... ... @@ -79,7 +78,6 @@ public class UserRegisterBuyInfoserviceImpl implements IUserRegisterBuyInfoServi
}
}
}
page.setPage_total(1);
page.setTotal(getuserInfoList.size());
page.setPageSize(getuserInfoList.size());
... ...