|
@@ -29,6 +29,7 @@ import com.jkcredit.invoice.service.upservice.SelfCarInterface;
|
|
import com.jkcredit.invoice.util.DateUtil;
|
|
import com.jkcredit.invoice.util.DateUtil;
|
|
import com.jkcredit.invoice.util.MathUtil;
|
|
import com.jkcredit.invoice.util.MathUtil;
|
|
import com.jkcredit.invoice.util.RespR;
|
|
import com.jkcredit.invoice.util.RespR;
|
|
|
|
+import com.jkcredit.invoice.util.StringUtil;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
@@ -294,6 +295,10 @@ public class SelfCarCustServiceImpl implements SelfCarCustService {
|
|
for (B2BInvoiceQueryByApplyModel listModel : dataResult) {
|
|
for (B2BInvoiceQueryByApplyModel listModel : dataResult) {
|
|
SelfCarInvoice selfCarInvoice = new SelfCarInvoice();
|
|
SelfCarInvoice selfCarInvoice = new SelfCarInvoice();
|
|
BeanUtils.copyProperties(listModel, selfCarInvoice);
|
|
BeanUtils.copyProperties(listModel, selfCarInvoice);
|
|
|
|
+ if(StringUtil.isEmpty(selfCarInvoice.getInvoiceMakeTime())){
|
|
|
|
+ log.info("跳过发票{},跳过原因:{}",listModel.getTradeId(),listModel.getMsg());
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
selfCarInvoice.setInvoiceMakeTime(DateUtil.tTimeToDate(selfCarInvoice.getInvoiceMakeTime()));
|
|
selfCarInvoice.setInvoiceMakeTime(DateUtil.tTimeToDate(selfCarInvoice.getInvoiceMakeTime()));
|
|
selfCarInvoice.setExTime(DateUtil.tTimeToDate(selfCarInvoice.getExTime()));
|
|
selfCarInvoice.setExTime(DateUtil.tTimeToDate(selfCarInvoice.getExTime()));
|
|
selfCarInvoice.setCustomerName(applQueryInvVo.getCustomerName());
|
|
selfCarInvoice.setCustomerName(applQueryInvVo.getCustomerName());
|