| | |
| | | break; |
| | | } |
| | | |
| | | d.setNavigatorType(pdVO.getNavigatorType()); |
| | | d = setEventDataToPLDefination(d,pdVO); |
| | | //转xml赋值到plDefination中 |
| | | pd.plDefination = UITools.getPLDefinationText(d); |
| | |
| | | d = ulci.getNewPLDefination(d); |
| | | break; |
| | | } |
| | | |
| | | d.setNavigatorType(pdVO.getNavigatorType()); |
| | | d = setEventDataToPLDefination(d,pdVO); |
| | | pd.plDefination = UITools.getPLDefinationText(d); |
| | | |
| | |
| | | platformClientUtil.getUIService().savePLCommandParameter(plCommandParameter); |
| | | } catch (PLException e) { |
| | | e.printStackTrace(); |
| | | throw new VciBaseException("保存按钮信息时发生异常:"+ e.getMessage()); |
| | | throw new VciBaseException("保存按钮参数时发生异常:"+ e.getMessage()); |
| | | } |
| | | } |
| | | } |
| | |
| | | */ |
| | | protected boolean checkQTIsExist(String tip, String txtQTName, String txtType) throws PLException { |
| | | boolean res = false; |
| | | |
| | | String sql = "select count(1) count_ from PL_QTEMPLATE qt " + |
| | | "where qt.btmname ='" + txtType.trim() + "' " + |
| | | "and qt.qtname='" + txtQTName.trim() + "'"; |
| | | |
| | | res = checkCountNotEqualZero(sql); |
| | | if(!res){ |
| | | throw new PLException("500", |
| | | new String[]{String.format("%s %s 无效!", tip, txtQTName)}); |
| | |
| | | */ |
| | | private boolean checkLinkTypeInputIsOk(String txtVIName/*选择的模板*/,String txtQTName/*查询模板*/,String btmType) throws PLException { |
| | | boolean res = false; |
| | | if(!(this.checkBtmTypeTxtIsOk("目标对象", linkType,true))){ |
| | | if(!(this.checkLinkTypeTxtIsOk("目标对象", linkType,true))){ |
| | | res = false; |
| | | } else if(!(this.checkPortalVITxtIsOk("选择模板", txtVIName, linkType,true))){ |
| | | res = false; |
| | |
| | | return res; |
| | | } |
| | | // 链接类型不为空时,需要同时检查链接类型及链接类型下的查询模板是否有效 |
| | | if(Func.isBlank(linkType)){ |
| | | if(Func.isNotBlank(linkType)){ |
| | | if(!(super.checkLinkTypeTxtIsOk("链接类型", linkType,false))){ |
| | | res = false; |
| | | return res; |