[Author]: kwu
基于反射实现自动化restful开发,通用的只需要写查询数据库的sql,并加入对应的javabean实现的快速restful服务的开发。
1、编写数据库的查询sql,对应sql.properties
daily = DailyReport;select t.day,t.cnt,t.type from (select day,cnt,type From dailyreport where type=? order by day desc limit ? ) t order by t.day;String,Integer
SQL的属性文件,以";"分隔。 说明:
1)pv为该SQL的标签。