|
@ -765,7 +765,7 @@ public class DoctorInfoService extends BaseService {
|
|
args = new Object[]{dept, hospital};
|
|
args = new Object[]{dept, hospital};
|
|
}
|
|
}
|
|
|
|
|
|
List<Doctor> doctors = jdbcTemplate.query(sql, args, new BeanPropertyRowMapper<Doctor>(Doctor.class));
|
|
|
|
|
|
List<Doctor> doctors = jdbcTemplate.query(sql, args, new BeanPropertyRowMapper(Doctor.class));
|
|
JSONArray workingDoctor = new JSONArray();
|
|
JSONArray workingDoctor = new JSONArray();
|
|
if (doctors.size() > 0) {
|
|
if (doctors.size() > 0) {
|
|
for (Doctor doc : doctors) {
|
|
for (Doctor doc : doctors) {
|