예제 #1
0
	/**
	 * 查找 地标
	 * @param id
	 * @return
	 */
	public Landmark findLandmark(long id){
		return landmarkManager.findLandmark(id);
	}
예제 #2
0
	/**
	 * 查找 地标 by language
	 * @param id
	 * @return
	 */
	public Landmark findLandmarkbylanguage(long id,Integer language){
		return landmarkManager.findLandmarkbylanguage(id,language);
	}
예제 #3
0
	/**
	 * 修改 地标但忽略空值 
	 * @param id
	 * @return 
	 */
	public int updateLandmarkIgnoreNull(Landmark landmark){
			return landmarkManager.updateLandmarkIgnoreNull(landmark);
	
	}
예제 #4
0
	/**
	 * 查找 地标
	 * @param where
	 * @param orderby
	 * @param limit
	 * @param offset
	 * @return
	 */
	public List findAllLandmark(String where, String orderby,int limit,int offset){
		return landmarkManager.findAllLandmark(where, orderby,limit,offset);
	}
예제 #5
0
	/**
	 * 删除 地标
	 * @param id
	 * @return deleted count 
	 */
	public int deleteLandmark(long id){
	
		return landmarkManager.deleteLandmark(id);
	}
예제 #6
0
	/**
	 * 修改 地标
	 * @param id
	 * @return updated count 
	 */
	public int updateLandmark(Landmark landmark){
		return landmarkManager.updateLandmark(landmark);
	
	}
예제 #7
0
 	/**
	 * 创建 地标
	 * @param id
	 * @return deleted count 
	 */
	public Landmark createLandmark(Landmark landmark) throws SQLException{
	
		return landmarkManager.createLandmark(landmark);
	}
예제 #8
0
	/**
	 * 执行Sql 
	 * @param sql 
	 * @return  count 
	 */
	public int countLandmarkBySql(String sql){
		return landmarkManager.countLandmarkBySql(sql);
	}
예제 #9
0
	/**
	 * 执行Sql 地标
	 * @param sql 
	 * @return updated count 
	 */
	public int excuteLandmarkBySql(String sql){
		return landmarkManager.excuteLandmarkBySql(sql);
	}
예제 #10
0
	/** 
	 * 根据Sql查找地标
	 * @param sql
	 * @param limit
	 * @param offset
	 * @return
	 */
	public List findAllLandmark(String sql,int limit,int offset){
		return landmarkManager.findAllLandmark(sql,limit,offset);
	}
예제 #11
0
	/** 
	 * 查找 地标
	 * @param where
	 * @param orderby
	 * @param pageinfo
	 * @return
	 */
	public List findAllLandmark(String where, String orderby,PageInfo pageinfo){
		return landmarkManager.findAllLandmark(where, orderby,pageinfo);
	}