模板参照设置查询action
请求:
http://localhost:3008/nccloud/platform/templet/queryrefinfo.do
处理action:
nccloud.web.platform.template.action.QueryRefInfoAction
查询参照类型设置接口:
nccloud.pubitf.platform.template.IRoleRef.getRefInfos(String md_class_id );
刷新参照类型设置的缓存:
RefInfoAccessor.getInstance().refeshCache()
// refMeta.setFullTxtTabName("ORG_ORGS_V");
queryRefPks(){ ... //这里会判断,走不走模糊查询的全文搜索 if (getFulTxtFlg(para)) { } ..... } private boolean getFulTxtFlg(RefQueryInfo para) { if ((para.getQueryCondition() != null) && (!StringUtils.isEmpty((CharSequence) para.getQueryCondition().get("batchQueryByName")))) { return false; } if ((this.refMeta.getFullTxtTabName() != null) && (this.refMeta.getFullTxtTabName().trim().length() > 0) && (para.getKeyword() != null) && (para.getKeyword().trim().length() > 0)) { if ((para instanceof TreeRefQueryInfo)) { TreeRefQueryInfo par = (TreeRefQueryInfo) para; if ((par.getPid() != null) && (par.getPid().trim().length() > 0)) { return false; } } return true; } return false; }
}