|
|
|
@ -449,9 +449,13 @@ public class SignSaveInvoiceInfoServiceImpl extends MpBaseServiceImpl<SignRecord |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (queryInvoiceResult.getString("totalTax") != null && StringUtils.isNoneBlank(queryInvoiceResult.getString("totalTax"))) { |
|
|
|
|
if(queryInvoiceResult.getString("totalTax").contains("*")){ |
|
|
|
|
invoice.setTaxAmount(new BigDecimal(0)); |
|
|
|
|
}else { |
|
|
|
|
BigDecimal taxAmount = new BigDecimal(queryInvoiceResult.getString("totalTax")); |
|
|
|
|
invoice.setTaxAmount(taxAmount); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (queryInvoiceResult.getString("amountTax") != null && StringUtils.isNoneBlank(queryInvoiceResult.getString("amountTax"))) { |
|
|
|
|
BigDecimal totalAmount = new BigDecimal(queryInvoiceResult.getString("amountTax")); |
|
|
|
|