|
|
|
@@ -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()); |
|
|
|
|