package com.mvc.dao;

import com.mvc.entity.TAffiliatedunit;
import com.mvc.entity.TAffiliatedunitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TAffiliatedunitMapper {
    long countByExample(TAffiliatedunitExample example);

    int deleteByExample(TAffiliatedunitExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TAffiliatedunit record);

    int insertSelective(TAffiliatedunit record);

    List<TAffiliatedunit> selectByExample(TAffiliatedunitExample example);

    TAffiliatedunit selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TAffiliatedunit record, @Param("example") TAffiliatedunitExample example);

    int updateByExample(@Param("record") TAffiliatedunit record, @Param("example") TAffiliatedunitExample example);

    int updateByPrimaryKeySelective(TAffiliatedunit record);

    int updateByPrimaryKey(TAffiliatedunit record);

    List<TAffiliatedunit> findTAffiliatedunitByCreateUnitCode(String createUnitCode);
}