|
|
|
@ -125,8 +125,12 @@ public class CoreSaveInvoiceInfoServiceImpl extends MpBaseServiceImpl<TDxRecordI |
|
|
|
|
if (taxRate.contains("%")) { |
|
|
|
|
taxRate = taxRate.replace("%", ""); |
|
|
|
|
} |
|
|
|
|
if("免税".equals(taxRate)){ |
|
|
|
|
invoiceStatistics.setTaxRate(new BigDecimal("0")); |
|
|
|
|
}else { |
|
|
|
|
invoiceStatistics.setTaxRate(new BigDecimal(taxRate)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
String amount = queryInvoiceResult.getString("taxAmount"); |
|
|
|
|
if(StringUtils.isNotEmpty(amount)){ |
|
|
|
|
try { |
|
|
|
|