All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kukababy.plus.dao.DeleteFace Maven / Gradle / Ivy

The newest version!
package com.kukababy.plus.dao;

import java.io.Serializable;

import com.kukababy.plus.pager.SqlFilter;
import com.kukababy.plus.pojo.P;

/**
 * 
描述:删除接口
*
* * @author [email protected] * @date 2019年3月6日 上午9:32:03 */ public interface DeleteFace { /** * * 描述: 通过主键,删除一条记录
*
* * @param entityClass * @param id * @return */ int deleteId(Class entityClass, Serializable id); /** * * 描述: 通过一组条件,删除多条记录
* 1、where的逻辑是and,关系是等于(=)
* * @param entityClass * @param whereColVals * new P("name","BJ"),new new P("age",20) * @return */ int deleteBy(Class entityClass, P... whereColVals); int deleteBy(Class entityClass, SqlFilter sqlFilter); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy