|  | @ -452,7 +452,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         Long count = 0L;
 | 
	
		
			
				|  |  |         if (rstotal != null && rstotal.size() > 0) {
 | 
	
		
			
				|  |  |             count = (Long) rstotal.get(0).get("total");
 | 
	
		
			
				|  |  |             count = Long.parseLong(rstotal.get(0).get("total").toString());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         String sql ="SELECT " +
 | 
	
	
		
			
				|  | @ -4606,7 +4606,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |         Long totalsqlAll = 0l;
 | 
	
		
			
				|  |  |         if (alltotal != null && alltotal.size() > 0) {
 | 
	
		
			
				|  |  |             totalsqlAll = (Long) alltotal.get(0).get("total");
 | 
	
		
			
				|  |  |             totalsqlAll = Long.parseLong(alltotal.get(0).get("total").toString());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |         object.put("all",totalsqlAll);
 | 
	
	
		
			
				|  | @ -4625,7 +4625,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |         Long twCount = 0l;
 | 
	
		
			
				|  |  |         if (imgtotal != null && imgtotal.size() > 0) {
 | 
	
		
			
				|  |  |             twCount = (Long) imgtotal.get(0).get("total");
 | 
	
		
			
				|  |  |             twCount = Long.parseLong(imgtotal.get(0).get("total").toString());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |         object.put("twCount",twCount);
 | 
	
	
		
			
				|  | @ -4644,7 +4644,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |         Long spcount = 0l;
 | 
	
		
			
				|  |  |         if (sptotal != null && sptotal.size() > 0) {
 | 
	
		
			
				|  |  |             spcount = (Long) sptotal.get(0).get("total");
 | 
	
		
			
				|  |  |             spcount = Long.parseLong(sptotal.get(0).get("total").toString());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |         object.put("spCount",spcount);
 | 
	
	
		
			
				|  | @ -4664,7 +4664,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |         Long xtcount = 0l;
 | 
	
		
			
				|  |  |         if (xttotal != null && xttotal.size() > 0) {
 | 
	
		
			
				|  |  |             xtcount = (Long) xttotal.get(0).get("total");
 | 
	
		
			
				|  |  |             xtcount = Long.parseLong(xttotal.get(0).get("total").toString());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     
 | 
	
		
			
				|  |  |         object.put("xtCount",xtcount);
 |