|  | @ -48,8 +48,10 @@ public class CachePool {
 | 
	
		
			
				|  |  |         CacheModel model= arriveSignFamilyExpenseStatus1Map.get(date);
 | 
	
		
			
				|  |  |         if(model==null){
 | 
	
		
			
				|  |  |             model=new CacheModel();
 | 
	
		
			
				|  |  |             String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status,patient from wlyy_sign_family a where status in(1,2) and a.type =2  and expenses_status=1 and a.expenses_time< '"+date+ Constant.quota_date_last+"'" ;
 | 
	
		
			
				|  |  |             String sqlCount="select count(id) from wlyy_sign_family a where  status in(1,2) and a.type =2  and expenses_status=1 and a.expenses_time< '"+date+ Constant.quota_date_last+"'";
 | 
	
		
			
				|  |  |             String sql=" select id,code,idcard,hospital,admin_team_code,expenses_status,patient from wlyy_sign_family a " +
 | 
	
		
			
				|  |  |                     " where status in(1,2) and a.type =2  and expenses_status=1 and a.expenses_time< '"+date+ Constant.quota_date_last+"'" ;
 | 
	
		
			
				|  |  |             String sqlCount="select count(id) from wlyy_sign_family a " +
 | 
	
		
			
				|  |  |                     " where  status in(1,2) and a.type =2 and expenses_status=1 and a.expenses_time< '"+date+ Constant.quota_date_last+"'";
 | 
	
		
			
				|  |  |             //抽取數據 分页抽取
 | 
	
		
			
				|  |  |             List<SignFamily> signFamiliesTemp= SpringUtil.getBean(DBExtract.class).extractByPage(SignFamily.class,sql,sqlCount,true);
 | 
	
		
			
				|  |  |             model.setSql(sql);
 |