|  | @ -609,7 +609,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |                 " count(1) AS \"total\" " +
 |  |                 " count(1) AS \"total\" " +
 | 
												
													
														
															|  |                 " FROM " +
 |  |                 " FROM " +
 | 
												
													
														
															|  |                 " wlyy_prescription p ";
 |  |                 " wlyy_prescription p ";
 | 
												
													
														
															|  |         totalSql += " WHERE 1=1 and p.check_status <>3 ";
 |  | 
 | 
												
													
														
															|  | 
 |  |         totalSql += " WHERE 1=1 and p.check_status <>3 and p.check_status <>4";
 | 
												
													
														
															|  |         if (StringUtils.isNotBlank(patient)) {
 |  |         if (StringUtils.isNotBlank(patient)) {
 | 
												
													
														
															|  |             totalSql += " AND p.patient_code ='" + patient + "'";
 |  |             totalSql += " AND p.patient_code ='" + patient + "'";
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
											
												
													
														
															|  | @ -8389,6 +8389,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |         WlyyPrescriptionDO wlyyPrescriptionDO = prescriptionDao.findOne(id);
 |  |         WlyyPrescriptionDO wlyyPrescriptionDO = prescriptionDao.findOne(id);
 | 
												
													
														
															|  |         if (null!=wlyyPrescriptionDO){
 |  |         if (null!=wlyyPrescriptionDO){
 | 
												
													
														
															|  |             wlyyPrescriptionDO.setCheckStatus(4);
 |  |             wlyyPrescriptionDO.setCheckStatus(4);
 | 
												
													
														
															|  | 
 |  |             wlyyPrescriptionDO.setStatus(-1);
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         wlyyPrescriptionDO =  prescriptionDao.save(wlyyPrescriptionDO);
 |  |         wlyyPrescriptionDO =  prescriptionDao.save(wlyyPrescriptionDO);
 | 
												
													
														
															|  |         return wlyyPrescriptionDO;
 |  |         return wlyyPrescriptionDO;
 |