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 (\n"+
" select row_number() over (partition by user_id,type,idcode,name order by updated_at desc) rn,e.* from enters e where e.is_certification = 'yes' and e.deleted_at is null and created_at"+(StringUtils.isBlank(incrDt)?"<":">=")+"curdate()\n"+