2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
50
51
52
package com.landtool.lanbase.modules.res.service.impl;
 
import java.util.List;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import com.landtool.lanbase.modules.res.dao.Res_Theme_RelationMapper;
import com.landtool.lanbase.modules.res.entity.Res_Theme_Relation;
import com.landtool.lanbase.modules.res.service.ResThemeRelationService;
 
@Service
public class ResThemeRelationServiceImpl implements ResThemeRelationService {
 
    @Autowired
    private Res_Theme_RelationMapper resThemeRelationMapper;
 
    @Override
    public int insert(Res_Theme_Relation record) {
        return resThemeRelationMapper.insert(record);
    }
 
    @Override
    public int insertSelective(Res_Theme_Relation record) {
        return resThemeRelationMapper.insertSelective(record);
    }
 
    @Override
    public Res_Theme_Relation selectById(Integer themeid) {
        return resThemeRelationMapper.selectById(themeid);
    }
 
    @Override
    public int deleteByThemeId(Integer themeid) {
        return resThemeRelationMapper.deleteByThemeId(themeid);
    }
 
    @Override
    public int deleteByModuleId(Integer moduleid) {
        return resThemeRelationMapper.deleteByModuleId(moduleid);
    }
 
    @Override
    public List<Res_Theme_Relation> selectByIdList(Integer themeid) {
        return resThemeRelationMapper.selectByIdList(themeid);
    }
    
    @Override
    public int deleteByThemeIdAndModuleId(Res_Theme_Relation resThemeRelation) {
        return resThemeRelationMapper.deleteByThemeIdAndModuleId(resThemeRelation);
    }
}