StringsqlCount="select count(1) from user_collections where type='TICKET' and status=1 and content_id>=5722";
StringsqlCount="select count(1) from user_collections where type='TICKET' and status=1 and content_id>=5722 and created_at"+(StringUtils.isBlank(incrDt)?"<":">=")+"curdate()";
StringsqlCount="select count(1) from enters where (type <> 1 or (type = 1 and is_certification = 'yes'))";
StringsqlCount="select count(1) from enters where (type <> 1 or (type = 1 and is_certification = 'yes')) and created_at"+(StringUtils.isBlank(incrDt)?"<":">=")+"curdate()";
StringsqlCount="select count(1) from user_real_name where 1=1";
StringsqlCount="select count(1) from user_real_name where id not in (9145,7456,7448,7197,7194,4137,4138,4139,269,261,262,263,264,265,266,267,251) and created_at"+(StringUtils.isBlank(incrDt)?"<":">=")+"curdate()";
@@ -37,8 +38,8 @@ public class DMThirdPartsProcessor extends DataMigrationProcessorService {
}
StringsqlCount="select count(1) from (\n"+
" select row_number() over (partition by uid,type order by created_at desc) rn,uid,open_id,avatar,nickname,type,created_at,updated_at from user_third_parts where `status`=1 and delete_tag in (0,1) and open_id<>'' and uid>0\n"+
" ) t where t.rn = 1";
" select row_number() over (partition by uid,type order by created_at desc) rn,id,uid,open_id,avatar,nickname,type,created_at,updated_at from user_third_parts where `status`=1 and delete_tag in (0,1) and open_id<>'' and uid>0 and created_at"+(StringUtils.isBlank(incrDt)?"<":">=")+"curdate()\n"+
StringsqlCount="select count(1) from users where delete_tag in (0,1) and length(mobile)=11 ";
StringsqlCount="select count(1) from users where delete_tag in (0,1) and length(mobile)=11 and created_at"+(StringUtils.isBlank(incrDt)?"<":">=")+"curdate()";