From 600c2ebb55b18d687ff848cb6c9d9a61b8bfa307 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 15 十一月 2024 17:52:48 +0800 Subject: [PATCH] 优化业务类型链接类型查询接口 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/UIManagerServiceImpl.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/UIManagerServiceImpl.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/UIManagerServiceImpl.java index 37a13ae..8595212 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/UIManagerServiceImpl.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/UIManagerServiceImpl.java @@ -1077,6 +1077,7 @@ break; } + d.setNavigatorType(pdVO.getNavigatorType()); d = setEventDataToPLDefination(d,pdVO); //杞瑇ml璧嬪�煎埌plDefination涓� pd.plDefination = UITools.getPLDefinationText(d); @@ -1193,7 +1194,7 @@ d = ulci.getNewPLDefination(d); break; } - + d.setNavigatorType(pdVO.getNavigatorType()); d = setEventDataToPLDefination(d,pdVO); pd.plDefination = UITools.getPLDefinationText(d); @@ -3350,11 +3351,10 @@ */ 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)}); @@ -3539,7 +3539,7 @@ */ 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; -- Gitblit v1.9.3