于紫祥_1901
2020-09-18 cb888577b99892706860d2732785d22842aae9b0
src/main/java/com/moral/mapper/RoleMapper.java
@@ -2,16 +2,13 @@
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Role;
import tk.mybatis.mapper.entity.Example;
public interface RoleMapper extends BaseMapper<Role> {
    int insertSelective(Role role);
    List<Role> getRoleList(Example example);
    int updateByPrimaryKeySelective(Role role);
    List<Role> getRoleList(@Param("roleName") String roleName);
}