You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lvyuou/IServiceBase.java

22 lines
542 B

package com.base;
import tk.mybatis.mapper.entity.Example;
import java.util.List;
/**
* Service基本类接口
* @param <E>
*/
public interface IServiceBase<E> {
public List<E> select();
public List<E> select(E y);
public E find(Object id);
public E findEntity(E id);
public List<E> selectPage(E obj, int page, int pageSize);
public List<E> selectPageExample(Example obj , int page , int pageSize);
public int delete(Object id);
public int insert(E y);
public int update(E y);
}