package com.lightinit.hsdataplatform.mapper;

import com.lightinit.hsdataplatform.entity.Sector;
import com.lightinit.hsdataplatform.entity.SectorExample;
import java.util.List;

import com.lightinit.hsdataplatform.model.admin.SectorCountListModel;
import com.lightinit.hsdataplatform.model.admin.SectorCountSearchModel;
import org.apache.ibatis.annotations.Param;

public interface SectorMapper {
    long countByExample(SectorExample example);

    int deleteByExample(SectorExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Sector record);

    int insertSelective(Sector record);

    List<Sector> selectByExample(SectorExample example);

    Sector selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Sector record, @Param("example") SectorExample example);

    int updateByExample(@Param("record") Sector record, @Param("example") SectorExample example);

    int updateByPrimaryKeySelective(Sector record);

    int updateByPrimaryKey(Sector record);

    List<SectorCountListModel> queryList(SectorCountSearchModel inputModel);
}