package com.ruoyi.system.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.Tender;

import java.util.List;

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

    List<Tender> listTask();

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

}
