@@ -0,0 +1,645 @@
+/*%0D%0A * @(#)RoleMapper.java 2013-3-7 %E4%B8%8B%E5%8D%8823:33:33%0D%0A *%0D%0A * Copyright (c) 2011-2013 Makersoft.org all rights reserved.%0D%0A *%0D%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0D%0A *%0D%0A */%0D%0Apackage org.makersoft.shards.mapper;%0D%0A%0D%0Aimport java.util.List;%0D%0A%0D%0Aimport org.makersoft.shards.annotation.MyBatisMapper;%0D%0Aimport org.makersoft.shards.domain.Role;%0D%0A%0D%0A/**%0D%0A * Role mapper for test.%0D%0A */%0D%0A@MyBatisMapper%0D%0Apublic interface RoleMapper %7B%0D%0A%0D%0A%09int insert(Role role);%0D%0A%0D%0A%09Role findById(String id);%0D%0A%0D%0A%09List%3CRole%3E findAll();%0D%0A%0D%0A%09Integer findAllCount();%0D%0A%09%0D%0A%09int updateById(Role role);%0D%0A%09%0D%0A%09int deleteById(String id);%0D%0A%0D%0A%09int deleteAll();%0D%0A%0D%0A%7D%0D%0A

add RoleMapper