package com.ruoyi.mall.mapper;

import java.util.List;
import com.ruoyi.mall.domain.MallPrintSetting;

/**
 * 订单打印设置Mapper接口
 * 
 * @author ruoyi
 * @date 2022-08-03
 */
public interface MallPrintSettingMapper 
{
    /**
     * 查询订单打印设置
     * 
     * @param printSettingId 订单打印设置主键
     * @return 订单打印设置
     */
    public MallPrintSetting selectMallPrintSettingByPrintSettingId(Integer printSettingId);

    /**
     * 查询订单打印设置列表
     * 
     * @param mallPrintSetting 订单打印设置
     * @return 订单打印设置集合
     */
    public List<MallPrintSetting> selectMallPrintSettingList(MallPrintSetting mallPrintSetting);

    /**
     * 新增订单打印设置
     * 
     * @param mallPrintSetting 订单打印设置
     * @return 结果
     */
    public int insertMallPrintSetting(MallPrintSetting mallPrintSetting);

    /**
     * 修改订单打印设置
     * 
     * @param mallPrintSetting 订单打印设置
     * @return 结果
     */
    public int updateMallPrintSetting(MallPrintSetting mallPrintSetting);

    /**
     * 删除订单打印设置
     * 
     * @param printSettingId 订单打印设置主键
     * @return 结果
     */
    public int deleteMallPrintSettingByPrintSettingId(Integer printSettingId);

    /**
     * 批量删除订单打印设置
     * 
     * @param printSettingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallPrintSettingByPrintSettingIds(Integer[] printSettingIds);
}
