Browse Source

fix

release_toaliyun_real
winter 1 year ago
parent
commit
297274bd81
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 3
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java View File

@@ -56,6 +56,7 @@ import com.iformall.enums.EnumPriceUnit;
import com.iformall.enums.EnumRentAgileType; import com.iformall.enums.EnumRentAgileType;
import com.iformall.enums.EnumRentContractAdjustPeriod; import com.iformall.enums.EnumRentContractAdjustPeriod;
import com.iformall.enums.EnumRentContractAdjustRatioWay; import com.iformall.enums.EnumRentContractAdjustRatioWay;
import com.iformall.enums.EnumRentContractAgileFeesType;
import com.iformall.enums.EnumRentContractAppStatus; import com.iformall.enums.EnumRentContractAppStatus;
import com.iformall.enums.EnumRentContractManageFeeType; import com.iformall.enums.EnumRentContractManageFeeType;
import com.iformall.enums.EnumRentContractStatus; import com.iformall.enums.EnumRentContractStatus;
@@ -1876,7 +1877,8 @@ public class WxRentContractServiceImpl implements WxRentContractService {
if (EnumRentContractType.RENT_BY_CUSTOMIZE.getCode() == record.getType()) { if (EnumRentContractType.RENT_BY_CUSTOMIZE.getCode() == record.getType()) {
record.setPrice("0.01"); record.setPrice("0.01");
} }
if (record != null && record.getReceivePeriod() != null ) {
if (record != null && (record.getReceivePeriod() != null ||
(null != record.getAgileType() && record.getAgileType().intValue() == EnumRentAgileType.AGILE.getCode()))) {
//预览账单改为正式,并写入商户id //预览账单改为正式,并写入商户id
WxAllBill billRent = new WxAllBill(); WxAllBill billRent = new WxAllBill();
billRent.setRentContractId(id); billRent.setRentContractId(id);


Loading…
Cancel
Save