Bläddra i källkod

红冲发票增加字段

mashengyi 6 månader sedan
förälder
incheckning
3d6699a2de

+ 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);
                 }