|
|
|
@ -3,7 +3,9 @@ package com.ruoyi.web.controller.api;
|
|
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
|
import com.ruoyi.system.domain.THospital;
|
|
|
|
|
import com.ruoyi.system.domain.TRecord;
|
|
|
|
|
import com.ruoyi.system.service.ITHospitalService;
|
|
|
|
|
import com.ruoyi.system.service.ITRecordService;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
@ -27,6 +29,9 @@ public class AppController extends BaseController
|
|
|
|
|
@Autowired
|
|
|
|
|
private ITRecordService tRecordService;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private ITHospitalService tHospitalService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 完成AI诊断
|
|
|
|
@ -43,4 +48,10 @@ public class AppController extends BaseController
|
|
|
|
|
return toAjax(tRecordService.updateTRecord(record));
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/hospital/list")
|
|
|
|
|
public AjaxResult hospitalList() {
|
|
|
|
|
List<THospital> tHospitals = tHospitalService.selectTHospitalList(new THospital());
|
|
|
|
|
return AjaxResult.success(tHospitals);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|