package com.srs.comprehensive.mapper;

import com.srs.common.annotation.DataSource;
import com.srs.common.enums.DataSourceType;
import com.srs.comprehensive.domain.SumClassTwo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
//第二课程
@Mapper
public interface SumClassTwoMapper {

    //查询全部
    @DataSource(DataSourceType.SLAVE)
    List<SumClassTwo> selectSumClassTwoAll();
    //修改
    @DataSource(DataSourceType.SLAVE)
    int updateSum(SumClassTwo sumClassTwo);
}
