|
|
|
@ -8,10 +8,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
|
|
|
|
import io.swagger.v3.oas.annotations.Parameter;
|
|
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -39,7 +36,7 @@ public class AskProcessController {
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "删除问诊实例")
|
|
|
|
|
@DeleteMapping("delete")
|
|
|
|
|
public boolean deleteDiagnosisProcess(@Parameter(name = "processId", description = "病人ID") String processId) {
|
|
|
|
|
public boolean deleteDiagnosisProcess(@Parameter(name = "processId", description = "病人ID") @RequestParam String processId) {
|
|
|
|
|
|
|
|
|
|
return askProcessService.deleteDiagnosisProcess(processId);
|
|
|
|
|
}
|
|
|
|
|