package com.landtool.lanbase.modules.res.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.landtool.lanbase.modules.res.dao.Res_ExtDataBaseMapper; import com.landtool.lanbase.modules.res.entity.Res_ExtDataBase; import com.landtool.lanbase.modules.res.entity.DataBaseLeftDataSource.DataBaseLeftDataSource; import com.landtool.lanbase.modules.res.service.ResExtDataBaseService; /** * @Author: lizhao * @Date: 2018-03-24 9:55 * @Description:ResExtDataBase表的服务层 * */ @Service("ResExtDataBaseService") public class ResExtDataBaseServiceImpl implements ResExtDataBaseService { @Autowired private Res_ExtDataBaseMapper res_extDataBaseMapper; @Override public int deleteByPrimaryKey(Integer resourceid) { return res_extDataBaseMapper.deleteByPrimaryKey(resourceid); } @Override public int insert(Res_ExtDataBase record) { return res_extDataBaseMapper.insert(record); } @Override public int insertSelective(Res_ExtDataBase record) { return res_extDataBaseMapper.insertSelective(record); } @Override public Res_ExtDataBase selectByPrimaryKey(Integer datasourceid) { return res_extDataBaseMapper.selectByPrimaryKey(datasourceid); } @Override public int updateByPrimaryKeySelective(Res_ExtDataBase record) { return res_extDataBaseMapper.updateByPrimaryKeySelective(record); } @Override public int updateByPrimaryKey(Res_ExtDataBase record) { return res_extDataBaseMapper.updateByPrimaryKey(record); } @Override public Res_ExtDataBase selectByMainInfoId(Integer resMainInfoId) { return res_extDataBaseMapper.selectByMainInfoId(resMainInfoId); } @Override public DataBaseLeftDataSource selectBaseLeftSource(Integer resourceid) { return res_extDataBaseMapper.selectBaseLeftSource(resourceid); } }