|
@ -1233,9 +1233,9 @@ public class RehabilitationInfoService {
|
|
|
" 0 'todayTaskCount'\n" +
|
|
|
"FROM\n" +
|
|
|
" base_patient a\n" +
|
|
|
" INNER JOIN wlyy_patient_rehabilitation_plan b ON a.id = b.patient\n" +
|
|
|
" INNER JOIN wlyy_rehabilitation_patient_info c ON c.patient = b.patient \n" +
|
|
|
" INNER JOIN base_disease_hospital d ON d.id=b.disease\n" +
|
|
|
" LEFT JOIN wlyy_patient_rehabilitation_plan b ON a.id = b.patient\n" +
|
|
|
" LEFT JOIN wlyy_rehabilitation_patient_info c ON c.patient = b.patient \n" +
|
|
|
" LEFT JOIN base_disease_hospital d ON d.id=b.disease\n" +
|
|
|
"WHERE\n" +
|
|
|
" 1 = 1 \n" +
|
|
|
" AND a.del = '1' ";
|