package com.ruoyi.oa.mapper;

import com.ruoyi.oa.domain.OaFurnitureTable;
import com.ruoyi.oa.domain.vo.OaFurnitureTableVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 家具Mapper接口
 *
 * @author liujingchao
 * @date 2025-07-08
 */
public interface OaFurnitureTableMapper extends BaseMapperPlus<OaFurnitureTableMapper, OaFurnitureTable, OaFurnitureTableVo> {

    /**
     * 邮件发送成功后，更新发送次数和上次发送时间
     */
    int updateEmailSendInfo(Long furnitureId);

    /**
     * 根据家具ID列表批量查询邮箱地址
     */
    List<String> selectEmailsByFurnitureIds(List<Long> furnitureIds);
}
