SmartVehicleBlueShareKeyService.java 1.47 KB
package cn.com.glsx.smart.modules.service;

import cn.com.glsx.smart.modules.entity.SmartShareKeyBlueKey;
import cn.com.glsx.smart.modules.entity.SmartVehicleBlueShareKey;
import cn.com.glsx.smart.modules.entity.SmartVehicleBlueShareKeyExample;

import java.util.List;

public interface SmartVehicleBlueShareKeyService {


    long countByExample(SmartVehicleBlueShareKeyExample example);

    int deleteByExample(SmartVehicleBlueShareKeyExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SmartVehicleBlueShareKey record);

    int insertSelective(SmartVehicleBlueShareKey record);

    List<SmartVehicleBlueShareKey> selectByExample(SmartVehicleBlueShareKeyExample example);

    SmartVehicleBlueShareKey selectByPrimaryKey(Long id);

    int updateByExampleSelective(SmartVehicleBlueShareKey record, SmartVehicleBlueShareKeyExample example);

    int updateByExample(SmartVehicleBlueShareKey record, SmartVehicleBlueShareKeyExample example);

    int updateByPrimaryKeySelective(SmartVehicleBlueShareKey record);

    int updateByPrimaryKey(SmartVehicleBlueShareKey record);

    SmartVehicleBlueShareKeyExample getBlueKeyShareExampleByCarKeyID(Long carKeyId);

    SmartVehicleBlueShareKeyExample getBlueKeyShareExampleByID(Long id);

    List<SmartShareKeyBlueKey> getShareKeyListByUserId(Long userId);

    int closeShareKeyByCarKeyId(Long carKeyId);

    int closeShareKeyByMainKeyIds(List<Long> keyIds);

    SmartShareKeyBlueKey getShareKeyListByKeyId(Long valueOf);
}