com.didiglobal.logi.security.dao.UserProjectDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.dao;
import com.didiglobal.logi.security.common.entity.UserProject;
import java.util.List;
/**
* @author cjm
*/
public interface UserProjectDao {
/**
* 根据项目id查负责人用户idList
* @param projectId 项目id
* @return 用户idList
*/
List selectUserIdListByProjectId(Integer projectId, int type);
/**
* 根据用户idList查找项目idList
* @param userIdList 用户idList
* @return 项目idList
*/
List selectProjectIdListByUserIdList(List userIdList);
/**
* 批量插入用户与项目的关联信息
* @param userProjectList 用户与项目关联信息
*/
void insertBatch(List userProjectList);
/**
* 删除项目和用户关系
* @param userProjectList
* @return
*/
int deleteUserProject(List userProjectList);
/**
* 根据项目id删除用户与项目的关联信息
* @param projectId 项目id
*/
void deleteByProjectId(Integer projectId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy