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