|
|
@ -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));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|