cn.vonce.sql.service.InsertService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vonce-sqlbean-core Show documentation
Show all versions of vonce-sqlbean-core Show documentation
This is the core project of Sqlbean.
The newest version!
package cn.vonce.sql.service;
import cn.vonce.sql.bean.Insert;
import java.util.Collection;
import java.util.List;
/**
* Insert 通用业务接口
*
* @param
* @author Jovi
* @version 1.0
* @email [email protected]
* @date 2019年6月27日下午3:57:33
*/
public interface InsertService {
/**
* 插入数据
*
* @param bean 单个实体或数组
* @return
*/
@SuppressWarnings("unchecked")
int insert(T... bean);
/**
* 插入数据
*
* @param beanList 实体列表
* @return
*/
@SuppressWarnings("unchecked")
int insert(Collection beanList);
/**
* 插入数据
*
* @param insert 插入对象
* @return
*/
int insert(Insert insert);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy