|
|
|
@ -26,7 +26,7 @@ public class DiseaseTreatmentPlanManageController {
|
|
|
|
|
@ApiOperation("保存处置信息")
|
|
|
|
|
@PostMapping("/save")
|
|
|
|
|
public String saveTreatmentPlan(@RequestBody DiseaseTreatmentPlanReqVo diseaseTreatmentPlan) {
|
|
|
|
|
|
|
|
|
|
// 适配前端传入数据
|
|
|
|
|
diseaseTreatmentPlan.setTreatmentPlanId(diseaseTreatmentPlan.getFirstMeasuresId());
|
|
|
|
|
DiseaseTreatmentPlan result = diseaseTreatmentPlanManageService.saveTreatmentPlan(diseaseTreatmentPlan);
|
|
|
|
|
return result.getId();
|
|
|
|
@ -65,7 +65,8 @@ public class DiseaseTreatmentPlanManageController {
|
|
|
|
|
@ApiOperation("修改处置计划")
|
|
|
|
|
@PutMapping("/update")
|
|
|
|
|
public boolean updateDiseaseTreatmentPlan(@RequestBody DiseaseTreatmentPlanReqVo diseaseTreatmentPlan) {
|
|
|
|
|
|
|
|
|
|
// 适配前端传入数据
|
|
|
|
|
diseaseTreatmentPlan.setTreatmentPlanId(diseaseTreatmentPlan.getFirstMeasuresId());
|
|
|
|
|
return diseaseTreatmentPlanManageService.updateDiseaseTreatmentPlan(diseaseTreatmentPlan);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|