添加权限管理功能

This commit is contained in:
zhh
2018-09-30 18:00:01 +08:00
parent 207a72d116
commit 7faffe541a
39 changed files with 5405 additions and 61 deletions

View File

@@ -0,0 +1,30 @@
package com.macro.mall.mapper;
import com.macro.mall.model.UmsAdminPermissionRelation;
import com.macro.mall.model.UmsAdminPermissionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsAdminPermissionRelationMapper {
int countByExample(UmsAdminPermissionRelationExample example);
int deleteByExample(UmsAdminPermissionRelationExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsAdminPermissionRelation record);
int insertSelective(UmsAdminPermissionRelation record);
List<UmsAdminPermissionRelation> selectByExample(UmsAdminPermissionRelationExample example);
UmsAdminPermissionRelation selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example);
int updateByExample(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example);
int updateByPrimaryKeySelective(UmsAdminPermissionRelation record);
int updateByPrimaryKey(UmsAdminPermissionRelation record);
}

View File

@@ -0,0 +1,30 @@
package com.macro.mall.mapper;
import com.macro.mall.model.UmsAdminRoleRelation;
import com.macro.mall.model.UmsAdminRoleRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsAdminRoleRelationMapper {
int countByExample(UmsAdminRoleRelationExample example);
int deleteByExample(UmsAdminRoleRelationExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsAdminRoleRelation record);
int insertSelective(UmsAdminRoleRelation record);
List<UmsAdminRoleRelation> selectByExample(UmsAdminRoleRelationExample example);
UmsAdminRoleRelation selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example);
int updateByPrimaryKeySelective(UmsAdminRoleRelation record);
int updateByPrimaryKey(UmsAdminRoleRelation record);
}

View File

@@ -0,0 +1,30 @@
package com.macro.mall.mapper;
import com.macro.mall.model.UmsPermission;
import com.macro.mall.model.UmsPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsPermissionMapper {
int countByExample(UmsPermissionExample example);
int deleteByExample(UmsPermissionExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsPermission record);
int insertSelective(UmsPermission record);
List<UmsPermission> selectByExample(UmsPermissionExample example);
UmsPermission selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example);
int updateByExample(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example);
int updateByPrimaryKeySelective(UmsPermission record);
int updateByPrimaryKey(UmsPermission record);
}

View File

@@ -0,0 +1,30 @@
package com.macro.mall.mapper;
import com.macro.mall.model.UmsRole;
import com.macro.mall.model.UmsRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsRoleMapper {
int countByExample(UmsRoleExample example);
int deleteByExample(UmsRoleExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsRole record);
int insertSelective(UmsRole record);
List<UmsRole> selectByExample(UmsRoleExample example);
UmsRole selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsRole record, @Param("example") UmsRoleExample example);
int updateByExample(@Param("record") UmsRole record, @Param("example") UmsRoleExample example);
int updateByPrimaryKeySelective(UmsRole record);
int updateByPrimaryKey(UmsRole record);
}

View File

@@ -0,0 +1,30 @@
package com.macro.mall.mapper;
import com.macro.mall.model.UmsRolePermissionRelation;
import com.macro.mall.model.UmsRolePermissionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsRolePermissionRelationMapper {
int countByExample(UmsRolePermissionRelationExample example);
int deleteByExample(UmsRolePermissionRelationExample example);
int deleteByPrimaryKey(Long id);
int insert(UmsRolePermissionRelation record);
int insertSelective(UmsRolePermissionRelation record);
List<UmsRolePermissionRelation> selectByExample(UmsRolePermissionRelationExample example);
UmsRolePermissionRelation selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example);
int updateByExample(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example);
int updateByPrimaryKeySelective(UmsRolePermissionRelation record);
int updateByPrimaryKey(UmsRolePermissionRelation record);
}