模板优化
This commit is contained in:
@@ -74,7 +74,7 @@ public class ReceiptPrintController {
|
||||
|
||||
int dinyHeight = 0;
|
||||
if (templateName.equals("department")) {
|
||||
// 由于是使用的门诊小票-T2,那么默认的高度为1000,强行设置,通过动态修改渲染的图片的高度
|
||||
// 由于是使用的门诊小票-T2,那么默认的高度为1100,强行设置,通过动态修改渲染的图片的高度
|
||||
height = 1100;
|
||||
|
||||
// 单行最大长度为10
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user