|
@ -893,7 +893,7 @@ public class BasePatientService<T, R extends CrudRepository> extends BaseJpaServ
|
|
|
"WHERE 1=1\n" +
|
|
|
"AND a.disease_condition IN('1','2','0')\n" +
|
|
|
"AND a.disease IN ('1','2','1,2','2,1')\n" +
|
|
|
"AND b.doctor_id ='"+doctorId+"'";
|
|
|
"AND b.doctor ='"+doctorId+"'";
|
|
|
List<BasePatientDO> list = jdbcTemplate.query(sql, new BeanPropertyRowMapper<>(BasePatientDO.class));
|
|
|
return list;
|
|
|
}
|