Created
September 21, 2015 01:54
-
-
Save safeJar/27ed8d87fef525e5344d to your computer and use it in GitHub Desktop.
mybatis baseService
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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