SyVehicleModelMapper.java 1.43 KB
package com.objecteye.mapper;

import com.objecteye.entity.SyVehicleModel;
import com.objecteye.entity.SyVehicleModelExample;
import com.objecteye.pojo.NameValue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SyVehicleModelMapper {
    int countByExample(SyVehicleModelExample example);

    int deleteByExample(SyVehicleModelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SyVehicleModel record);

    int insertSelective(SyVehicleModel record);

    List<SyVehicleModel> selectByExample(SyVehicleModelExample example);

    SyVehicleModel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SyVehicleModel record, @Param("example") SyVehicleModelExample example);

    int updateByExample(@Param("record") SyVehicleModel record, @Param("example") SyVehicleModelExample example);

    int updateByPrimaryKeySelective(SyVehicleModel record);

    int updateByPrimaryKey(SyVehicleModel record);

    List<String> selectDisplayForInitials();

    List<String> selectDisplayForBrand(@Param("initals") String initals);

    List<String> selectDisplayForSubbrand(@Param("brand") String brand);

    List<String> selectDisplayForBirthday(@Param("subbrand") String subbrand);

    List<String> displayVehicleTypeList();

    List<NameValue> displayVehicleColorList();

    List<NameValue> displayVehiclePlateTypeList();

    List<String> displayVehicleNjbNumberList();

}