package com.ruoyi.jarvis.mapper;

import com.ruoyi.jarvis.domain.ErpOpenConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ErpOpenConfigMapper {

    ErpOpenConfig selectById(Long id);

    ErpOpenConfig selectByAppKey(@Param("appKey") String appKey);

    List<ErpOpenConfig> selectList(ErpOpenConfig query);

    List<ErpOpenConfig> selectEnabledOrderBySort();

    int insert(ErpOpenConfig row);

    int update(ErpOpenConfig row);

    int deleteById(Long id);
}
