diff options
Diffstat (limited to 'java/MyMyBatis/src/ModelMapper.java')
-rw-r--r-- | java/MyMyBatis/src/ModelMapper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/MyMyBatis/src/ModelMapper.java b/java/MyMyBatis/src/ModelMapper.java index 77b1921..e71f851 100644 --- a/java/MyMyBatis/src/ModelMapper.java +++ b/java/MyMyBatis/src/ModelMapper.java @@ -7,7 +7,7 @@ import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Update; import org.apache.ibatis.annotations.Select; -public interface ModelMapper extends AbstractMapper<Model, Integer> +public interface ModelMapper extends AbstractMapper<Integer, Model> { final static String attrs = " id, name "; final static String from = " from models "; |