|  | @ -137,21 +137,25 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         QuartzJobLog quartzJobLog =new QuartzJobLog();
 | 
	
		
			
				|  |  |         quartzJobLog.setJobStartTime(new Date());
 | 
	
		
			
				|  |  |         allContent=new StringBuffer();
 | 
	
		
			
				|  |  |         computequota_1(); //统计今天的签约
 | 
	
		
			
				|  |  |         //找出今天的签约信息 yesterday,now
 | 
	
		
			
				|  |  |         String sql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2 and status in (1,2) and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |         //抽取數據
 | 
	
		
			
				|  |  |         List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |         computequota_1(sql,signFamilies); //统计今天的签约
 | 
	
		
			
				|  |  |         computequota_2(); //统计今天的解约
 | 
	
		
			
				|  |  |         computequota_3(); //统计今天的健康咨询量
 | 
	
		
			
				|  |  |         computequota_4(); //统计今天的随访量
 | 
	
		
			
				|  |  |         computequota_5(); //统计今天的健康指导
 | 
	
		
			
				|  |  |         computequota_6(); //统计今天的签约患者性别
 | 
	
		
			
				|  |  |         computequota_7();//统计今天的签约患者分组
 | 
	
		
			
				|  |  |         computequota_8();//统计今天的签约患者年龄
 | 
	
		
			
				|  |  |         computequota_6(sql,signFamilies); //统计今天的签约患者性别
 | 
	
		
			
				|  |  |         computequota_7(sql,signFamilies);//统计今天的签约患者分组
 | 
	
		
			
				|  |  |         computequota_8(sql,signFamilies);//统计今天的签约患者年龄
 | 
	
		
			
				|  |  |         computequota_9();//统计今天的待签约
 | 
	
		
			
				|  |  |         computequota_10();//统计今天的改签
 | 
	
		
			
				|  |  |         computequota_12();//统计今天的签约下按年龄分组后再
 | 
	
		
			
				|  |  |         computequota_13();//统计今天的签约量
 | 
	
		
			
				|  |  |         computequota_14();//统计今天的签约数的扣费钱情况
 | 
	
		
			
				|  |  |         computequota_15();//统计今天的健康分布统计
 | 
	
		
			
				|  |  |         computequota_16();//统计今天的签约费用统计
 | 
	
		
			
				|  |  |         computequota_12(sql,signFamilies);//统计今天的签约下按年龄分组后再
 | 
	
		
			
				|  |  |         computequota_13(sql,signFamilies);//统计今天的签约量
 | 
	
		
			
				|  |  |         computequota_14(sql,signFamilies);//统计今天的签约数的扣费钱情况
 | 
	
		
			
				|  |  |         computequota_15(sql,signFamilies);//统计今天的健康分布统计
 | 
	
		
			
				|  |  |         computequota_16(sql,signFamilies);//统计今天的签约费用统计
 | 
	
		
			
				|  |  |         quartzJobLog.setJobContent(allContent.toString());
 | 
	
		
			
				|  |  |         quartzJobLog.setJobName("实时统计");
 | 
	
		
			
				|  |  |         quartzJobLog.setJobId("11");
 | 
	
	
		
			
				|  | @ -160,17 +164,17 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         quartzJobLogDao.save(quartzJobLog);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     private void computequota_14() {
 | 
	
		
			
				|  |  |     private void computequota_14(String sql,List<SignFamily> signFamilies_1) {
 | 
	
		
			
				|  |  |         String quotaId="14";
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |             //找出今天的签约信息
 | 
	
		
			
				|  |  |             String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and expenses_status=1 and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             String sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2 and expenses_status=1 and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             //String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and expenses_status=1 and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             //String sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2 and expenses_status=1 and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             //抽取數據 expensesStatus=1
 | 
	
		
			
				|  |  |             List<SignFamily> signFamilies_1= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |            // List<SignFamily> signFamilies_1= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |             //抽取第二种条件的语句
 | 
	
		
			
				|  |  |             sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and (expenses_status !=1 or expenses_status is null) and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2 and (expenses_status !=1 or expenses_status is null) and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |              sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and (expenses_status !=1 or expenses_status is null) and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             String sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2 and (expenses_status !=1 or expenses_status is null) and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             List<SignFamily> signFamilies_2= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |             //抽取的语句
 | 
	
		
			
				|  |  |             sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2  and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
	
		
			
				|  | @ -191,14 +195,14 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         allContent.append("-----------14----------");
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     private void computequota_13() {
 | 
	
		
			
				|  |  |     private void computequota_13(String sql,List<SignFamily> signFamilies) {
 | 
	
		
			
				|  |  |         //找出今天的签约信息 yesterday,now
 | 
	
		
			
				|  |  |         String sql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2  and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |         //String sql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2  and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |         String sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2  and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |            //抽取數據 分页抽取
 | 
	
		
			
				|  |  |            List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |            //List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |            //清洗數據
 | 
	
		
			
				|  |  |            FilterModel etlModels= SpringUtil.getBean(SignDataFilter.class).filter(signFamilies,sql,null);
 | 
	
		
			
				|  |  |            //统计数据
 | 
	
	
		
			
				|  | @ -221,18 +225,18 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         allContent.append("-----------13----------");
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     private void computequota_16() {
 | 
	
		
			
				|  |  |     private void computequota_16(String sql,List<SignFamily> signFamilies_1) {
 | 
	
		
			
				|  |  |         String quotaId="16";
 | 
	
		
			
				|  |  |         //找出今天的签约信息
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |             //找出今天的签约信息
 | 
	
		
			
				|  |  |             String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and expenses_status=1 and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             String sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2 and expenses_status=1 and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             //String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and expenses_status=1 and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |            // String sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2 and expenses_status=1 and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             //抽取數據 expensesStatus=1
 | 
	
		
			
				|  |  |             List<SignFamily> signFamilies_1= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |            // List<SignFamily> signFamilies_1= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |             //抽取第二种条件的语句
 | 
	
		
			
				|  |  |             sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and (expenses_status !=1 or expenses_status is null) and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2 and (expenses_status !=1 or expenses_status is null) and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |              sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and (expenses_status !=1 or expenses_status is null) and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             String sqlCount=" select count(id) from wlyy_sign_family a where  a.type =2 and (expenses_status !=1 or expenses_status is null) and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
		
			
				|  |  |             List<SignFamily> signFamilies_2= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |             //抽取的语句
 | 
	
		
			
				|  |  |             sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2  and  a.apply_date>= '"+now+"' and  a.apply_date< '"+tomorrow+"' ";
 | 
	
	
		
			
				|  | @ -253,13 +257,13 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         allContent.append("-----------16----------");
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     private void computequota_15() {
 | 
	
		
			
				|  |  |     private void computequota_15(String sql,List<SignFamily> signFamilies) {
 | 
	
		
			
				|  |  |         String quotaId="15";
 | 
	
		
			
				|  |  |         //找出今天的签约信息
 | 
	
		
			
				|  |  |         String sql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2 and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |         //String sql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2 and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |        try{
 | 
	
		
			
				|  |  |            //抽取數據
 | 
	
		
			
				|  |  |            List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |           // List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |            //清洗數據
 | 
	
		
			
				|  |  |            FilterModel etlModels= SpringUtil.getBean(SignDataFilter.class).filter(signFamilies, SignDataFilter.level2Health,sql,null);
 | 
	
		
			
				|  |  |            //统计数据 一级维度
 | 
	
	
		
			
				|  | @ -286,15 +290,15 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         allContent.append("-----------15----------");
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     private void computequota_12() throws Exception{
 | 
	
		
			
				|  |  |     private void computequota_12(String sql,List<SignFamily> signFamilies) throws Exception{
 | 
	
		
			
				|  |  |         String quotaId="12";
 | 
	
		
			
				|  |  |         //找出今天的签约信息
 | 
	
		
			
				|  |  |         String sql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2 and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |         //String sql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2 and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |         String deleteSql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2 and  a.czrq>= '"+now+"' and  a.czrq< '"+tomorrow+"' and a.expenses_status=3  ";
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |              //抽取數據
 | 
	
		
			
				|  |  |             List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |            // List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |             //清洗數據
 | 
	
		
			
				|  |  |             FilterModel etlModels= SpringUtil.getBean(SignDataFilter.class).filter(signFamilies,SignDataFilter.level2Age,SignDataFilter.level3Disease,sql,null);
 | 
	
		
			
				|  |  |             //统计数据 一级维度
 | 
	
	
		
			
				|  | @ -349,12 +353,8 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |             rootMap.put(rootKey, groupMapTemp2);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  |     private void computequota_1() {
 | 
	
		
			
				|  |  |     private void computequota_1(String sql,List<SignFamily> signFamilies) {
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |             //找出今天的签约信息 yesterday,now
 | 
	
		
			
				|  |  |             String sql=" select id,code,idcard,hospital,admin_team_code from wlyy_sign_family a where  a.type =2 and status in (1,2) and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |             //抽取數據
 | 
	
		
			
				|  |  |             List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |             //清洗數據
 | 
	
		
			
				|  |  |             FilterModel etlModels= SpringUtil.getBean(SignDataFilter.class).filter(signFamilies,sql,"now");
 | 
	
		
			
				|  |  |             //统计数据
 | 
	
	
		
			
				|  | @ -462,13 +462,13 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         allContent.append("-----------5----------");
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     private void computequota_6() throws Exception {
 | 
	
		
			
				|  |  |     private void computequota_6(String sql,List<SignFamily> signFamilies) throws Exception {
 | 
	
		
			
				|  |  |         String quotaId="6";
 | 
	
		
			
				|  |  |         //找出今天的签约信息
 | 
	
		
			
				|  |  |         String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |       //  String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |        try{
 | 
	
		
			
				|  |  |            //抽取數據
 | 
	
		
			
				|  |  |            List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |            //List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |            //清洗數據
 | 
	
		
			
				|  |  |            FilterModel etlModels= SpringUtil.getBean(SignDataFilter.class).filter(signFamilies,SignDataFilter.level2Sex,sql,null);
 | 
	
		
			
				|  |  |            //统计数据 1级维度
 | 
	
	
		
			
				|  | @ -495,12 +495,12 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         allContent.append("-----------6----------");
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     private void computequota_7() {
 | 
	
		
			
				|  |  |     private void computequota_7(String sql,List<SignFamily> signFamilies) {
 | 
	
		
			
				|  |  |         String quotaId="7";
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |             String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |           //  String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2 and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |             //抽取數據
 | 
	
		
			
				|  |  |             List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |             //List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |             //清洗數據
 | 
	
		
			
				|  |  |             FilterModel etlModels= SpringUtil.getBean(SignDataFilter.class).filter(signFamilies,SignDataFilter.level2Group,sql,null);
 | 
	
		
			
				|  |  |             //统计数据 1级维度
 | 
	
	
		
			
				|  | @ -518,7 +518,7 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |             //统计数据 二级维度
 | 
	
		
			
				|  |  |             List<Map<String, Map<String, List<ETLModel>>>>  deleteLevel2Data= level2Role.elt(deleteReturnDatas);;
 | 
	
		
			
				|  |  |             //保存数据 1 表示:从1开始循环 6表示:循环6次 3表示 2级维度是 3
 | 
	
		
			
				|  |  |             redisStorage.saveByLevel2(level2Data,deleteLevel2Data,quotaId,7,3);
 | 
	
		
			
				|  |  |             redisStorage.saveByLevel2(level2Data,deleteLevel2Data,quotaId,6,3,-1);
 | 
	
		
			
				|  |  |             allContent.append(etlModels.getMessage());
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             e.printStackTrace();
 | 
	
	
		
			
				|  | @ -527,13 +527,13 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |         allContent.append("----------7-----------");
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     private void computequota_8()throws Exception {
 | 
	
		
			
				|  |  |     private void computequota_8(String sql,List<SignFamily> signFamilies)throws Exception {
 | 
	
		
			
				|  |  |         String quotaId="8";
 | 
	
		
			
				|  |  |         try{
 | 
	
		
			
				|  |  |             //找出今天的签约信息
 | 
	
		
			
				|  |  |             String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2  and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |            // String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status from wlyy_sign_family a where  a.type =2  and  a.expenses_time>= '"+now+"' and  a.expenses_time< '"+tomorrow+"' and a.expenses_status=1 ";
 | 
	
		
			
				|  |  |             //抽取數據
 | 
	
		
			
				|  |  |             List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |            // List<SignFamily> signFamilies= SpringUtil.getBean(DBExtract.class).extract(SignFamily.class,sql);
 | 
	
		
			
				|  |  |             //清洗數據
 | 
	
		
			
				|  |  |             FilterModel etlModels= SpringUtil.getBean(SignDataFilter.class).filter(signFamilies,SignDataFilter.level2Age,sql,null);
 | 
	
		
			
				|  |  |             //统计数据 1级维度
 |