From cc6354cee46ff8facbd16c8919f2616c9031acdb Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期五, 21 六月 2024 10:19:59 +0800 Subject: [PATCH] 1、三元账号验证修改,以及获取数据修改 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebDataRightController.java | 28 ++++++++++++---------------- 1 files changed, 12 insertions(+), 16 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebDataRightController.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebDataRightController.java index 31af996..bb7b4bc 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebDataRightController.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/WebDataRightController.java @@ -1,12 +1,6 @@ package com.vci.web.controller; - - - -import com.vci.client.bof.ClientBusinessObject; -import com.vci.client.uif.actions.client.DataRightUtil; -import com.vci.client.uif.engine.common.DefaultTableNode; -import com.vci.client.uif.engine.common.IDataNode; import com.vci.corba.common.PLException; +import com.vci.corba.omd.data.BusinessObject; import com.vci.starter.web.enumpck.DataSecretEnum; import com.vci.starter.web.enumpck.UserSecretEnum; import com.vci.starter.web.pagemodel.BaseResult; @@ -83,7 +77,7 @@ //鍏堝垽鏂瘑绾� //weidy淇敼锛屾崲鎴愪粠绾跨▼閲岃幏鍙栧綋鍓嶇敤鎴蜂俊鎭� SessionInfo si = WebUtil.getCurrentUserSessionInfo(); - DataRightUtil dataRightUtil = new DataRightUtil(new HashMap()); +// DataRightUtil dataRightUtil = new DataRightUtil(new HashMap()); StringBuilder sb = new StringBuilder(); return BaseResult.fail(""); } @@ -97,8 +91,9 @@ * @throws PLException 缂哄皯鐨勬椂鍊欎細鎶涘嚭寮傚父 */ protected Object getSelectedObject(BaseModelDTO boData) throws PLException { - IDataNode selectedObject = new DefaultTableNode(); - ClientBusinessObject cbo = new ClientBusinessObject(); + //姝ゆ柟娉曟病鏈夎寮曠敤锛屼笖IDataNode瀵硅薄娌℃湁 +// IDataNode selectedObject = new DefaultTableNode(); + BusinessObject cbo = new BusinessObject(); if(StringUtils.isBlank(boData.getOid())){ throw new PLException("娌℃湁鑾峰彇鍒版暟鎹殑涓婚敭",new String[0]); } @@ -111,12 +106,13 @@ if(StringUtils.isBlank(boData.getBtmname())){ throw new PLException("娌℃湁鑾峰彇鍒版暟鎹殑涓氬姟绫诲瀷",new String[0]); } - cbo.setOid(boData.getOid()); - cbo.setRevisionid(boData.getRevisionOid()); - cbo.setNameoid(boData.getNameOid()); - cbo.setBtmName(boData.getBtmname()); - selectedObject.setMasterObject(cbo); - return selectedObject; + cbo.oid = boData.getOid(); + cbo.revisionid = boData.getRevisionOid(); + cbo.nameoid = boData.getNameOid(); + cbo.btName = boData.getBtmname(); +// selectedObject.setMasterObject(cbo); +// return selectedObject; + return null; } -- Gitblit v1.9.3