|  | @ -62,6 +62,7 @@ public class PatientLableService extends BaseJpaService<WlyyPatientLabelDO, Wlyy
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public PageEnvelop<List<Map<String,Object>>> findSignPatientLabelListByTeamCode(String teamCode, String labelCode, String name, int page, int size){
 | 
	
		
			
				|  |  |         String sql = "SELECT DISTINCT p.id,p.name,p.photo,p.idcard,p.mobile,p.openid,p.sex,p.pad_imei padImei " ;
 | 
	
		
			
				|  |  |         sql +=",(select COUNT(*) from wlyy_patient_device a where a.`user` = p.id) deviceFlag ";
 | 
	
		
			
				|  |  |         String countSql = "SELECT count(DISTINCT p.id) ";
 | 
	
		
			
				|  |  |         String filters = "from base_service_package_sign_record sr,base_service_package_record r,  " +
 | 
	
		
			
				|  |  |                 "                base_service_package_item i,base_patient p,wlyy_patient_label l " +
 |