|
@ -139,7 +139,7 @@ public class DoctorService extends TokenService {
|
|
}
|
|
}
|
|
public Integer findDoctorCounts(String hospitalCode,String doctorName,Integer level) {
|
|
public Integer findDoctorCounts(String hospitalCode,String doctorName,Integer level) {
|
|
|
|
|
|
String sql = "select * from wlyy_doctor where del=1 and status=1 ";
|
|
|
|
|
|
String sql = "select count(*) from wlyy_doctor where del=1 and status=1 ";
|
|
List<Object> args = new ArrayList<>();
|
|
List<Object> args = new ArrayList<>();
|
|
if (!org.springframework.util.StringUtils.isEmpty(hospitalCode)) {
|
|
if (!org.springframework.util.StringUtils.isEmpty(hospitalCode)) {
|
|
sql += " and hospital = ? ";
|
|
sql += " and hospital = ? ";
|