|
@ -1782,11 +1782,11 @@ public class PatientInfoService extends BaseService {
|
|
String sql = "";
|
|
String sql = "";
|
|
List<Map<String,Object>> patientList = new ArrayList<>();
|
|
List<Map<String,Object>> patientList = new ArrayList<>();
|
|
if (isManage == 1 && level ==3){
|
|
if (isManage == 1 && level ==3){
|
|
sql = "SELECT f.patient as code,f.name,f.idcard,f.doctor_name FROM wlyy_sign_family f where LEFT(f.hospital, 6) = '"+area+"'";
|
|
|
|
|
|
sql = "SELECT f.patient as code,f.name,f.idcard,f.doctor_name FROM wlyy_sign_family f where f.status >0 and LEFT(f.hospital, 6) = '"+area+"'";
|
|
|
|
|
|
}
|
|
}
|
|
if (isManage==0 || (isManage==1 && level == 2)) {
|
|
if (isManage==0 || (isManage==1 && level == 2)) {
|
|
sql = "SELECT f.patient as code,f.name,f.idcard,f.doctor_name FROM wlyy_sign_family f where f.hospital = '" + area + "' and f.status > 0 ";
|
|
|
|
|
|
sql = "SELECT f.patient as code,f.name,f.idcard,f.doctor_name FROM wlyy_sign_family f where f.status >0 and f.hospital = '" + area + "' and f.status > 0 ";
|
|
}
|
|
}
|
|
|
|
|
|
if (!StringUtils.isEmpty(keyWord)){
|
|
if (!StringUtils.isEmpty(keyWord)){
|