Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDeptDao ¶
type IDeptDao interface { SelectDeptList(db dataUtil.DB, dept *systemModels.SysDeptDQL) (sysDeptList []*systemModels.SysDeptVo) SelectDeptById(db dataUtil.DB, deptId int64) (dept *systemModels.SysDeptVo) InsertDept(db dataUtil.DB, dept *systemModels.SysDeptAdd) UpdateDept(db dataUtil.DB, dept *systemModels.SysDeptEdit) DeleteDeptById(db dataUtil.DB, deptId int64) CheckDeptNameUnique(db dataUtil.DB, deptName string, parentId int64) int64 HasChildByDeptId(db dataUtil.DB, deptId int64) int CheckDeptExistUser(db dataUtil.DB, deptId int64) int SelectDeptListByRoleId(db dataUtil.DB, roleId int64, deptCheckStrictly bool) (deptIds []string) }
type IDictDataDao ¶
type IDictDataDao interface { SelectDictDataByType(db dataUtil.DB, dictType string) (SysDictDataList []*systemModels.SysDictDataVo) SelectDictDataList(db dataUtil.DB, dictData *systemModels.SysDictDataDQL) (list []*systemModels.SysDictDataVo, total *int64) SelectDictDataById(db dataUtil.DB, dictCode int64) (dictData *systemModels.SysDictDataVo) InsertDictData(db dataUtil.DB, dictData *systemModels.SysDictDataAdd) UpdateDictData(db dataUtil.DB, dictData *systemModels.SysDictDataEdit) DeleteDictDataByIds(db dataUtil.DB, dictCodes []int64) CountDictDataByTypes(db dataUtil.DB, dictType []string) int }
type IDictTypeDao ¶
type IDictTypeDao interface { SelectDictTypeList(db dataUtil.DB, dictType *systemModels.SysDictTypeDQL) (list []*systemModels.SysDictTypeVo, total *int64) SelectDictTypeAll(db dataUtil.DB) (list []*systemModels.SysDictTypeVo) SelectDictTypeById(db dataUtil.DB, dictId int64) (dictType *systemModels.SysDictTypeVo) SelectDictTypeByIds(db dataUtil.DB, dictId []int64) (dictTypes []string) InsertDictType(db dataUtil.DB, dictType *systemModels.SysDictTypeAdd) UpdateDictType(db dataUtil.DB, dictType *systemModels.SysDictTypeEdit) DeleteDictTypeByIds(db dataUtil.DB, dictIds []int64) (err error) CheckDictTypeUnique(db dataUtil.DB, dictType string) int64 }
type IPermissionDao ¶
type IPermissionDao interface { SelectPermissionById(db dataUtil.DB, permissionId int64) (Permission *systemModels.SysPermissionVo) SelectPermissionList(db dataUtil.DB, permission *systemModels.SysPermissionDQL) (list []*systemModels.SysPermissionVo) SelectPermissionListByUserId(db dataUtil.DB, Permission *systemModels.SysPermissionDQL) (list []*systemModels.SysPermissionVo) InsertPermission(db dataUtil.DB, permission *systemModels.SysPermissionDML) UpdatePermission(db dataUtil.DB, permission *systemModels.SysPermissionDML) DeletePermissionById(db dataUtil.DB, permissionId int64) SelectPermissionPermsByUserId(db dataUtil.DB, userId int64) (perms []string) CheckPermissionNameUnique(db dataUtil.DB, permissionName string, parentId int64) int64 HasChildByPermissionId(db dataUtil.DB, permissionId int64) int SelectPermissionListByRoleId(db dataUtil.DB, roleId int64, PermissionCheckStrictly bool) (roleIds []string) }
type IPostDao ¶
type IPostDao interface { SelectPostAll(db dataUtil.DB) (sysPost []*systemModels.SysPostVo) SelectPostListByUserId(db dataUtil.DB, userId int64) (list []int64) SelectPostList(db dataUtil.DB, post *systemModels.SysPostDQL) (list []*systemModels.SysPostVo, total *int64) SelectPostById(db dataUtil.DB, postId int64) (dictData *systemModels.SysPostVo) InsertPost(db dataUtil.DB, post *systemModels.SysPostAdd) UpdatePost(db dataUtil.DB, post *systemModels.SysPostEdit) DeletePostByIds(db dataUtil.DB, dictCodes []int64) SelectPostNameListByUserId(db dataUtil.DB, userId int64) (list []string) }
type IRoleDao ¶
type IRoleDao interface { SelectRoleList(db dataUtil.DB, role *systemModels.SysRoleDQL) (roleList []*systemModels.SysRoleVo, total *int64) SelectRoleById(db dataUtil.DB, roleId int64) (role *systemModels.SysRoleVo) SelectBasicRolesByUserId(db dataUtil.DB, userId int64) (roles []*systemModels.SysRole) SelectRolePermissionByUserId(db dataUtil.DB, userId int64) (roles []string) SelectRoleIdAndDataScopeByUserId(db dataUtil.DB, userId int64) (roles []*baizeEntity.Role) SelectRoleListByUserId(db dataUtil.DB, userId int64) (list []int64) InsertRole(db dataUtil.DB, sysRole *systemModels.SysRoleAdd) UpdateRole(db dataUtil.DB, sysRole *systemModels.SysRoleEdit) DeleteRoleByIds(db dataUtil.DB, ids []int64) CheckRoleNameUnique(db dataUtil.DB, roleName string) int64 CheckRoleKeyUnique(db dataUtil.DB, roleKey string) int64 SelectAllocatedList(db dataUtil.DB, user *systemModels.SysRoleAndUserDQL) (list []*systemModels.SysUserVo, total *int64) SelectUnallocatedList(db dataUtil.DB, user *systemModels.SysRoleAndUserDQL) (list []*systemModels.SysUserVo, total *int64) }
type IRoleDeptDao ¶
type IRoleDeptDao interface { DeleteRoleDept(db dataUtil.DB, ids []int64) DeleteRoleDeptByRoleId(db dataUtil.DB, id int64) BatchRoleDept(db dataUtil.DB, list []*systemModels.SysRoleDept) }
type IRolePermissionDao ¶
type IUserDao ¶
type IUserDao interface { CheckUserNameUnique(db dataUtil.DB, userName string) int CheckPhoneUnique(db dataUtil.DB, phonenumber string) int64 CheckEmailUnique(db dataUtil.DB, email string) int64 InsertUser(db dataUtil.DB, sysUser *systemModels.SysUserAdd) UpdateUser(db dataUtil.DB, sysUser *systemModels.SysUserEdit) SelectUserByUserName(db dataUtil.DB, userName string) (loginUser *systemModels.User) SelectUserById(db dataUtil.DB, userId int64) (sysUser *systemModels.SysUserVo) SelectUserList(db dataUtil.DB, user *systemModels.SysUserDQL) (sysUserList []*systemModels.SysUserVo, total *int64) DeleteUserByIds(db dataUtil.DB, ids []int64) UpdateLoginInformation(db dataUtil.DB, userId int64, ip string) UpdateUserAvatar(db dataUtil.DB, userId int64, avatar string) ResetUserPwd(db dataUtil.DB, userId int64, password string) SelectPasswordByUserId(db dataUtil.DB, userId int64) string }
type IUserPostDao ¶
type IUserPostDao interface { BatchUserPost(db dataUtil.DB, users []*systemModels.SysUserPost) DeleteUserPostByUserId(db dataUtil.DB, userId int64) DeleteUserPost(db dataUtil.DB, ids []int64) }
type IUserRoleDao ¶
type IUserRoleDao interface { DeleteUserRole(db dataUtil.DB, ids []int64) BatchUserRole(db dataUtil.DB, users []*systemModels.SysUserRole) DeleteUserRoleByUserId(db dataUtil.DB, userId int64) CountUserRoleByRoleId(db dataUtil.DB, ids []int64) int DeleteUserRoleInfo(db dataUtil.DB, userRole *systemModels.SysUserRole) DeleteUserRoleInfos(db dataUtil.DB, roleId int64, userIds []int64) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.