" select count(*) value, max(tbrq) latestUpdateDate from ${table} t "+
"</script")
"</script>")
List<RecExcel>getRecAll1(Stringtable);
@Select("<script>"+
" select count(*) value, max(t.tbrq) latestUpdateDate from ${table} t, ${table}_D d where t.recordid=d.recordid"+
"</script")
"</script>")
List<RecExcel>getRecAll2(Stringtable);
@Select("<script>"+
" "+
"</script")
@Select("select count(*), tbrq from (select TO_CHAR(t.tbrq,'yyyy-MM') tbrq from ${table} t)a group by tbrq ")
List<RecExcel>getRecMon1(Stringtable);
@Select("<script>"+
" "+
"</script")
@Select("select count(*), tbrq from (select TO_CHAR(t.tbrq,'yyyy-MM') tbrq from ${table} t,${table}_D d where t.recordid=d.recordid)a group by tbrq")
List<RecExcel>getRecMon2(Stringtable);
@Select("<script>"+
" "+
"</script")
@Select("select count(*), tbrq from (select TO_CHAR(t.tbrq,'yyyy-MM-dd') tbrq from ${table} t where t.tbrq>= to_char(now() - interval '30' day,'yyyy-MM-dd') and t.tbrq < to_char(now(),'yyyy-MM-dd'))a group by tbrq")
List<RecExcel>getRecDay1(Stringtable);
@Select("<script>"+
" "+
"</script")
@Select("select count(*), tbrq from (select TO_CHAR(t.tbrq,'yyyy-MM-dd') tbrq from ${table} t,${table}_D d where t.recordid=d.recordid and t.tbrq>= to_char(now() - interval '30' day,'yyyy-MM-dd') and t.tbrq < to_char(now(),'yyyy-MM-dd'))a group by tbrq")