| package com.by4cloud.platformx.device.mapper; | 
|   | 
| import com.by4cloud.platformx.common.data.datascope.PlatformxBaseMapper; | 
| import com.by4cloud.platformx.device.entity.DeviceLeasingLedgerItem; | 
| import org.apache.ibatis.annotations.Mapper; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| @Mapper | 
| public interface DeviceLeasingLedgerItemMapper extends PlatformxBaseMapper<DeviceLeasingLedgerItem> { | 
|   | 
|   | 
|     Integer selectDeviceNumByContractId(@Param("contractId") Long contractId,@Param("deviceId") Long deviceId); | 
| } |