|
|
|
@ -1,19 +1,15 @@
|
|
|
|
|
package com.supervision.manage.controller;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import com.supervision.exception.BusinessException;
|
|
|
|
|
import com.supervision.manage.pojo.vo.DiseaseVo;
|
|
|
|
|
import com.supervision.model.DiseaseAncillary;
|
|
|
|
|
import com.supervision.model.DiseasePhysical;
|
|
|
|
|
import com.supervision.model.DiseaseQuestionRelation;
|
|
|
|
|
import com.supervision.model.DiseaseTreatmentPlan;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.concurrent.ExecutionException;
|
|
|
|
|
import java.util.concurrent.TimeoutException;
|
|
|
|
|
|
|
|
|
|
@Api(tags = "疾病管理")
|
|
|
|
|
@RestController
|
|
|
|
@ -43,7 +39,7 @@ public class DiseaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("保存体格检查信息")
|
|
|
|
|
@PostMapping("/savePhysical")
|
|
|
|
|
public String savePhysical(DiseaseVo diseaseVo) {
|
|
|
|
|
public String savePhysical(DiseasePhysical diseasePhysical) {
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
@ -51,7 +47,9 @@ public class DiseaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("分页查询疾病体格检查列表信息")
|
|
|
|
|
@GetMapping("/queryPagePhysicalList")
|
|
|
|
|
public List<DiseaseVo> queryPagePhysicalList(DiseaseVo diseaseVo) {
|
|
|
|
|
public List<DiseaseVo> queryPagePhysicalList(@RequestParam(defaultValue = "1")Integer pageNum,
|
|
|
|
|
@RequestParam(defaultValue = "1")Integer pageSize,
|
|
|
|
|
@RequestParam DiseasePhysical diseasePhysical) {
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
@ -60,7 +58,7 @@ public class DiseaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("保存辅助检查信息")
|
|
|
|
|
@GetMapping("/saveAncillary")
|
|
|
|
|
public List<DiseaseVo> saveAncillary(DiseaseVo diseaseVo) {
|
|
|
|
|
public String saveAncillary(DiseaseAncillary diseaseAncillary) {
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
@ -69,7 +67,9 @@ public class DiseaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("分页查询疾病辅助检查列表信息")
|
|
|
|
|
@GetMapping("/queryPageAncillaryList")
|
|
|
|
|
public List<DiseaseVo> queryPageAncillaryList(DiseaseVo diseaseVo) {
|
|
|
|
|
public List<DiseaseAncillary> queryPageAncillaryList(@RequestParam(defaultValue = "1") Integer pageNum,
|
|
|
|
|
@RequestParam(defaultValue = "1") Integer pageSize,
|
|
|
|
|
@RequestParam DiseaseAncillary diseaseAncillary) {
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
@ -77,7 +77,7 @@ public class DiseaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("保存问题库信息")
|
|
|
|
|
@GetMapping("/saveQuestionList")
|
|
|
|
|
public List<DiseaseVo> saveQuestionList(DiseaseVo diseaseVo) {
|
|
|
|
|
public String saveQuestionList(DiseaseQuestionRelation diseaseQuestionRelation) {
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
@ -85,7 +85,9 @@ public class DiseaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("分页查询疾病问题库信息")
|
|
|
|
|
@GetMapping("/queryPageQuestionList")
|
|
|
|
|
public List<DiseaseVo> queryPageQuestionList(DiseaseVo diseaseVo) {
|
|
|
|
|
public List<DiseaseQuestionRelation> queryPageQuestionList(@RequestParam(defaultValue = "1") Integer pageNum,
|
|
|
|
|
@RequestParam(defaultValue = "1") Integer pageSize,
|
|
|
|
|
@RequestParam DiseaseQuestionRelation diseaseQuestionRelation) {
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
@ -93,7 +95,7 @@ public class DiseaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("保存处置信息")
|
|
|
|
|
@GetMapping("/saveTreatmentPlan")
|
|
|
|
|
public List<DiseaseVo> saveTreatmentPlan(DiseaseVo diseaseVo) {
|
|
|
|
|
public String saveTreatmentPlan(DiseaseTreatmentPlan diseaseTreatmentPlan) {
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
@ -102,7 +104,9 @@ public class DiseaseController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("分页查询疾病处置信息")
|
|
|
|
|
@GetMapping("/queryPageTreatmentPlanList")
|
|
|
|
|
public List<DiseaseVo> queryPageTreatmentPlanList(DiseaseVo diseaseVo) {
|
|
|
|
|
public List<DiseaseTreatmentPlan> queryPageTreatmentPlanList(@RequestParam(defaultValue = "1") Integer pageNum,
|
|
|
|
|
@RequestParam(defaultValue = "1") Integer pageSize,
|
|
|
|
|
@RequestParam DiseaseTreatmentPlan diseaseTreatmentPlan) {
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|