|
|
|
@ -3,6 +3,7 @@ package com.supervision.manage.controller.diseasemanage;
|
|
|
|
|
|
|
|
|
|
import com.supervision.manage.service.DiseasePhysicalManageService;
|
|
|
|
|
import com.supervision.vo.manage.DiseasePhysicalLocationNodeVo;
|
|
|
|
|
import com.supervision.vo.manage.DiseasePhysicalReqVo;
|
|
|
|
|
import com.supervision.vo.manage.DiseasePhysicalResVo;
|
|
|
|
|
import com.supervision.model.DiseasePhysical;
|
|
|
|
|
import com.supervision.vo.manage.PhysicalLocationNode;
|
|
|
|
@ -24,8 +25,9 @@ public class DiseasePhysicalManageController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("新增体格检查信息")
|
|
|
|
|
@PostMapping("/save")
|
|
|
|
|
public String savePhysical(@RequestBody DiseasePhysical diseasePhysical) {
|
|
|
|
|
public String savePhysical(@RequestBody DiseasePhysicalReqVo diseasePhysical) {
|
|
|
|
|
|
|
|
|
|
diseasePhysical.dispersedDiagnosticCriteria();
|
|
|
|
|
DiseasePhysical result = diseasePhysicalManageService.savePhysical(diseasePhysical);
|
|
|
|
|
return result.getId();
|
|
|
|
|
}
|
|
|
|
@ -40,15 +42,16 @@ public class DiseasePhysicalManageController {
|
|
|
|
|
|
|
|
|
|
@ApiOperation("修改体格检查信息")
|
|
|
|
|
@PutMapping("/update")
|
|
|
|
|
public boolean updatePhysical(@RequestBody DiseasePhysical diseasePhysical) {
|
|
|
|
|
public boolean updatePhysical(@RequestBody DiseasePhysicalReqVo diseasePhysical) {
|
|
|
|
|
|
|
|
|
|
diseasePhysical.dispersedDiagnosticCriteria();
|
|
|
|
|
return diseasePhysicalManageService.updatePhysical(diseasePhysical);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation("根据疾病id查询体格检查列表")
|
|
|
|
|
@GetMapping("/queryListByDiseaseId")
|
|
|
|
|
public List<DiseasePhysicalResVo> queryListByDiseaseId(String diseaseId) {
|
|
|
|
|
public List<DiseasePhysicalResVo> queryListByDiseaseId(@RequestParam String diseaseId) {
|
|
|
|
|
|
|
|
|
|
return diseasePhysicalManageService.queryListByDiseaseId(diseaseId);
|
|
|
|
|
|
|
|
|
|