|
@@ -67,7 +67,7 @@ public class ContractPlaceNumberRelServiceImpl extends ServiceImpl<ContractPlace
|
|
|
.eq(SysUser::getId, SecurityUtils.getUserId())
|
|
|
|
|
|
);
|
|
|
-
|
|
|
+
|
|
|
List<ContractPlaceNumberRel> list = this.list(new LambdaQueryWrapper<ContractPlaceNumberRel>()
|
|
|
.eq(ContractPlaceNumberRel::getContractId, sysUser.getContractId())
|
|
|
.eq(ContractPlaceNumberRel::getStatus, "1")
|
|
@@ -88,7 +88,10 @@ public class ContractPlaceNumberRelServiceImpl extends ServiceImpl<ContractPlace
|
|
|
Contract contract = contractService.getOne(new LambdaQueryWrapper<Contract>().eq(Contract::getId, sysUser.getContractId()));
|
|
|
for (ContractPlaceNumberRelVO record : pageResult.getRecords()) {
|
|
|
record.setAbledNum(String.valueOf(list.size()));
|
|
|
+
|
|
|
record.setMaxParkingLotNum(contract.getMaxParkingLotNum());
|
|
|
+ record.setBigParkingLotNum(contract.getBigParkingLotNum());
|
|
|
+ record.setSmallParkingLotNum(contract.getSmallParkingLotNum());
|
|
|
}
|
|
|
return pageResult;
|
|
|
}
|