|
@ -891,7 +891,6 @@ public class BasePatientService<T, R extends CrudRepository> extends BaseJpaServ
|
|
|
" base_patient a \n" +
|
|
|
" INNER JOIN wlyy_outpatient b ON a.id=b.patient\n" +
|
|
|
"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 ='"+doctorId+"'";
|
|
|
List<BasePatientDO> list = jdbcTemplate.query(sql, new BeanPropertyRowMapper<>(BasePatientDO.class));
|