SmartSysCodeMapper.java 1.41 KB
package com.glsx.smart.mapper;

import java.util.List;
import com.glsx.smart.entity.SmartSysCode;
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 SmartSysCodeMapper extends tk.mybatis.mapper.common.Mapper<SmartSysCode> {
    //long countByExample(SmartSysCodeExample example);
    //
    //int deleteByExample(SmartSysCodeExample example);
    //
    //int deleteByPrimaryKey(Long id);
    //
    //int insert(SmartSysCode record);

    int insertOrUpdate(SmartSysCode record);

    int insertOrUpdateSelective(SmartSysCode record);

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

    int updateBatch(List<SmartSysCode> list);

    int updateBatchSelective(List<SmartSysCode> list);

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