소스 검색

[修改][审批流][修改合同状态]

release_toaliyun_real
luozukai 6 년 전
부모
커밋
f3edcc6c67
2개의 변경된 파일24개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java
  2. +18
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 6
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java 파일 보기

@@ -429,6 +429,12 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService
logger.info("id:{},启动审批流成功,是否补录:{}", record.getRentContractId().toString(), record.getMerchantId() != null);
}
}
}else{
//合同状态改为记租中
WxRentContract updateRentContract = new WxRentContract();
updateRentContract.setId(record.getRentContractId());
updateRentContract.setStatus(EnumRentContractStatus.RENT_PAID.getCode());
wxRentContractMapper.updateStatus(updateRentContract);
}

return new ResultData(Result.SUCCESS, message, record);


+ 18
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java 파일 보기

@@ -510,6 +510,12 @@ public class WxRentContractServiceImpl implements WxRentContractService {
wxRentContractMapper.updateStatus(updateRentContract);
logger.info("id:{},启动审批流成功, 是否补录:{}", record.getId().toString(), record.getMerchantId() != null);
}
}else{
//合同状态改为记租中
WxRentContract updateRentContract = new WxRentContract();
updateRentContract.setId(record.getId());
updateRentContract.setStatus(EnumRentContractStatus.RENT_PAID.getCode());
wxRentContractMapper.updateStatus(updateRentContract);
}

//生成预览账单(补录第二步,第三步走编辑)
@@ -567,6 +573,12 @@ public class WxRentContractServiceImpl implements WxRentContractService {
wxRentContractMapper.updateStatus(updateRentContract);
logger.info("id:{},启动审批流成功 ,是否补录:{}", record.getId().toString(), record.getMerchantId() != null);
}
}else{
//合同状态改为记租中
WxRentContract updateRentContract = new WxRentContract();
updateRentContract.setId(record.getId());
updateRentContract.setStatus(EnumRentContractStatus.RENT_PAID.getCode());
wxRentContractMapper.updateStatus(updateRentContract);
}

//保存调整金额(预账单调整)
@@ -1642,6 +1654,12 @@ public class WxRentContractServiceImpl implements WxRentContractService {
wxRentContractMapper.updateStatus(updateRentContract);
logger.info("id:{},启动审批流成功,是否补录:{}", record.getId().toString(), record.getMerchantId() != null);
}
}else{
//合同状态改为记租中
WxRentContract updateRentContract = new WxRentContract();
updateRentContract.setId(record.getId());
updateRentContract.setStatus(EnumRentContractStatus.RENT_PAID.getCode());
wxRentContractMapper.updateStatus(updateRentContract);
}

return resultData;


불러오는 중...
취소
저장