package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.SubDoc;

import java.util.List;

/**
 * 参数配置 服务层
 *
 * @author ruoyi
 */
public interface ISubDocService extends IService<SubDoc>
{

    List<SubDoc> listTask();

    @DataSource(value = DataSourceType.SLAVE)
    boolean saveOrUpdateSlave(SubDoc entity);

}
