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 selectByIdList(Integer themeid) { return resThemeRelationMapper.selectByIdList(themeid); } @Override public int deleteByThemeIdAndModuleId(Res_Theme_Relation resThemeRelation) { return resThemeRelationMapper.deleteByThemeIdAndModuleId(resThemeRelation); } }