修改打印数据

This commit is contained in:
韩鹏辉
2024-04-15 15:33:18 +08:00
parent a2432316ea
commit c0f3b445cb
11 changed files with 187 additions and 5 deletions

View File

@@ -173,6 +173,13 @@ public class PrinterUtils {
sb.append("<S> "+memberDatum.getDeposit()+": "+memberDatum.getAmount()+"</S><BR>");
}
}
if(ObjectUtil.isNotEmpty(handoverInfo.getProductCategories())&&handoverInfo.getProductCategories().size()>0){
sb.append("<S>分类数据</S><BR>");
for(HandoverInfo.ProductCategory productCategory:handoverInfo.getProductCategories()){
sb.append("<S> "+productCategory.getCategoryName()+" "+ productCategory.getNum()+" "+productCategory.getAmount()+"</S><BR>");
}
}
sb.append("<S>退款金额 :".concat(handoverInfo.getReturnAmount())+"</S><BR>");
sb.append("<S>总收入: "+handoverInfo.getTotalAmount()+"</S><BR>");
sb.append("<S>备用金: "+handoverInfo.getImprest()+"</S><BR>");