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/controller/WebUIController.java | 27 ++++----------------------- 1 files changed, 4 insertions(+), 23 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebUIController.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebUIController.java index eef47eb..73df4c7 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebUIController.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebUIController.java @@ -1,13 +1,12 @@ package com.vci.web.controller; -import com.vci.starter.web.annotation.controller.VciUnCheckRight; -import com.vci.starter.web.annotation.log.VciBusinessLog; -import com.vci.starter.web.pagemodel.BaseResult; +import com.vci.corba.common.PLException; import com.vci.pagemodel.UIContentVO; import com.vci.pagemodel.UIFormDefineVO; import com.vci.pagemodel.UITableDefineVO; +import com.vci.starter.web.annotation.controller.VciUnCheckRight; +import com.vci.starter.web.annotation.log.VciBusinessLog; import com.vci.web.service.UIEngineServiceI; -import com.vci.web.service.impl.WebInitServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; @@ -28,12 +27,6 @@ */ @Autowired private UIEngineServiceI uiService; - - /** - * 鍒濆鍖� - */ - @Autowired - private WebInitServiceImpl initService; /** * 鑾峰彇UI涓婁笅鏂囩殑瀹氫箟 @@ -66,20 +59,8 @@ * @return 琛ㄥ崟鐨勫畾涔� */ @GetMapping("/getTableDefineById") - public UITableDefineVO getTableDefineById(String btmType,String id){ + public UITableDefineVO getTableDefineById(String btmType,String id) throws PLException { return uiService.getTableById(btmType,id); - } - - /** - * 娓呴櫎缂撳瓨 - * @return 鎵ц缁撴灉 - */ - @GetMapping("/clearCache") - public BaseResult clearCache(){ - //鏈嶅姟绔偅涓紝涓�瑷�闅惧敖 - initService.clearAllCache(); - initService.initServerCache(); - return BaseResult.success(); } -- Gitblit v1.9.3