|  | @ -1114,7 +1114,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  |             List<WlyyOutpatientDO> outpatientDOS = outpatientDao.findByPatientListByStatus(patient);
 | 
	
		
			
				|  |  |             if (outpatientDOS!=null&&outpatientDOS.size()!=0){
 | 
	
		
			
				|  |  |                 WlyyOutpatientDO outpatientDO = outpatientDOS.get(0);
 | 
	
		
			
				|  |  |                 if (outpatientDO.getHisStatus()!=null&&outpatientDO.getHisStatus()!=1){
 | 
	
		
			
				|  |  |                 if (outpatientDO.getHisStatus()!=null&&(outpatientDO.getHisStatus()!=1||outpatientDO.getHisStatus()!=-1)){
 | 
	
		
			
				|  |  |                     rs.put("outpatient", outpatientDO);
 | 
	
		
			
				|  |  |                     rs.put("code", -3);
 | 
	
		
			
				|  |  |                     rs.put("mes", "您上一次就诊未结算,请结算后才能发起复诊。");
 |