Skip to content

Instantly share code, notes, and snippets.

@safeJar
Created September 21, 2015 01:54
Show Gist options
  • Select an option

  • Save safeJar/27ed8d87fef525e5344d to your computer and use it in GitHub Desktop.

Select an option

Save safeJar/27ed8d87fef525e5344d to your computer and use it in GitHub Desktop.
mybatis baseService
package com.intel.service;
import java.util.List;
public interface BaseService<T> {
public void insert(T model);
public void delete(int... ids);
public void update(T model);
public T get(int id);
public List<T> query(T model);
public int queryCount(T model);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment