package com.ruoyi.mall.mapper;

import java.util.List;
import com.ruoyi.mall.domain.OfflineServices;
import com.ruoyi.mall.domain.OfflineServicesRegister;
import org.apache.ibatis.annotations.Param;

/**
 * 线下服务Mapper接口
 * 
 * @author ruoyi
 * @date 2023-10-16
 */
public interface OfflineServicesMapper 
{
    /**
     * 查询线下服务
     * 
     * @param serviceId 线下服务主键
     * @return 线下服务
     */
    public OfflineServices selectOfflineServicesByServiceId(Long serviceId);

    /**
     * 查询线下服务列表
     * 
     * @param offlineServices 线下服务
     * @return 线下服务集合
     */
    public List<OfflineServices> selectOfflineServicesList(OfflineServices offlineServices);

    /**
     * 新增线下服务
     * 
     * @param offlineServices 线下服务
     * @return 结果
     */
    public int insertOfflineServices(OfflineServices offlineServices);

    /**
     * 修改线下服务
     * 
     * @param offlineServices 线下服务
     * @return 结果
     */
    public int updateOfflineServices(OfflineServices offlineServices);



    /**
     * 逻辑批量删除线下服务
     * 
     * @param serviceIds 需要删除的数据主键集合
     * @return 结果
     */
    public int logicDelOfflineServicesByServiceIds(@Param("serviceIds") Long[] serviceIds, @Param("offlineServices") OfflineServices offlineServices);
    public int logicDelOfflineServicesByServiceId(@Param("offlineServices") OfflineServices offlineServices);


}
