模板优化

This commit is contained in:
2025-05-20 15:28:35 +08:00
parent 70c2b487b3
commit 8adb80409e
6 changed files with 53 additions and 53 deletions

View File

@@ -74,7 +74,7 @@ public class ReceiptPrintController {
int dinyHeight = 0;
if (templateName.equals("department")) {
// 由于是使用的门诊小票-T2那么默认的高度为1000强行设置通过动态修改渲染的图片的高度
// 由于是使用的门诊小票-T2那么默认的高度为1100强行设置通过动态修改渲染的图片的高度
height = 1100;
// 单行最大长度为10

View File

@@ -47,12 +47,12 @@ public class ReceiptPrintRequest implements Serializable {
/**
* 小票渲染宽度默认为600
*/
private Integer width = 600;
private Integer width = 690;
/**
* 生成的模板的高度默认为950
*/
private Integer height = 950;
private Integer height = 1100;
}