| 
					
				 | 
			
			
				@ -677,7 +677,18 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONArray findPatientCard(String patient)throws Exception{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        BasePatientDO patientDO = basePatientDao.findById(patient); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return entranceService.BS15018(patientDO.getIdcard(),null,demoFlag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONArray res = entranceService.BS15018(patientDO.getIdcard(),null,demoFlag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONArray rs = new JSONArray(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if(res !=null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            for (int i =0;i<res.size();i++){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                JSONObject card = res.getJSONObject(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                String cardStat = card.getString("CARD_STAT"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                if("激活".equals(cardStat)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    rs.add(card); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return rs; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 |