ky 5 years ago
parent 714fdefce7
commit 954b189bfb

@ -76,8 +76,9 @@ public class InvoiceServiceImpl extends ServiceImpl<InvoiceMapper, Invoice> impl
String invoiceType;
String taxType;
JSONObject jsonObject = countService.VATCount(custom.getRegisterType(), invoice.getInvoiceType(), "1", money.doubleValue());
BigDecimal money1 = jsonObject.getBigDecimal("money");
// JSONObject jsonObject = countService.VATCount(custom.getRegisterType(), invoice.getInvoiceType(), "1", money.doubleValue());
JSONObject jsonObject = countService.VATSurchargeCount(money.toString());
BigDecimal money1 = jsonObject.getBigDecimal("result");
invoice.setTaxMoney(money1.toString());
} catch (Exception e) {
e.printStackTrace();

Loading…
Cancel
Save