|
|
|
@ -5,12 +5,14 @@ import com.docus.core.util.Func;
|
|
|
|
|
import com.docus.infrastructure.web.api.CommonResult;
|
|
|
|
|
import com.docus.server.collection.entity.TBasic;
|
|
|
|
|
import com.docus.server.collection.mapper.TBasicMapper;
|
|
|
|
|
import com.docus.server.report.api.ShunDePeopleService;
|
|
|
|
|
import com.docus.server.report.job.ReportJob;
|
|
|
|
|
import com.docus.server.report.api.TaskDistributeService;
|
|
|
|
|
import com.docus.server.report.service.ReportService;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
@ -34,6 +36,13 @@ public class ReportDownController {
|
|
|
|
|
ReportJob reportJob;
|
|
|
|
|
@Resource
|
|
|
|
|
private TaskDistributeService taskDistributeService;
|
|
|
|
|
@Resource
|
|
|
|
|
private ShunDePeopleService shunDePeopleService;
|
|
|
|
|
@ApiOperation(value = "获取pacs Pdf")
|
|
|
|
|
@GetMapping("/pacsBase64Test")
|
|
|
|
|
public CommonResult<Object> pacsBase64Test(@Param("examNo") String examNo,@Param("reportNo") String reportNo) {
|
|
|
|
|
return CommonResult.success(shunDePeopleService.getBase64PdfFromPacs(examNo,reportNo));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "获取任务测试")
|
|
|
|
|
@PostMapping("/getTaskTest")
|
|
|
|
|