SmartUserRelationMapper.java 1.52 KB
package com.glsx.smart.mapper;

import java.util.List;
import com.glsx.smart.entity.SmartUserRelation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>Description:
 * <p>Project: chejia-smart
 *
 * @author wbh
 * @date 2021-03-15
 */

@Mapper
public interface SmartUserRelationMapper
        extends tk.mybatis.mapper.common.Mapper<SmartUserRelation> {
    //long countByExample(SmartUserRelationExample example);
    //
    //int deleteByExample(SmartUserRelationExample example);
    //
    //int deleteByPrimaryKey(Long id);
    //
    //int insert(SmartUserRelation record);

    int insertOrUpdate(SmartUserRelation record);

    int insertOrUpdateSelective(SmartUserRelation record);

    //int insertSelective(SmartUserRelation record);
    //
    //List<SmartUserRelation> selectByExample(SmartUserRelationExample example);
    //
    //SmartUserRelation selectByPrimaryKey(Long id);
    //
    //int updateByExampleSelective(@Param("record") SmartUserRelation record,
    //        @Param("example") SmartUserRelationExample example);
    //
    //int updateByExample(@Param("record") SmartUserRelation record,
    //        @Param("example") SmartUserRelationExample example);
    //
    //int updateByPrimaryKeySelective(SmartUserRelation record);
    //
    //int updateByPrimaryKey(SmartUserRelation record);

    int updateBatch(List<SmartUserRelation> list);

    int updateBatchSelective(List<SmartUserRelation> list);

    int batchInsert(@Param("list") List<SmartUserRelation> list);
}