From 93f7335e1a52591662d5d37f41ac352860b2ca2a Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期二, 04 六月 2024 18:39:50 +0800 Subject: [PATCH] 1、对象引用改动。 --- Source/platformProject/vci-platform-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmUserQueryServiceImpl.java | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Source/platformProject/vci-platform-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmUserQueryServiceImpl.java b/Source/platformProject/vci-platform-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmUserQueryServiceImpl.java index ea0a8c4..fe1f8a3 100644 --- a/Source/platformProject/vci-platform-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmUserQueryServiceImpl.java +++ b/Source/platformProject/vci-platform-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmUserQueryServiceImpl.java @@ -1,12 +1,10 @@ package com.vci.frameworkcore.compatibility.impl; import com.vci.client.common.providers.ServiceProvider; -import com.vci.corba.common.VCIError; -import com.vci.corba.omd.data.AttributeValue; +import com.vci.corba.common.PLException; import com.vci.frameworkcore.compatibility.SmUserQueryServiceI; import com.vci.frameworkcore.pagemodel.SmPasswordStrategyVO; import com.vci.frameworkcore.pagemodel.SmUserVO; -import com.vci.rmip.allcommon.ThreeDES; import com.vci.starter.web.enumpck.BooleanEnum; import com.vci.starter.web.exception.VciBaseException; import com.vci.starter.web.pagemodel.DataGrid; @@ -27,7 +25,6 @@ import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; -import plm.bs.bom.clientobject.ClientBusinessObject; import java.util.*; import java.util.stream.Collectors; @@ -753,7 +750,7 @@ String sql = "update pllogoninfo set plwrongnum = 0 where pluserid in (select pluid from pluser where plusername='" + userId + "')"; try { platformClientUtil.getBOFactoryService().executeUpdateSql(sql); - } catch (VCIError vciError) { + } catch (PLException vciError) { throw WebUtil.getVciBaseException(vciError); } } @@ -776,7 +773,7 @@ String sql = "update pluser set plpassword = '" + encPassword + "' where pluid = '" + userOid.trim() + "'"; try { platformClientUtil.getBOFactoryService().executeUpdateSql(sql); - } catch (VCIError vciError) { + } catch (PLException vciError) { throw WebUtil.getVciBaseException(vciError); } } @@ -793,7 +790,7 @@ String sql = "update pllogoninfo set plwrongnum = " + wrongCount +" where pluserid ='" + userOid + "'"; try { platformClientUtil.getBOFactoryService().executeUpdateSql(sql); - } catch (VCIError vciError) { + } catch (PLException vciError) { throw WebUtil.getVciBaseException(vciError); } } @@ -808,7 +805,7 @@ String sql = "update pllogoninfo set pllogontime = sysdate where pluserid ='" + userOid + "'"; try { platformClientUtil.getBOFactoryService().executeUpdateSql(sql); - } catch (VCIError vciError) { + } catch (PLException vciError) { throw WebUtil.getVciBaseException(vciError); } } -- Gitblit v1.9.3