修改好评人数倒序的医生信息,用List<SysDoctor>,而不是List<SysUser>
parent
61d1de2631
commit
caa57d7e52
|
@ -420,8 +420,8 @@ public class SysUserController extends BaseController
|
||||||
@PostMapping("findDoctorNumber/{medicalDepartmentId}")
|
@PostMapping("findDoctorNumber/{medicalDepartmentId}")
|
||||||
public AjaxResult findDoctorNumber(@PathVariable("medicalDepartmentId") Long medicalDepartmentId){
|
public AjaxResult findDoctorNumber(@PathVariable("medicalDepartmentId") Long medicalDepartmentId){
|
||||||
AjaxResult ajax = AjaxResult.success();
|
AjaxResult ajax = AjaxResult.success();
|
||||||
List<SysUser> sysUsers = userService.findDoctorNumber(medicalDepartmentId);
|
List<SysDoctor> sysDoctorList = userService.findDoctorNumber(medicalDepartmentId);
|
||||||
ajax.put("sysUsers",sysUsers);
|
ajax.put("sysUser",sysDoctorList);
|
||||||
return ajax;
|
return ajax;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,7 @@ public interface SysUserMapper
|
||||||
|
|
||||||
List<SysDoctor> findDoctorInformation(Long medicalDepartmentId);
|
List<SysDoctor> findDoctorInformation(Long medicalDepartmentId);
|
||||||
|
|
||||||
List<SysUser> findDoctorNumber(Long medicalDepartmentId);
|
List<SysDoctor> findDoctorNumber(Long medicalDepartmentId);
|
||||||
|
|
||||||
List<SysDoctor> findDoctorPraise(Long medicalDepartmentId);
|
List<SysDoctor> findDoctorPraise(Long medicalDepartmentId);
|
||||||
|
|
||||||
|
|
|
@ -233,7 +233,7 @@ public interface ISysUserService
|
||||||
|
|
||||||
List<SysDoctor> findDoctorInformation(Long medicalDepartmentId);
|
List<SysDoctor> findDoctorInformation(Long medicalDepartmentId);
|
||||||
|
|
||||||
List<SysUser> findDoctorNumber(Long medicalDepartmentId);
|
List<SysDoctor> findDoctorNumber(Long medicalDepartmentId);
|
||||||
|
|
||||||
List<SysDoctor> findDoctorPraise(Long medicalDepartmentId);
|
List<SysDoctor> findDoctorPraise(Long medicalDepartmentId);
|
||||||
|
|
||||||
|
|
|
@ -613,7 +613,7 @@ public class SysUserServiceImpl implements ISysUserService
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<SysUser> findDoctorNumber(Long medicalDepartmentId) {
|
public List<SysDoctor> findDoctorNumber(Long medicalDepartmentId) {
|
||||||
return userMapper.findDoctorNumber(medicalDepartmentId);
|
return userMapper.findDoctorNumber(medicalDepartmentId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue