|
@ -1230,7 +1230,7 @@ public class YkyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO,
|
|
|
"\tbase_appointment_log where 1=1 ";
|
|
|
Map<String, Object> params = new HashedMap();
|
|
|
if (StringUtils.isNoneBlank(condition)) {
|
|
|
sql += " and (patient_card like '%" + condition + "%' OR patient_name like '%" + condition + "%' OR patient_phone like '%" + condition + "%' OR doctor_name like '%" + condition + "%' OR department_name like '%" + condition + "%') ";
|
|
|
sql += " and (consumer_doctor_name like '%" + condition + "%' OR patient_card like '%" + condition + "%' OR patient_name like '%" + condition + "%' OR patient_phone like '%" + condition + "%' OR doctor_name like '%" + condition + "%' OR department_name like '%" + condition + "%') ";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(startTime)) {
|
|
|
sql += " and service_start_date >=:startTime ";
|