heheng
4 天以前 4a91f037d3488ed7bc00664e1acc004810651f43
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
package com.gkhy.exam.system.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gkhy.exam.system.domain.Catalogue;
import com.gkhy.exam.system.domain.CatalogueData;
import com.gkhy.exam.system.domain.CatalogueDataFile;
import com.gkhy.exam.system.domain.req.CatalogueReq;
import com.gkhy.exam.system.domain.vo.CatalogueDataVo;
import com.gkhy.exam.system.domain.vo.CatalogueVo;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
 
import java.util.List;
 
@Mapper
public interface CatalogueMapper extends BaseMapper<Catalogue> {
    List<CatalogueVo> selectCatalogueList(CatalogueReq catalogueReq);
 
    List<CatalogueDataVo> selectCatalogueDataList(CatalogueReq catalogueReq);
 
    Integer insertCatalogueData(CatalogueData catalogueData);
 
    void insertCatalogueDataFile(CatalogueDataFile files);
 
    Integer updateCatalogueData(CatalogueData catalogueData);
 
    void updateCatalogueDataFile(CatalogueDataFile files);
 
    List<CatalogueDataFile> selectCatalogueDataFile(@Param("companyId") Integer companyId, @Param("catalogueId") Integer catalogueId);
 
    List<CatalogueData> selectByCompanyId(@Param("companyId") Integer companyId, @Param("catalogueId") Integer catalogueId);
 
    CatalogueData selectCatalogueDataById(@Param("catalogueDataId") Integer catalogueDataId);
 
    void updateCatalogueDataFileByCompanyId(CatalogueDataFile catalogueDataFile);
}