package com.landtool.lanbase.modules.res.service.impl;
|
|
import java.util.List;
|
import java.util.Map;
|
import java.util.Objects;
|
|
import org.apache.commons.lang.StringUtils;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import com.landtool.lanbase.modules.res.dao.Res_ApplyRecommendMapper;
|
import com.landtool.lanbase.modules.res.entity.Res_ApplyRecommend;
|
import com.landtool.lanbase.modules.res.entity.Res_Catalog;
|
import com.landtool.lanbase.modules.res.entity.Res_MainInfo;
|
import com.landtool.lanbase.modules.res.entity.UserDefined.MainInfoJoinApplyRecommend;
|
import com.landtool.lanbase.modules.res.entity.UserDefined.MainInfoJoinApplyRecommendInfo;
|
import com.landtool.lanbase.modules.res.service.ResApplyRecommendService;
|
|
@Service("resApplyRecommendService")
|
public class ResApplyRecommendServiceImpl implements ResApplyRecommendService {
|
|
@Autowired
|
private Res_ApplyRecommendMapper res_applyRecommendMapper;
|
|
@Override
|
public int deleteByPrimaryKey(Integer actionid) {
|
return res_applyRecommendMapper.deleteByPrimaryKey(actionid);
|
}
|
|
@Override
|
public int insert(Res_ApplyRecommend record) {
|
return res_applyRecommendMapper.insert(record);
|
}
|
|
@Override
|
public int insertSelective(Res_ApplyRecommend record) {
|
return res_applyRecommendMapper.insertSelective(record);
|
}
|
|
@Override
|
public Res_ApplyRecommend selectByPrimaryKey(Integer actionid) {
|
return res_applyRecommendMapper.selectByPrimaryKey(actionid);
|
}
|
|
@Override
|
public Res_ApplyRecommend selectByResApplyRecommend(Res_ApplyRecommend record) {
|
return res_applyRecommendMapper.selectByResApplyRecommend(record);
|
}
|
|
@Override
|
public int updateByPrimaryKeySelective(Res_ApplyRecommend record) {
|
return res_applyRecommendMapper.updateByPrimaryKeySelective(record);
|
}
|
|
@Override
|
public int updateByPrimaryKey(Res_ApplyRecommend record) {
|
return res_applyRecommendMapper.updateByPrimaryKey(record);
|
}
|
|
@Override
|
public List<MainInfoJoinApplyRecommend> shenQingZiYuan(Res_ApplyRecommend recommend) {
|
return res_applyRecommendMapper.shenQingZiYuan(recommend);
|
}
|
|
@Override
|
public List<MainInfoJoinApplyRecommendInfo> selectResApplyreCommend(Res_ApplyRecommend recommend) {
|
return res_applyRecommendMapper.selectResApplyreCommend(recommend);
|
}
|
|
@Override
|
public int selectResApplyreCommendCount(Res_ApplyRecommend recommend) {
|
return res_applyRecommendMapper.selectResApplyreCommendCount(recommend);
|
}
|
|
@Override
|
public int updateResApplyreCommendResult(Res_ApplyRecommend record) {
|
return res_applyRecommendMapper.updateResApplyreCommendResult(record);
|
}
|
|
@Override
|
public List<MainInfoJoinApplyRecommend> selectResMainInfoShenQingZiYuan(MainInfoJoinApplyRecommend record) {
|
return res_applyRecommendMapper.selectResMainInfoShenQingZiYuan(record);
|
}
|
|
@Override
|
public List<Res_MainInfo> getTopRecommend(Map<String, Object> map) {
|
return res_applyRecommendMapper.getTopRecommend(map);
|
}
|
|
@Override
|
public List<Res_MainInfo> getAllRecommend(Map<String, Object> map) {
|
return res_applyRecommendMapper.getAllRecommend(map);
|
}
|
|
@Override
|
public List<Res_ApplyRecommend> getRecommendListByResourceid(Res_ApplyRecommend resApplyRecommend) {
|
return res_applyRecommendMapper.getRecommendListByResourceid(resApplyRecommend);
|
}
|
|
//add: Xxx ������ȡ��Դ��������ͳ��
|
@Override
|
public int getApplyCount(Integer resourceid) {
|
return res_applyRecommendMapper.getApplyCount(resourceid);
|
}
|
|
@Override
|
public Res_ApplyRecommend checkZiYuanShenQing(Map<String, Object> map) {
|
return res_applyRecommendMapper.checkZiYuanShenQing(map);
|
}
|
|
@Override
|
public int deleteByResourceid(Integer resourceid) {
|
return res_applyRecommendMapper.deleteByResourceid(resourceid);
|
}
|
|
@Override
|
public int selectCountByResourceid(Integer resourceid) {
|
return res_applyRecommendMapper.selectCountByResourceid(resourceid);
|
}
|
|
@Override
|
public Res_ApplyRecommend selectByResourceidAndUserid(Res_ApplyRecommend recommend) {
|
return res_applyRecommendMapper.selectByResourceidAndUserid(recommend);
|
}
|
|
@Override
|
public List<MainInfoJoinApplyRecommend> selectResMainInfoBySysid(MainInfoJoinApplyRecommend recommend){
|
return res_applyRecommendMapper.selectResMainInfoBySysid(recommend);
|
}
|
|
@Override
|
public int checkAppZiYuan(Map<String, Object> map) {
|
return res_applyRecommendMapper.checkAppZiYuan(map);
|
}
|
|
@Override
|
public List<Res_Catalog> selectCatalog(Map<String, Object> map){
|
return res_applyRecommendMapper.selectCatalog(map);
|
}
|
|
@Override
|
public List<Res_MainInfo> selectCatalogZiYuanList(Map<String, Object> map){
|
return res_applyRecommendMapper.selectCatalogZiYuanList(map);
|
}
|
|
@Override
|
public List<Res_MainInfo> getResourceList(Map<String, Object> map) {
|
return res_applyRecommendMapper.getResourceList(map);
|
}
|
|
@Override
|
public List<MainInfoJoinApplyRecommendInfo> selectResApplyreCommendForSys(Res_ApplyRecommend resApplyRecommend) {
|
return res_applyRecommendMapper.selectResApplyreCommendForSys(resApplyRecommend);
|
}
|
|
|
public Res_ApplyRecommend getApplyDate(Map<String, Object> param) {
|
|
return res_applyRecommendMapper.getApplyDate(param);
|
}
|
}
|