From c65c0b31e6dfd01db744a450dda3816f65eebbc1 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期四, 05 十二月 2024 11:41:10 +0800 Subject: [PATCH] 1、修改使用当前用户的类型查询用户接口,可以传入用户类型。 2、增加根据用户主键获取关联的部门接口。 3、增加查询授权结果接口。 4、增加查询业务对象接口。 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/UITools.java | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/UITools.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/UITools.java index 80576d3..84b7a58 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/UITools.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/UITools.java @@ -1,10 +1,9 @@ package com.vci.web.util; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import com.vci.corba.portal.data.PLPageDefination; +import com.vci.client.common.providers.ClientServiceProvider; +import com.vci.common.portal.constants.PLDefinationConstants; +import com.vci.common.portal.constants.PRMConstants; +import com.vci.corba.portal.PortalServicePrx; import com.vci.model.PLDefination; import com.vci.model.PRMDO; import com.vci.model.PRMItemDO; @@ -14,10 +13,9 @@ import org.dom4j.DocumentHelper; import org.dom4j.Element; -import com.vci.client.common.providers.ClientServiceProvider; -import com.vci.common.portal.constants.PLDefinationConstants; -import com.vci.common.portal.constants.PRMConstants; -import com.vci.corba.portal.PortalServicePrx; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; /** @@ -542,6 +540,12 @@ node = rootNode.addElement(PLDefinationConstants.QUERYTEMPLATENAME); node.setText(obj.getQueryTemplateName()); + node = rootNode.addElement(PLDefinationConstants.QUERYTEMPLATENAME); + node.setText(obj.getBsCustQueryCLsOrUrl()); + + node = rootNode.addElement(PLDefinationConstants.QUERYTEMPLATENAME); + node.setText(obj.getCsCustQueryCLsOrUrl()); + node = rootNode.addElement(PLDefinationConstants.SUBUIOBJTYPE); node.setText(obj.getSubUiObjType()); @@ -662,6 +666,12 @@ elementText = root.elementText(PLDefinationConstants.QUERYTEMPLATENAME); obj.setQueryTemplateName(elementText == null ? "" : elementText); + elementText = root.elementText(PLDefinationConstants.BSCUSTQUERYCLSORURL); + obj.setBsCustQueryCLsOrUrl(elementText == null ? "" : elementText); + + elementText = root.elementText(PLDefinationConstants.CSCUSTQUERYCLSORURL); + obj.setCsCustQueryCLsOrUrl(elementText == null ? "" : elementText); + elementText = root.elementText(PLDefinationConstants.SUBUILAYOUT); obj.setSubUILayout(elementText == null ? "" : elementText); } -- Gitblit v1.9.3