Example #1
0
	/** 
	 * 查找 其他电话
	 * @param where
	 * @param orderby
	 * @param pageinfo
	 * @return
	 */
	public List findAllTelephone(String where, String orderby,PageInfo pageinfo){
		return telephoneManager.findAllTelephone(where, orderby,pageinfo);
	}
Example #2
0
	/**
	 * 查找 其他电话
	 * @param where
	 * @param orderby
	 * @param limit
	 * @param offset
	 * @return
	 */
	public List findAllTelephone(String where, String orderby,int limit,int offset){
		return telephoneManager.findAllTelephone(where, orderby,limit,offset);
	}
Example #3
0
	/**
	 * 查找 其他电话
	 * @param id
	 * @return
	 */
	public Telephone findTelephone(long id){
		return telephoneManager.findTelephone(id);
	}
Example #4
0
	/**
	 * 修改 其他电话
	 * @param id
	 * @return updated count 
	 */
	public int updateTelephone(Telephone telephone){
		return telephoneManager.updateTelephone(telephone);
	
	}
Example #5
0
	/**
	 * 修改 其他电话但忽略空值 
	 * @param id
	 * @return 
	 */
	public int updateTelephoneIgnoreNull(Telephone telephone){
			return telephoneManager.updateTelephoneIgnoreNull(telephone);
	
	}
Example #6
0
	/**
	 * 删除 其他电话
	 * @param id
	 * @return deleted count 
	 */
	public int deleteTelephone(long id){
	
		return telephoneManager.deleteTelephone(id);
	}
Example #7
0
 	/**
	 * 创建 其他电话
	 * @param id
	 * @return deleted count 
	 */
	public Telephone createTelephone(Telephone telephone) throws SQLException{
	
		return telephoneManager.createTelephone(telephone);
	}
Example #8
0
	/**
	 * 执行Sql 
	 * @param sql 
	 * @return  count 
	 */
	public int countTelephoneBySql(String sql){
		return telephoneManager.countTelephoneBySql(sql);
	}
Example #9
0
	/**
	 * 执行Sql 其他电话
	 * @param sql 
	 * @return updated count 
	 */
	public int excuteTelephoneBySql(String sql){
		return telephoneManager.excuteTelephoneBySql(sql);
	}
Example #10
0
	/** 
	 * 根据Sql查找其他电话
	 * @param sql
	 * @param limit
	 * @param offset
	 * @return
	 */
	public List findAllTelephone(String sql,int limit,int offset){
		return telephoneManager.findAllTelephone(sql,limit,offset);
	}