| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- package com.goafanti.common.dao;
- import com.goafanti.common.model.StandardPlatformLink;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.data.domain.Pageable;
- import java.util.List;
- /**
- * 标准平台连接(StandardPlatformLink)表数据库访问层
- *
- * @author makejava
- * @since 2024-07-02 09:43:35
- */
- public interface StandardPlatformLinkMapper {
- /**
- * 通过ID查询单条数据
- *
- * @param id 主键
- * @return 实例对象
- */
- StandardPlatformLink queryById(Integer id);
- /**
- * 查询指定行数据
- *
- * @param standardPlatformLink 查询条件
- * @param pageable 分页对象
- * @return 对象列表
- */
- List<StandardPlatformLink> queryAllByLimit(StandardPlatformLink standardPlatformLink, @Param("pageable") Pageable pageable);
- /**
- * 统计总行数
- *
- * @param standardPlatformLink 查询条件
- * @return 总行数
- */
- Integer queryAllByCount(StandardPlatformLink standardPlatformLink);
- /**
- * 新增数据
- *
- * @param standardPlatformLink 实例对象
- * @return 影响行数
- */
- int insert(StandardPlatformLink standardPlatformLink);
- /**
- * 批量新增数据(MyBatis原生foreach方法)
- *
- * @param entities List<StandardPlatformLink> 实例对象列表
- * @return 影响行数
- */
- int insertBatch(@Param("entities") List<StandardPlatformLink> entities);
- /**
- * 批量新增或按主键更新数据(MyBatis原生foreach方法)
- *
- * @param entities List<StandardPlatformLink> 实例对象列表
- * @return 影响行数
- * @throws org.springframework.jdbc.BadSqlGrammarException 入参是空List的时候会抛SQL语句错误的异常,请自行校验入参
- */
- int insertOrUpdateBatch(@Param("entities") List<StandardPlatformLink> entities);
- /**
- * 修改数据
- *
- * @param standardPlatformLink 实例对象
- * @return 影响行数
- */
- int update(StandardPlatformLink standardPlatformLink);
- /**
- * 通过主键删除数据
- *
- * @param id 主键
- * @return 影响行数
- */
- int deleteById(Integer id);
- }
|