zx 3 일 전
부모
커밋
96e4d7c1ff
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      fs-service/src/main/java/com/fs/his/service/impl/PrescriptionImageServiceImpl.java

+ 2 - 2
fs-service/src/main/java/com/fs/his/service/impl/PrescriptionImageServiceImpl.java

@@ -283,7 +283,7 @@ public class PrescriptionImageServiceImpl implements PrescriptionImageService {
 
             String firstLine = line1.toString().trim();
             if (StringUtils.isNotBlank(firstLine)) {
-                y = drawDrugTextLine(pen, firstLine, x, y, 760, innerLineSpacing);
+                y = drawDrugTextLine(pen, firstLine, x, y, 1000, innerLineSpacing);
             }
             y += innerLineSpacing; // 第一行占位(即使无内容也占)
 
@@ -304,7 +304,7 @@ public class PrescriptionImageServiceImpl implements PrescriptionImageService {
 
             String secondLine = line2.toString().trim();
             if (StringUtils.isNotBlank(secondLine)) {
-                y = drawDrugTextLine(pen, secondLine, x, y, 760, innerLineSpacing);
+                y = drawDrugTextLine(pen, secondLine, x, y, 1000, innerLineSpacing);
             }
             y += innerLineSpacing; // 第二行占位(即使无内容也占)