package org.dromara.zhishu.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.zhishu.domain.FastMail;
import org.dromara.zhishu.domain.vo.FastMailVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 快递打单账号管理Mapper接口
 *
 * @author yxy
 * @date 2025-06-06
 */
public interface FastMailMapper extends BaseMapperPlus<FastMail, FastMailVo> {


    FastMailVo selectByUserIdAndType(@Param("userId") String userId,@Param("type") String type);

    /**
     * 根据面单类型删除数据
     * @param fastMailType
     * @return
     */
    int deleteByFastMailType(@Param("userId") Long userId,@Param("fastMailType") String fastMailType);
}
