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