package com.mindskip.xzs.repository; /** * @param the type parameter * @version 2.2.0 * @description: 仓储基础类 * Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司 * @date 2021 /9/7 9:45 */ public interface BaseMapper { /** * Delete by primary key int. * * @param id the id * @return the int */ int deleteByPrimaryKey(Integer id); /** * Insert int. * * @param record the record * @return the int */ int insert(T record); /** * Insert selective int. * * @param record the record * @return the int */ int insertSelective(T record); /** * Select by primary key t. * * @param id the id * @return the t */ T selectByPrimaryKey(Integer id); /** * Update by primary key selective int. * * @param record the record * @return the int */ int updateByPrimaryKeySelective(T record); /** * Update by primary key int. * * @param record the record * @return the int */ int updateByPrimaryKey(T record); }