Przeglądaj źródła

[合同][修改][押金生成账单]

release_toaliyun_real
gongbiao 6 lat temu
rodzic
commit
6e17447e06
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java
  2. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java Wyświetl plik

@@ -472,7 +472,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService
public void buildDeposit(WxPropertyContract record) {
Long propertyContractId = record.getId();
WxPropertyContract wxPropertyContract = wxPropertyContractMapper.selectByPrimaryKey(propertyContractId);
if (wxPropertyContract != null) {
if (wxPropertyContract != null && wxPropertyContract.getDeposit() > 0) {
//找到计租方式
int dayType = wxPropertyContract.getAdjustPeriod().equals(EnumRentContractAdjustPeriod.ADJUST_PERIOD_DAY.getCode()) ? Calendar.DAY_OF_MONTH : Calendar.MONTH;
final IdWorker idWorker = IdWorker.get();


+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java Wyświetl plik

@@ -591,7 +591,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
@Override
public void buildDeposit(WxMerchant wxMerchant, Long userId,Long rentContractId) {
WxRentContract wxRentContract = wxRentContractMapper.selectByPrimaryKey(rentContractId);
if (wxRentContract != null) {
if (wxRentContract != null && wxRentContract.getDeposit() > 0) {
final IdWorker idWorker = IdWorker.get();
WxBillDeposit wxBillDeposit = new WxBillDeposit();
wxBillDeposit.setId(idWorker.nextId());


Ładowanie…
Anuluj
Zapisz