AcademyDictMapper.java
1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.subsidy.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.model.AcademyDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.model.AdministerDO;
import com.subsidy.vo.academy.AcademiesVO;
import com.subsidy.vo.academy.AcademyAccountVO;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* <p>
* 院校字典表 Mapper 接口
* </p>
*
* @author Tuyp
* @since 2024-02-23
*/
@Repository
public interface AcademyDictMapper extends BaseMapper<AcademyDictDO> {
/**
* 查看所有院校
*/
IPage<AcademiesVO> academies(IPage iPage, String academyName);
/**
* 查看院校账号
*/
IPage<AcademyAccountVO> academyAccount(IPage iPage, String academyName);
/**
* 查看账户关联的院校
*/
List<AcademyDictDO> accountAcademies(Long administerId);
/**
* 查看账户关联的院校 返回id
*/
List<Long> accountAcademyIds(Long administerId);
/**
* 查看院校主账号
*/
AdministerDO mainAccount(Long academyId);
}