Browse Source

[租赁合同][修改][更新数据判断]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
1a5462ce67
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

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

@@ -298,7 +298,8 @@ public class WxRentContractServiceImpl implements WxRentContractService {
ResultData resultData = getResultDataForUpdate(record, userId); ResultData resultData = getResultDataForUpdate(record, userId);


if (dbRent.getRentShopType().equals(EnumRentShopType.SHOP.getCode())) { if (dbRent.getRentShopType().equals(EnumRentShopType.SHOP.getCode())) {
if (record.getReceivePeriod() != null && record.getLease() != null && record.getPrice() != null) {
if (record.getReceivePeriod() != null && record.getLease() != null && record.getPrice() != null
&& !record.getReceivePeriod().equals(0) && !record.getLease().equals(0) && !record.getPrice().equals(0)) {


//删除预账单,重新生成 //删除预账单,重新生成
wxBillRentMapper.deletePreviewBill(record); wxBillRentMapper.deletePreviewBill(record);


Loading…
Cancel
Save