Jelajahi Sumber

优化代码提交

mashengyi 3 tahun lalu
induk
melakukan
e3777c4697

+ 1 - 1
src/main/java/com/jkcredit/invoice/service/lowerService/impl/NoCarServiceImpl.java

@@ -540,7 +540,7 @@ public class NoCarServiceImpl implements NoCarService{
                     calculateInfor.setCustomId(noCarWayBill.getCustomerName());
                     calculateInfor.setBuyerName(invoiceProcessingListModel.getBuyerName());
                     calculateInfor.setBuyerTaxpayerCode(invoiceProcessingListModel.getBuyerTaxpayerCode());
-                    calculateInfor.setInvoiceMakeTime(invoiceProcessingListModel.getInvoiceMakeTime());
+                    calculateInfor.setInvoiceMakeTime(billInvoice.getInvoiceMakeTime());
                     calculateInfor.setTradeId(billInvoice.getTransactionId());
                     NoCarCalculateInfor noCarCalculateInfor = calculateInforMapper.selectByTradeId(billInvoice.getTransactionId());
                     if(noCarCalculateInfor!=null){

+ 2 - 2
src/main/resources/mapper/customer/CustomerCarRecMapper.xml

@@ -295,10 +295,10 @@
   </update>
 
   <update id="upDateCompanySelf" parameterType="com.jkcredit.invoice.model.vo.CompanyVo">
-    UPDATE t_customer_carRec set companyName = #{newCompanyName} where companyName = #{oldCompanyName} and  and bussiness_type=0
+    UPDATE t_customer_carRec set company_Name = #{newCompanyName} where company_Name = #{oldCompanyName} and  bussiness_type=0
   </update>
 
   <update id="upDateCompanyNo" parameterType="com.jkcredit.invoice.model.vo.CompanyVo">
-    UPDATE t_customer_carRec set companyName = #{newCompanyName} where companyName = #{oldCompanyName} and  and bussiness_type=2
+    UPDATE t_customer_carRec set company_Name = #{newCompanyName} where company_Name = #{oldCompanyName} and  bussiness_type=2
   </update>
 </mapper>