md
This commit is contained in:
parent
f8a1f67f7c
commit
2e677d84c0
@ -228,7 +228,7 @@ public class EmisSettleBillController extends BaseController
|
|||||||
|
|
||||||
Map<String, Object> textMap = MapUtils.newHashMap();
|
Map<String, Object> textMap = MapUtils.newHashMap();
|
||||||
textMap.put("title", bill.getSettleBillName());
|
textMap.put("title", bill.getSettleBillName());
|
||||||
textMap.put("total", bill.getRecMoney().toString());
|
textMap.put("total", bill.getRecMoney().stripTrailingZeros().toPlainString());
|
||||||
|
|
||||||
String tplName="tpl/bill_tpl_simple.xlsx";
|
String tplName="tpl/bill_tpl_simple.xlsx";
|
||||||
|
|
||||||
@ -284,14 +284,18 @@ public class EmisSettleBillController extends BaseController
|
|||||||
voMap.put("declareFee",declareFee.compareTo(BigDecimal.ZERO)==0?"0": declareFee.stripTrailingZeros().toPlainString());
|
voMap.put("declareFee",declareFee.compareTo(BigDecimal.ZERO)==0?"0": declareFee.stripTrailingZeros().toPlainString());
|
||||||
voMap.put("otherFee", otherFee.compareTo(BigDecimal.ZERO)==0?"0":otherFee.stripTrailingZeros().toPlainString());
|
voMap.put("otherFee", otherFee.compareTo(BigDecimal.ZERO)==0?"0":otherFee.stripTrailingZeros().toPlainString());
|
||||||
}else{
|
}else{
|
||||||
voMap.put("transFee",billItem.getWaybillDetail().getFreight().stripTrailingZeros().toPlainString());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// {.transFee} {.cebFee} {.declareFee} {.otherFee}
|
// {.transFee} {.cebFee} {.declareFee} {.otherFee}
|
||||||
|
|
||||||
listMap.add(voMap);
|
listMap.add(voMap);
|
||||||
|
}else{
|
||||||
|
voMap.put("transFee",billItem.getWaybillDetail().getFreight().stripTrailingZeros().toPlainString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ServletOutputStream outputStream = response.getOutputStream();
|
ServletOutputStream outputStream = response.getOutputStream();
|
||||||
|
|
||||||
//账单主数据填充
|
//账单主数据填充
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user