# Conflicts: # svr/svr-iot/src/main/java/com/yihu/iot/service/monitorPlatform/MonitorPlatformService.java
@ -1111,7 +1111,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
" base_doctor d " +
" JOIN base_doctor_hospital h ON h.doctor_code = d.id " +
" WHERE " +
" 1=1";
" 1=1 and d.del=1 ";
Map<String, Object> params = new HashedMap();
if (StringUtils.isNotBlank(dept)) {
sql += " AND h.dept_code = '" + dept + "'";