65 lines
1.2 KiB
Plaintext
65 lines
1.2 KiB
Plaintext
|
|
package com.sercurityControl.decision.mapper;
|
|||
|
|
|
|||
|
|
import com.sercurityControl.decision.domain.JjZbh;
|
|||
|
|
|
|||
|
|
import java.util.List;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* e基建同步的站会会表(JjZbh)表数据库访问层
|
|||
|
|
*
|
|||
|
|
* @author makejava
|
|||
|
|
* @since 2022-12-06 14:31:54
|
|||
|
|
*/
|
|||
|
|
public interface JjZbhMapper {
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 通过ID查询单条数据
|
|||
|
|
*
|
|||
|
|
* @param id 主键
|
|||
|
|
* @return 实例对象
|
|||
|
|
*/
|
|||
|
|
JjZbh queryById(String id);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 分页查询
|
|||
|
|
*
|
|||
|
|
* @param jjZbh 查询条件
|
|||
|
|
* @return 实例对象
|
|||
|
|
*/
|
|||
|
|
List<JjZbh> queryByPage(JjZbh jjZbh);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 新增数据
|
|||
|
|
*
|
|||
|
|
* @param jjZbh 实例对象
|
|||
|
|
* @return 影响行数
|
|||
|
|
*/
|
|||
|
|
int insert(JjZbh jjZbh);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 批量新增数据(MyBatis原生foreach方法)
|
|||
|
|
*
|
|||
|
|
* @param entities List<JjZbh> 实例对象列表
|
|||
|
|
* @return 影响行数
|
|||
|
|
*/
|
|||
|
|
int insertBatch(List<JjZbh> entities);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 修改数据
|
|||
|
|
*
|
|||
|
|
* @param jjZbh 实例对象
|
|||
|
|
* @return 影响行数
|
|||
|
|
*/
|
|||
|
|
int update(JjZbh jjZbh);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 通过主键删除数据
|
|||
|
|
*
|
|||
|
|
* @param id 主键
|
|||
|
|
* @return 影响行数
|
|||
|
|
*/
|
|||
|
|
int deleteById(String id);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|