|
@ -117,7 +117,7 @@ public class StatisticsEsService {
|
|
}else if (level==5){
|
|
}else if (level==5){
|
|
sql += " and o.doctor IN (SELECT doctor_code FROM `base_doctor_hospital` dh where dh.dept_code ='"+area+"' and dh.del=1)";
|
|
sql += " and o.doctor IN (SELECT doctor_code FROM `base_doctor_hospital` dh where dh.dept_code ='"+area+"' and dh.del=1)";
|
|
}else if (level==6){
|
|
}else if (level==6){
|
|
sql +=" and o.doctor='"+area+"' and o.job_title_code in ";
|
|
|
|
|
|
sql +=" and o.doctor='"+area+"'";
|
|
}
|
|
}
|
|
List<Map<String,Object>> rstotal = jdbcTemplate.queryForList(sql);
|
|
List<Map<String,Object>> rstotal = jdbcTemplate.queryForList(sql);
|
|
Long count = 0L;
|
|
Long count = 0L;
|