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

[账单导入][修改][其他押金]

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

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

@@ -1194,7 +1194,7 @@ public class WxBillAllServiceImpl implements WxBillAllService {
otherDepositQuery.setIsDel(EnumDelStatus.NOT_DEL.getCode());
WxBillOtherDeposit otherDeposit = wxBillOtherDepositMapper.selectOne(otherDepositQuery);
if (otherDeposit != null) {
if (!otherDeposit.getStatus().equals(EnumBillRentStatus.PAID.getCode())) {
if (!otherDeposit.getStatus().equals(EnumBillRentStatus.PAID.getCode()) && !otherDeposit.getStatus().equals(EnumBillRentStatus.RETURN.getCode())) {
long allPay = new BigDecimal(otherDeposit.getPay()).add(new BigDecimal(pay)).longValueExact();
if (allPay >= receivePay) {
otherDeposit.setStatus(EnumBillRentStatus.PAID.getCode());


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