|
|
@ -1,6 +1,7 @@
|
|
|
|
package com.supervision.controller;
|
|
|
|
package com.supervision.controller;
|
|
|
|
|
|
|
|
|
|
|
|
import com.supervision.model.ConfigDrug;
|
|
|
|
import com.supervision.model.ConfigDrug;
|
|
|
|
|
|
|
|
import com.supervision.model.Process;
|
|
|
|
import com.supervision.model.TreatmentPlanRecord;
|
|
|
|
import com.supervision.model.TreatmentPlanRecord;
|
|
|
|
import com.supervision.pojo.vo.DealPlanResVO;
|
|
|
|
import com.supervision.pojo.vo.DealPlanResVO;
|
|
|
|
import com.supervision.service.TreatmentPlanService;
|
|
|
|
import com.supervision.service.TreatmentPlanService;
|
|
|
@ -14,7 +15,6 @@ import org.apache.ibatis.annotations.Param;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Slf4j
|
|
|
|
@Slf4j
|
|
|
|
@Api(tags = "处置计划")
|
|
|
|
@Api(tags = "处置计划")
|
|
|
@ -36,9 +36,9 @@ public class TreatmentPlanController {
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("确认处置计划")
|
|
|
|
@ApiOperation("确认处置计划")
|
|
|
|
@PostMapping("/confirm")
|
|
|
|
@PostMapping("/confirm")
|
|
|
|
public boolean confirmTreatmentPlan(@RequestBody Map<String,String> map) {
|
|
|
|
public boolean confirmTreatmentPlan(@RequestBody Process process) {
|
|
|
|
|
|
|
|
|
|
|
|
return treatmentPlanService.confirmTreatmentPlan(map.get("processId"),map.get("status"));
|
|
|
|
return treatmentPlanService.confirmTreatmentPlan(process.getPatientId(),String.valueOf(process.getStatus()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("修改处置计划记录")
|
|
|
|
@ApiOperation("修改处置计划记录")
|
|
|
|