给开片界面中的参照加入默认查询语句

//设置点击节点时,默认设置为开片界面
this.setCurrentPanel("CARDPANEL");
//给开片界面中的参照加入默认查询语句
String pk_corp = ClientEnvironment.getInstance().getCorporation().getUnitcode();
//String whereSql = "pk_corp in ('1001','"+pk_corp+"')";
String whereSql = "(pk_corp = '1001' or pk_corp='"+pk_corp+"')";
UIRefPane refPactno = (UIRefPane)this.getBillCardPanel().getHeadItem("pactno").getComponent();
refPactno.setWhereString(whereSql);
 

你可能感兴趣的:(查询)