/**
 * output package name
 */
package com.kingdee.eas.custom.gggl.client;

import java.awt.event.*;
import org.apache.log4j.Logger;
import com.kingdee.bos.ui.face.CoreUIObject;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.custom.gggl.AdvertInfo;
import com.kingdee.eas.framework.*;
import com.kingdee.eas.framework.report.util.RptParams;

/**
 * output class name
 */
public class GgLeaseStatusReportFulterUI extends AbstractGgLeaseStatusReportFulterUI
{
    private static final Logger logger = CoreUIObject.getLogger(GgLeaseStatusReportFulterUI.class);
    
    /**
     * output class constructor
     */
    public GgLeaseStatusReportFulterUI() throws Exception
    {
        super();
    }
    @Override
    public void onLoad() throws Exception {
    	// TODO Auto-generated method stub
    	super.onLoad();
    	loadTable();
    }

    /**
     * output storeFields method
     */
    public void storeFields()
    {
        super.storeFields();
    }
    public void loadTable()throws Exception {
    	pkAddress.setQueryInfo("com.kingdee.eas.custom.gggl.app.ZtAdvertQuery");
    	
    }
	@Override
	public RptParams getCustomCondition() {
		// TODO Auto-generated method stub
		RptParams pp = new RptParams();
		AdvertInfo info=(AdvertInfo)pkAddress.getValue();
		if(pkAddress.getValue()!=null){
		String id=info.getNumber();
		
		pp.setObject("number", id);
		}
		return pp;
	}

	@Override
	public void onInit(RptParams arg0) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setCustomCondition(RptParams arg0) {
		// TODO Auto-generated method stub
		
	}

}