All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.didiglobal.logi.security.dao.UserProjectDao Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
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);

    /**
     * 根据用户idList查找项目idList
     * @param userIdList 用户idList
     * @return 项目idList
     */
    List selectProjectIdListByUserIdList(List userIdList);

    /**
     * 批量插入用户与项目的关联信息
     * @param userProjectList 用户与项目关联信息
     */
    void insertBatch(List userProjectList);

    /**
     * 根据项目id删除用户与项目的关联信息
     * @param projectId 项目id
     */
    void deleteByProjectId(Integer projectId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy