健康咨询大屏接口
This commit is contained in:
+16
@@ -74,6 +74,22 @@ public class ConScreenApiController {
|
|||||||
return Result.OK(pageList);
|
return Result.OK(pageList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "查询全部入驻专家", description = "查询全部入驻专家")
|
||||||
|
@GetMapping("/queryDocList")
|
||||||
|
public Result<List<ConDoctorVO>> queryAllDocList() {
|
||||||
|
ConDoctorDTO dto = new ConDoctorDTO();
|
||||||
|
dto.setPageNo(1);
|
||||||
|
dto.setPageSize(1000);//懒得重写了,这里复用分页查询,专家数应该不会超过1000
|
||||||
|
Page<ConDoctor> page = new Page<>(dto.getPageNo(), dto.getPageSize());
|
||||||
|
dto.setDoctorTitle("2");//主任医师
|
||||||
|
dto.setDoctorStatus("1");//有效
|
||||||
|
IPage<ConDoctorVO> pageList = conDoctorService.queryPageList(page, dto);
|
||||||
|
if(!CollectionUtils.isEmpty(pageList.getRecords())){
|
||||||
|
return Result.OK(pageList.getRecords());
|
||||||
|
}
|
||||||
|
return Result.OK();
|
||||||
|
}
|
||||||
|
|
||||||
@Operation(summary = "医院专家数量统计", description = "医院专家数量统计")
|
@Operation(summary = "医院专家数量统计", description = "医院专家数量统计")
|
||||||
@GetMapping("/queryDocCountStat")
|
@GetMapping("/queryDocCountStat")
|
||||||
public Result<?> queryDocCountStat() {
|
public Result<?> queryDocCountStat() {
|
||||||
|
|||||||
Reference in New Issue
Block a user