ky 5 years ago
parent 714fdefce7
commit 954b189bfb

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

Loading…
Cancel
Save