|
@ -225,7 +225,7 @@ public class SecurityMonitoringOrderService extends BaseJpaService<SecurityMonit
|
|
|
sql +=" and ord.doctor = '"+serverDoctor+"' ";
|
|
|
}
|
|
|
if (StringUtils.isNotBlank(patientName)){
|
|
|
sql+=" and (ord.patient_name like '%"+patient+"%' or p.idcard='"+patient+"') ";
|
|
|
sql+=" and (ord.patient_name like '%"+patientName+"%' or p.idcard='"+patientName+"') ";
|
|
|
}
|
|
|
if (StringUtils.isNotBlank(patient)){
|
|
|
sql+=" and ord.patient='"+patient+"' ";
|