fix bug
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ public class UnregisterUserJob implements SimpleJob {
|
||||
logger.info("开始处理页数:" + i);
|
||||
List<PageLog> list = pageLogService.listForPage(start, end, i, 1000);
|
||||
for (PageLog pageLog : list) {
|
||||
if (StringUtils.isNotBlank(pageLog.getPushClientId())
|
||||
if (StringUtils.isNotBlank(pageLog.getPushClientId()) && !pageLog.getPushClientId().equals("null")
|
||||
&& !enterpriseProductUserService.existsByPushId(pageLog.getPushClientId())
|
||||
&& !mongoTemplate.exists(Query.query(Criteria.where("pid").is(pageLog.getPushClientId())), UnregisterUser.class)) {
|
||||
UnregisterUser data = new UnregisterUser();
|
||||
|
||||
Reference in New Issue
Block a user