|
|
|
@ -8,9 +8,7 @@ import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
@ -34,4 +32,13 @@ public class AskProcessController {
|
|
|
|
|
public List<Process> queryUserProcess(String userId) {
|
|
|
|
|
return askProcessService.queryUserProcess(userId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("删除问诊实例")
|
|
|
|
|
@DeleteMapping("delete")
|
|
|
|
|
public boolean deleteDiagnosisProcess(@ApiParam("病人ID") @RequestParam("processId") String processId) {
|
|
|
|
|
|
|
|
|
|
return askProcessService.deleteDiagnosisProcess(processId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|