修改保存打印生成PDF
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
yudao-ui-admin CI / build (14.x) (push) Has been cancelled
yudao-ui-admin CI / build (16.x) (push) Has been cancelled
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
yudao-ui-admin CI / build (14.x) (push) Has been cancelled
yudao-ui-admin CI / build (16.x) (push) Has been cancelled
This commit is contained in:
parent
1fde8a3ab3
commit
7de8821041
@ -136,6 +136,12 @@
|
||||
<version>2.1.0-jdk8-snapshot</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itextpdf</groupId>
|
||||
<artifactId>itextpdf</artifactId>
|
||||
<version>5.5.13.4</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
@ -144,11 +144,16 @@ public class EcganalysisparasController {
|
||||
ecgPrintPdf.setPtimelimit(updateReqVO.getPTimeLimit());
|
||||
//查询医生的签名图片
|
||||
DoctorDO doctorDO = Service.getBydoctorID(String.valueOf(updateReqVO.getDoctorId()));
|
||||
if(!doctorDO.getESignatureUrl().isEmpty())
|
||||
if(doctorDO!=null&&doctorDO.getESignatureUrl()!=null)
|
||||
{
|
||||
ecgPrintPdf.setImage(doctorDO.getESignatureUrl());
|
||||
}
|
||||
ecgPrintPdf.setDepartName(doctorDO.getDepartmentName());
|
||||
System.out.println("获取医生完成");
|
||||
if(doctorDO!=null&&doctorDO.getDepartmentName()!=null)
|
||||
{
|
||||
ecgPrintPdf.setDepartName(doctorDO.getDepartmentName());
|
||||
}
|
||||
|
||||
ecgPrintPdf.setDoctorDiagTime(DateUtils.formateddatetime(Long.parseLong(updateReqVO.getDiagtime())));
|
||||
ecgPrintPdf.setDiagContent(updateReqVO.getDoctorDiagResult());
|
||||
ecgPrintPdf.setDoctorName(updateReqVO.getDoctorName());
|
||||
|
@ -29,7 +29,6 @@ public class EcgPrintPdf {
|
||||
private String filepath;
|
||||
private String orgid;
|
||||
private String orgname;
|
||||
private String orgid;
|
||||
private String ptimelimit;
|
||||
private String isAbnormal;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user