package com.jsowell.pile.mapper;

import com.jsowell.pile.domain.ThirdPartyPlatformConfig;
import com.jsowell.pile.domain.ThirdpartyParkingConfig;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TODO
 *
 * @Date 2023/8/24 16:50
 * @author  Lemon 
 */
@Repository
public interface ThirdpartyParkingConfigMapper {
    /**
     * delete by primary key
     * @param id primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(ThirdpartyParkingConfig record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(ThirdpartyParkingConfig record);

    /**
     * select by primary key
     * @param id primary key
     * @return object by primary key
     */
    ThirdpartyParkingConfig selectByPrimaryKey(Integer id);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(ThirdpartyParkingConfig record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(ThirdpartyParkingConfig record);

    /**
     * 查询基本信息列表（调用时需分页）
     * @return
     */
    List<ThirdpartyParkingConfig> selectInfoList();
}