|
@ -8722,11 +8722,9 @@ public class StatisticsEsService {
|
|
|
turnPersonSqlH += " and dept = '"+deptCode+"' ";
|
|
|
turnPersonSqlT += " and dept = '"+deptCode+"' ";
|
|
|
followupSqlH = "SELECT COUNT(distinct f.id) planNum from wlyy_followup f,base_doctor_hospital h " +
|
|
|
followupSqlH += "SELECT COUNT(f.id) planNum from wlyy_followup f,base_doctor_hospital h " +
|
|
|
" where f.doctor_code=h.doctor_code and h.del=1 and h.dept_code='"+deptCode+"' " +
|
|
|
" and f.followup_date >='"+period[0]+"' and f.followup_date <='"+period[1]+"' ";
|
|
|
followupSqlT = "SELECT COUNT(distinct f.id) planNum from wlyy_followup f,base_doctor_hospital h " +
|
|
|
followupSqlT += "SELECT COUNT(f.id) planNum from wlyy_followup f,base_doctor_hospital h " +
|
|
|
" where f.doctor_code=h.doctor_code and h.del=1 and h.dept_code='"+deptCode+"' " +
|
|
|
" and f.followup_date >='"+periodYear[0]+"' and f.followup_date <='"+periodYear[1]+"' ";
|
|
|
}
|