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

import java.awt.event.*;
import java.util.Date;

import org.apache.log4j.Logger;
import com.kingdee.bos.ui.face.CoreUIObject;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.basedata.org.CompanyOrgUnitInfo;
import com.kingdee.eas.common.client.SysContext;
import com.kingdee.eas.custom.gggl.AdvertInfo;
import com.kingdee.eas.framework.*;
import com.kingdee.eas.framework.report.util.RptParams;
import com.kingdee.eas.ma.crbg.database.CompanyUnitInfo;
import com.kingdee.eas.util.client.MsgBox;

/**
 * output class name
 */
public class LeaseStatusReportFulterUI extends AbstractLeaseStatusReportFulterUI
{
    private static final Logger logger = CoreUIObject.getLogger(LeaseStatusReportFulterUI.class);
    
    /**
     * output class constructor
     */
    public LeaseStatusReportFulterUI() throws Exception
    {
        super();
    }
    @Override
    public void onLoad() throws Exception {
    	// TODO Auto-generated method stub
    	super.onLoad();
    	loadTable();
    }
    public void loadTable()throws Exception {
    	pkAddress.setQueryInfo("com.kingdee.eas.custom.gggl.app.ZtAdvertQuery");
    	
    }
    /**
     * output storeFields method
     */
    public void storeFields()
    {
        super.storeFields();
    }

	@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 paramRptParams) throws Exception {
		// TODO Auto-generated method stub
		
	}

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

}