Sfoglia il codice sorgente

[账单导入][修改][不满足条件不让视为失败数据]

release_toaliyun_real
gongbiao 7 anni fa
parent
commit
6709410671
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      mallinkAdmin/src/main/java/com/iformall/controller/mem/ImportTemplateTask.java

+ 4
- 1
mallinkAdmin/src/main/java/com/iformall/controller/mem/ImportTemplateTask.java Vedi File

@@ -104,7 +104,10 @@ public class ImportTemplateTask {
//3 计失败条数 //3 计失败条数
List<WxBillExcelTemplateOther> billSuccessList = new ArrayList<>(); List<WxBillExcelTemplateOther> billSuccessList = new ArrayList<>();
successList.parallelStream().forEach(s -> { successList.parallelStream().forEach(s -> {
if (StringUtils.isNotEmpty(s.getMerchantName())) {
if (StringUtils.isNotEmpty(s.getMerchantName()) && null != s.getBillType()
&& StringUtils.isNotEmpty(s.getBillAttr()) && null != s.getStarttime()
&& null != s.getEndtime() && StringUtils.isNotEmpty(s.getPayStr())
&& null != s.getPayDate() && null != s.getReceiveDate()) {
WxMerchant wxMerchant = merchantMap.get(s.getMerchantName()); WxMerchant wxMerchant = merchantMap.get(s.getMerchantName());
if (wxMerchant != null) { if (wxMerchant != null) {
Long merchantId = wxMerchant.getId(); Long merchantId = wxMerchant.getId();


Caricamento…
Annulla
Salva