|
|
|
@ -6,7 +6,6 @@ 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;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
@ -27,7 +26,7 @@ public class DiseasePhysicalManageController {
|
|
|
|
|
@PostMapping("/save")
|
|
|
|
|
public String savePhysical(@RequestBody DiseasePhysicalReqVo diseasePhysical) {
|
|
|
|
|
|
|
|
|
|
diseasePhysical.dispersedDiagnosticCriteria();
|
|
|
|
|
diseasePhysical.floatDiagnosticCriteria();
|
|
|
|
|
DiseasePhysical result = diseasePhysicalManageService.savePhysical(diseasePhysical);
|
|
|
|
|
return result.getId();
|
|
|
|
|
}
|
|
|
|
@ -44,7 +43,7 @@ public class DiseasePhysicalManageController {
|
|
|
|
|
@PutMapping("/update")
|
|
|
|
|
public boolean updatePhysical(@RequestBody DiseasePhysicalReqVo diseasePhysical) {
|
|
|
|
|
|
|
|
|
|
diseasePhysical.dispersedDiagnosticCriteria();
|
|
|
|
|
diseasePhysical.floatDiagnosticCriteria();
|
|
|
|
|
return diseasePhysicalManageService.updatePhysical(diseasePhysical);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|