package com.landtool.lanbase.modules.res.dao; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Mapper; 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; @Mapper public interface Res_ApplyRecommendMapper { int deleteByPrimaryKey(Integer appid); int insert(Res_ApplyRecommend record); int insertSelective(Res_ApplyRecommend record); Res_ApplyRecommend selectByPrimaryKey(Integer appid); int updateByPrimaryKeySelective(Res_ApplyRecommend record); int updateByPrimaryKey(Res_ApplyRecommend record); List shenQingZiYuan(Res_ApplyRecommend recommend); List selectResApplyreCommend(Res_ApplyRecommend recommend); int selectResApplyreCommendCount(Res_ApplyRecommend recommend); int updateResApplyreCommendResult(Res_ApplyRecommend record); Res_ApplyRecommend selectByResourceId(Integer resourceid); Res_ApplyRecommend selectByResApplyRecommend(Res_ApplyRecommend record); List selectResMainInfoShenQingZiYuan(MainInfoJoinApplyRecommend record); List getTopRecommend(Map map); List getAllRecommend(Map map); List getRecommendListByResourceid(Res_ApplyRecommend resApplyRecommend); //add: Xxx ������ȡ��Դ��������ͳ�� int getApplyCount(Integer resourceid); Res_ApplyRecommend checkZiYuanShenQing(Map map); int deleteByResourceid(Integer resourceid); int selectCountByResourceid(Integer resourceid); Res_ApplyRecommend selectByResourceidAndUserid(Res_ApplyRecommend record); List selectResMainInfoBySysid(MainInfoJoinApplyRecommend recommend); int checkAppZiYuan(Map map); List selectCatalog(Map map); List selectCatalogZiYuanList(Map map); List getResourceList(Map map); List selectResApplyreCommendForSys(Res_ApplyRecommend resApplyRecommend); Res_ApplyRecommend getApplyDate(Map param); }