

package com.lideeyunji.core.framework.mapper.example;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;

import java.util.List;
import java.util.Map;


public interface ExampleDbFormMapper {
    @DS(lideeYunJiBaseConstant.DS_lideeyunji)
    IPage<Map<String, Object>> getStudentPage(Page page, Map<String, Object> params);
    @DS(lideeYunJiBaseConstant.DS_lideeyunji)
    Long getStudentBySon(Long sno);
    @DS(lideeYunJiBaseConstant.DS_lideeyunji)
    Integer delScoreByStudentId(List<Long> studentIdList);
    @DS(lideeYunJiBaseConstant.DS_lideeyunji)
    Long getStudentExcludIdBySon(Long id, Long sno);
    @DS(lideeYunJiBaseConstant.DS_lideeyunji)
    Map<String, Object> getStudentById(Long id);
    @DS(lideeYunJiBaseConstant.DS_lideeyunji)
    // 通过日程管理id获取日历管理附表数据
    List<Map<String, Object>> getSubmoredateByMainDateId(Long mainDateId);
}
