package cn.ey.biz.module.system.dal.mapper.delegation;

import cn.ey.biz.framework.mybatis.core.mapper.BaseMapperX;
import cn.ey.biz.module.system.controller.admin.delegation.vo.UserDelegationSaveReqVO;
import cn.ey.biz.module.system.dal.dataobject.delegation.UserDelegationDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDelegationMapper extends BaseMapperX<UserDelegationDO> {
    /**
     * 按业务主键判断是否存在数据
     * @param list 查询参数
     * @return 存在的数据
     */
    List<UserDelegationDO> getBizUnique(@Param("list") List<UserDelegationSaveReqVO> list);
}




