package com.sunda.spmsoversea.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sunda.spmscommon.ResponseResult;
import com.sunda.spmsoversea.dto.WhsDumpConfigDTO;
import com.sunda.spmsoversea.dto.WhsDumpConfigQueryDTO;
import com.sunda.spmsoversea.entity.WhsDumpConfig;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * IPO工厂转储配置表 服务类
 * </p>
 *
 * @author Hzc
 * @since 2023-02-22
 */
public interface IWhsDumpConfigService extends IService<WhsDumpConfig> {

    IPage getWhsDumpConfigPage(WhsDumpConfigQueryDTO whsDumpConfigQueryDTO);

    ResponseResult createOrUpdateWhsDumpConfig(WhsDumpConfigDTO whsDumpConfigDTO, String userId) throws Exception;

    ResponseResult deleteWhsDumpConfig(WhsDumpConfigDTO whsDumpConfigDTO, String userId) throws Exception;
}
