app患者信息相关接口

master
gongzhenkun 2 years ago
parent 5bfe6a88a8
commit dd9c9b1ace

@ -4,6 +4,7 @@ import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.*; import com.ruoyi.system.domain.*;
import com.ruoyi.system.domain.req.TRecordResultReq;
import com.ruoyi.system.service.*; import com.ruoyi.system.service.*;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
@ -160,4 +161,44 @@ public class AppController extends BaseController
List<TRecord> tRecords = tRecordService.queryRecordListByPHDids(tPatientHospitalDoctor); List<TRecord> tRecords = tRecordService.queryRecordListByPHDids(tPatientHospitalDoctor);
return AjaxResult.success(tRecords); return AjaxResult.success(tRecords);
} }
/**
*
*
* @param id id
* @return {@code AjaxResult}
*/
@ApiOperation("患者诊断记录信息详情")
@GetMapping("/diagnosisOfRecordDetails")
public AjaxResult patientsWithDiagnosisOfRecordInformationDetails(Long id) {
return AjaxResult.success(tRecordService.selectById(id));
}
/**
*
*
* @param recordResultReq
* @return {@code AjaxResult}
*/
@ApiOperation("患者已诊列表")
@GetMapping("/patientsDiagnosedList")
public AjaxResult patientsDiagnosedList(TRecordResultReq recordResultReq) {
recordResultReq.setStatus("0");
return AjaxResult.success(tRecordService.selectTRecordListWithoutResult(recordResultReq));
}
/**
*
*
* @param recordResultReq
* @return {@code AjaxResult}
*/
@ApiOperation("患者候诊列表")
@GetMapping("/patientsWaitingList")
public AjaxResult patientsWaitingList(TRecordResultReq recordResultReq) {
recordResultReq.setStatus("2");
return AjaxResult.success(tRecordService.selectTRecordListWithoutResult(recordResultReq));
}
} }

Loading…
Cancel
Save