Преглед на файлове

红冲发票增加字段

mashengyi преди 6 месеца
родител
ревизия
3d6699a2de
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/main/java/com/jkcredit/invoice/service/lowerservice/impl/NoCarServiceImpl.java

+ 2 - 0
src/main/java/com/jkcredit/invoice/service/lowerservice/impl/NoCarServiceImpl.java

@@ -1107,6 +1107,8 @@ public class NoCarServiceImpl implements NoCarService {
                     HcInvoice hcInvoice = new HcInvoice();
                     BeanUtils.copyProperties(waybillInvoiceRedQueryModel, hcInvoice);
                     hcInvoice.setYearMonth(hcInvoiceQueryVo.getMonth());
+                    hcInvoice.setTaxRate(String.valueOf(waybillInvoiceRedQueryModel.getTaxRate()));
+                    hcInvoice.setTotalTaxAmount(String.valueOf(waybillInvoiceRedQueryModel.getTotalTaxAmount()));
                     hcInvoice.setInvoiceMakeTime(DateUtil.tLocalDateTimeToString(waybillInvoiceRedQueryModel.getInvoiceMakeTime()));
                     hcInvoiceMapper.insertHcInvoice(hcInvoice);
                 }