From 085df90e488067783759dcd63cdb5fb43a51ff1f Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 26 九月 2024 12:44:04 +0800 Subject: [PATCH] 添加记录当前在线用户人数查询接口 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/UIManagerController.java | 78 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 78 insertions(+), 0 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/UIManagerController.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/UIManagerController.java index 0e37319..547d42d 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/UIManagerController.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/UIManagerController.java @@ -397,6 +397,84 @@ } } + + /** + * 涓氬姟绫诲瀷涓嬫媺鏌ヨ + * @param baseQueryObject selectBtmType 閫夋嫨鐨勬簮瀵硅薄,甯﹀垎椤典俊鎭� + * @return + * @throws PLException + */ + @GetMapping( "/getBtmDatasByPage") + @VciBusinessLog(operateName = "涓氬姟绫诲瀷涓嬫媺鏌ヨ") + public BaseResult getBtmDatasByPage(BaseQueryObject baseQueryObject){ + try { + return BaseResult.dataGrid(uiManagerService.getBtmDatasByPage(baseQueryObject)); + }catch (Throwable e) { + e.printStackTrace(); + String exceptionMessage = "涓氬姟绫诲瀷涓嬫媺鏌ヨ鏃跺嚭鐜伴敊璇紝鍘熷洜锛�" + VciBaseUtil.getExceptionMessage(e); + logger.error(exceptionMessage); + return BaseResult.fail(exceptionMessage); + } + } + + /** + * UI瀹氫箟涓嬫媺鏌ヨ锛坱emplateType涓篣I瀹氫箟鏃剁殑閫夋嫨瀵硅薄涓嬫媺鏌ヨ锛� + * @param baseQueryObject selectBtmType 閫夋嫨鐨勬簮瀵硅薄,甯﹀垎椤典俊鎭� + * @return + * @throws PLException + */ + @GetMapping( "/getUILayoutDatasByPage") + @VciBusinessLog(operateName = "UI瀹氫箟涓嬫媺鏌ヨ") + public BaseResult getUILayoutDatasByPage(BaseQueryObject baseQueryObject){ + try { + return BaseResult.dataGrid(uiManagerService.getUILayoutDatasByPage(baseQueryObject)); + }catch (Throwable e) { + e.printStackTrace(); + String exceptionMessage = "UI瀹氫箟涓嬫媺鏌ヨ鏃跺嚭鐜伴敊璇紝鍘熷洜锛�" + VciBaseUtil.getExceptionMessage(e); + logger.error(exceptionMessage); + return BaseResult.fail(exceptionMessage); + } + } + + /** + * 閫夋嫨妯℃澘涓嬫媺鏌ヨ + * @param baseQueryObject + * @return + * @throws PLException + */ + @GetMapping( "/getPortalVIDatasByPage") + @VciBusinessLog(operateName = "閫夋嫨妯℃澘涓嬫媺鏌ヨ") + public BaseResult getPortalVIDatasByPage(BaseQueryObject baseQueryObject){ + try { + return BaseResult.dataGrid(uiManagerService.getPortalVIDatasByPage(baseQueryObject)); + }catch (Throwable e) { + e.printStackTrace(); + String exceptionMessage = "閫夋嫨妯℃澘涓嬫媺鏌ヨ鏃跺嚭鐜伴敊璇紝鍘熷洜锛�" + VciBaseUtil.getExceptionMessage(e); + logger.error(exceptionMessage); + return BaseResult.fail(exceptionMessage); + } + } + + /** + * 鏌ヨ妯℃澘涓嬫媺鏌ヨ + * @param baseQueryObject + * @return + * @throws PLException + */ + @GetMapping( "/getQTInfoDatasByPage") + @VciBusinessLog(operateName = "鏌ヨ妯℃澘涓嬫媺鏌ヨ") + public BaseResult getQTInfoDatasByPage(BaseQueryObject baseQueryObject){ + try { + return BaseResult.dataGrid(uiManagerService.getQTInfoDatasByPage(baseQueryObject)); + }catch (Throwable e) { + e.printStackTrace(); + String exceptionMessage = "鏌ヨ妯℃澘涓嬫媺鏌ヨ鏃跺嚭鐜伴敊璇紝鍘熷洜锛�" + VciBaseUtil.getExceptionMessage(e); + logger.error(exceptionMessage); + return BaseResult.fail(exceptionMessage); + } + } + + //椤甸潰璁捐涓嬮厤缃寜閽浉鍏虫帴鍙� /** * 鑾峰彇椤电鍖哄煙鎸夐挳閰嶇疆淇℃伅 -- Gitblit v1.9.3