1
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
package com.ruoyi.system.mapper;
|
||||
|
||||
import com.ruoyi.common.core.domain.entity.SysUserDept;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户部门表 数据层
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
public interface SysUserDeptMapper
|
||||
{
|
||||
/**
|
||||
* 通过用户ID查询
|
||||
*
|
||||
* @param userId 用户ID
|
||||
* @return 用户对象信息
|
||||
*/
|
||||
public List<SysUserDept> selectUserById(Long userId);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param sysUserDept
|
||||
* @return 结果
|
||||
*/
|
||||
public int insert(SysUserDept sysUserDept);
|
||||
|
||||
/**
|
||||
* 批量新增
|
||||
* @param sysUserDept
|
||||
* @return
|
||||
*/
|
||||
public int batchSave(@Param("list") List<SysUserDept> sysUserDept);
|
||||
|
||||
/**
|
||||
* 通过用户ID删除
|
||||
*
|
||||
* @param userId 用户ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteUserById(@Param("userId)") Long userId);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param userIds 需要删除的用户ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteUserByIds(@Param("ids") Long[] userIds);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user