Просмотр исходного кода

【BUG][修改][【ID1002033】测试环境-账单管理-缴款记录下明细导入账单需要添加金钱明细]

release_toaliyun_real
gongbiao 6 лет назад
Родитель
Сommit
a11e1dfc76
1 измененных файлов: 7 добавлений и 7 удалений
  1. +7
    -7
      mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java

+ 7
- 7
mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java Просмотреть файл

@@ -1010,7 +1010,7 @@ public class WxBillAllServiceImpl implements WxBillAllService {
property.setPayDate(bill.getPayDate());
property.setReceiveDate(bill.getReceiveDate());
wxBillPropertyMapper.updateByPrimaryKey(property);
addActionImport(property.getId(), bill.getPayWay(), bill.getPayDate(), user, pay);
addActionImport(property.getId(), bill.getPayWay(), bill.getPayDate(), user, bill.getPayStr());
}
} else if (billType.equals(EnumBillExcelTemplate.DAILY.getCode())) {
WxBillDaily dailyQuery = new WxBillDaily();
@@ -1040,7 +1040,7 @@ public class WxBillAllServiceImpl implements WxBillAllService {
daily.setPayDate(bill.getPayDate());
daily.setReceiveDate(bill.getReceiveDate());
wxBillDailyMapper.updateByPrimaryKey(daily);
addActionImport(daily.getId(), bill.getPayWay(), bill.getPayDate(), user, pay);
addActionImport(daily.getId(), bill.getPayWay(), bill.getPayDate(), user, bill.getPayStr());
}
} else {
WxMerchantShop wxMerchantShop = new WxMerchantShop();
@@ -1071,7 +1071,7 @@ public class WxBillAllServiceImpl implements WxBillAllService {
daily.setStarttime(bill.getStarttime());
daily.setEndtime(bill.getEndtime());
wxBillDailyMapper.insertSelective(daily);
addActionImport(daily.getId(), bill.getPayWay(), bill.getPayDate(), user, pay);
addActionImport(daily.getId(), bill.getPayWay(), bill.getPayDate(), user, bill.getPayStr());
}
}
} else if (billType.equals(EnumBillExcelTemplate.OTHER.getCode())) {
@@ -1095,7 +1095,7 @@ public class WxBillAllServiceImpl implements WxBillAllService {
other.setPayDate(bill.getPayDate());
other.setReceiveDate(bill.getReceiveDate());
wxBillOtherMapper.updateByPrimaryKey(other);
addActionImport(other.getId(), bill.getPayWay(), bill.getPayDate(), user, pay);
addActionImport(other.getId(), bill.getPayWay(), bill.getPayDate(), user, bill.getPayStr());
}
} else {
WxMerchantShop wxMerchantShop = new WxMerchantShop();
@@ -1127,7 +1127,7 @@ public class WxBillAllServiceImpl implements WxBillAllService {
other.setStarttime(bill.getStarttime());
other.setEndtime(bill.getEndtime());
wxBillOtherMapper.insertSelective(other);
addActionImport(other.getId(), bill.getPayWay(), bill.getPayDate(), user, pay);
addActionImport(other.getId(), bill.getPayWay(), bill.getPayDate(), user, bill.getPayStr());
}
}
} else if (billType.equals(EnumBillExcelTemplate.OTHER_DEPOSIT.getCode())) {
@@ -1149,7 +1149,7 @@ public class WxBillAllServiceImpl implements WxBillAllService {
otherDeposit.setPayDate(bill.getPayDate());
otherDeposit.setReceiveDate(bill.getReceiveDate());
wxBillOtherDepositMapper.updateByPrimaryKey(otherDeposit);
addActionImport(otherDeposit.getId(), bill.getPayWay(), bill.getPayDate(), user, pay);
addActionImport(otherDeposit.getId(), bill.getPayWay(), bill.getPayDate(), user, bill.getPayStr());
}
} else {
WxMerchantShop wxMerchantShop = new WxMerchantShop();
@@ -1182,7 +1182,7 @@ public class WxBillAllServiceImpl implements WxBillAllService {
otherDeposit.setStarttime(bill.getStarttime());
otherDeposit.setEndtime(bill.getEndtime());
wxBillOtherDepositMapper.insertSelective(otherDeposit);
addActionImport(otherDeposit.getId(), bill.getPayWay(), bill.getPayDate(), user, pay);
addActionImport(otherDeposit.getId(), bill.getPayWay(), bill.getPayDate(), user, bill.getPayStr());
}
}
} else {


Загрузка…
Отмена
Сохранить