|
|
@ -65,6 +65,10 @@ public class InvoiceServiceImpl extends ServiceImpl<InvoiceMapper, Invoice> impl
|
|
|
|
Custom custom = customMapper.selectById(customId);
|
|
|
|
Custom custom = customMapper.selectById(customId);
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
String companyType;
|
|
|
|
|
|
|
|
String invoiceType;
|
|
|
|
|
|
|
|
String taxType;
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject jsonObject = countService.VATCount("4", "1", ""+custom.getRegisterType(), money.doubleValue());
|
|
|
|
JSONObject jsonObject = countService.VATCount("4", "1", ""+custom.getRegisterType(), money.doubleValue());
|
|
|
|
BigDecimal money1 = jsonObject.getBigDecimal("money");
|
|
|
|
BigDecimal money1 = jsonObject.getBigDecimal("money");
|
|
|
|
invoice.setTaxMoney(money1.toString());
|
|
|
|
invoice.setTaxMoney(money1.toString());
|
|
|
|