|
@ -7296,8 +7296,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
" t.doctor = d.id " +
|
|
|
" AND t.start_time <=:startTime" +
|
|
|
" AND t.end_time >=:endTime" +
|
|
|
" ) OR " +
|
|
|
" d.consult_status = '1') ";
|
|
|
" ) ) ";
|
|
|
params.put("startTime", date);
|
|
|
params.put("endTime", date);
|
|
|
}
|
|
@ -7378,7 +7377,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}
|
|
|
}else {
|
|
|
sql += " and d.del='1' "+groupBy+" order by workTotal DESC,consultStatus DESC ,score desc," +
|
|
|
"total " + consutlSort+",dhd.saas_id, d.job_title_code desc";
|
|
|
"total " + consutlSort+", d.job_title_code desc";
|
|
|
}
|
|
|
}
|
|
|
|