md
This commit is contained in:
parent
2e677d84c0
commit
29a6eb26a4
@ -253,8 +253,6 @@ public class EmisSettleBillController extends BaseController
|
|||||||
if( !CollectionUtils.isEmpty(feeItemList) ){
|
if( !CollectionUtils.isEmpty(feeItemList) ){
|
||||||
if(feeItemList.size()>1) {
|
if(feeItemList.size()>1) {
|
||||||
tplName = "tpl/bill_tpl.xlsx";
|
tplName = "tpl/bill_tpl.xlsx";
|
||||||
}
|
|
||||||
|
|
||||||
BigDecimal otherFee = BigDecimal.ZERO;
|
BigDecimal otherFee = BigDecimal.ZERO;
|
||||||
BigDecimal transFee = BigDecimal.ZERO;
|
BigDecimal transFee = BigDecimal.ZERO;
|
||||||
BigDecimal cebFee = BigDecimal.ZERO;
|
BigDecimal cebFee = BigDecimal.ZERO;
|
||||||
@ -274,8 +272,6 @@ public class EmisSettleBillController extends BaseController
|
|||||||
} else {
|
} else {
|
||||||
otherFee = otherFee.add(feeitem.getBillFee());
|
otherFee = otherFee.add(feeitem.getBillFee());
|
||||||
}
|
}
|
||||||
}else{
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -284,16 +280,16 @@ 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{
|
||||||
|
tplName = "tpl/bill_tpl_simple.xlsx";
|
||||||
}
|
|
||||||
|
|
||||||
// {.transFee} {.cebFee} {.declareFee} {.otherFee}
|
|
||||||
|
|
||||||
listMap.add(voMap);
|
|
||||||
}else{
|
|
||||||
voMap.put("transFee",billItem.getWaybillDetail().getFreight().stripTrailingZeros().toPlainString());
|
voMap.put("transFee",billItem.getWaybillDetail().getFreight().stripTrailingZeros().toPlainString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}else{
|
||||||
|
tplName = "tpl/bill_tpl_simple.xlsx";
|
||||||
|
voMap.put("transFee",billItem.getWaybillDetail().getFreight().stripTrailingZeros().toPlainString());
|
||||||
|
}
|
||||||
|
listMap.add(voMap);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
ServletOutputStream outputStream = response.getOutputStream();
|
ServletOutputStream outputStream = response.getOutputStream();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user