1.20
parent
c309b2ce34
commit
0492e0b5e3
|
@ -36,14 +36,6 @@ public class DiseaseKnowledgeController {
|
|||
List<Department> departments= diseaseKnowledgeService.findDepartment();
|
||||
return HealthR.ok(departments);
|
||||
}
|
||||
@Autowired
|
||||
private DiseaseCategoryService diseaseCategoryService;
|
||||
|
||||
@GetMapping("/findDiseaseCategory")
|
||||
public HealthR<List<DiseaseCategory>> findDiseaseCategory(@RequestParam Integer departmentId){
|
||||
List<DiseaseCategory> list=diseaseCategoryService.findDiseaseCategory(departmentId);
|
||||
return HealthR.ok(list);
|
||||
}
|
||||
|
||||
//罕见病症详情
|
||||
@GetMapping("/findDiseaseKnowledge")
|
||||
|
|
|
@ -37,6 +37,5 @@ public interface PatientMapper {
|
|||
|
||||
List<SickCircleEntity> searchSickCircle(@Param("keyWord") String keyWord);
|
||||
|
||||
List<SickCircleEntity> findPatientSickCircleList(@Param("patientUserId") Integer patientUserId);
|
||||
|
||||
}
|
||||
|
|
|
@ -14,21 +14,13 @@ import java.util.List;
|
|||
*/
|
||||
public interface PatientService {
|
||||
|
||||
|
||||
|
||||
|
||||
SickCircleEntity findSickCircleInfo(Integer id);
|
||||
|
||||
|
||||
|
||||
Result<List<SymptomEntity>> symptomList();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
HealthR<List<SickCircleEntity>> sickCircleList(Integer departmentId, Integer page, Integer count);
|
||||
|
||||
|
||||
|
|
|
@ -63,12 +63,6 @@ public class PatientServiceImpl extends BaseController implements PatientService
|
|||
return HealthR.ok(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HealthR<List<SickCircleEntity>> findPatientSickCircleList(Integer patientUserId) {
|
||||
List<SickCircleEntity> sickCircleEntity = patientMapper.findPatientSickCircleList(patientUserId);
|
||||
return HealthR.ok(sickCircleEntity);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public SickCircleEntity findSickCircleInfo(Integer id) {
|
||||
|
|
Loading…
Reference in New Issue