From 72c7bbd66b8456db7dabf0dbc15f7aa9c2af2b9d Mon Sep 17 00:00:00 2001 From: dangsn <dangsn@chicecm.com> Date: 星期三, 05 六月 2024 14:53:54 +0800 Subject: [PATCH] 项目引用调整 --- Source/platformProject/vci-platform-web/src/main/java/com/vci/web/other/WorkFlowEndedNotice.java | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Source/platformProject/vci-platform-web/src/main/java/com/vci/web/other/WorkFlowEndedNotice.java b/Source/platformProject/vci-platform-web/src/main/java/com/vci/web/other/WorkFlowEndedNotice.java index 2d038a1..c6dad11 100644 --- a/Source/platformProject/vci-platform-web/src/main/java/com/vci/web/other/WorkFlowEndedNotice.java +++ b/Source/platformProject/vci-platform-web/src/main/java/com/vci/web/other/WorkFlowEndedNotice.java @@ -1,8 +1,8 @@ package com.vci.web.other; -import com.vci.corba.common.VCIError; -import com.vci.starter.web.constant.QueryOptionConstant; -import com.vci.starter.web.util.VciBaseUtil; +import com.vci.client.bof.ClientBusinessObject; +import com.vci.client.bof.ClientBusinessObjectOperation; +import com.vci.corba.common.PLException; import com.vci.web.annotation.FlowNotifyBefore; import com.vci.web.annotation.FlowNotifyWeb; import com.vci.web.bo.FlowNoticeInfo; @@ -11,8 +11,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import plm.bs.bom.clientobject.ClientBusinessObject; -import plm.bs.bom.clientobject.ClientBusinessObjectOperation; import java.util.*; @@ -46,7 +44,7 @@ String sql = "SELECT T_OID,T_BTWNAME FROM PLATFORMLT_INPUT WHERE F_OID = '" + wfOid + "'"; ClientBusinessObjectOperation operation = new ClientBusinessObjectOperation(); - List<ClientBusinessObject> queryResult = boService.queryBySql(sql, new HashMap<>()); + List<com.vci.client.bof.ClientBusinessObject> queryResult = boService.queryBySql(sql, new HashMap<>()); if (queryResult.size() == 0) { logger.info("娌℃湁鎵惧埌涓氬姟鏁版嵁"); return; @@ -58,22 +56,22 @@ " where wp.OID = '" + oid + "'"; Map<String, String> conditionMap = new HashMap<>(); conditionMap.put("oid", oid); - List<ClientBusinessObject> codeResult = boService.queryCBO(btmName, conditionMap); + List<com.vci.client.bof.ClientBusinessObject> codeResult = boService.queryCBO(btmName, conditionMap); conditionMap.clear(); conditionMap.put("createCodeOid", codeResult.get(0).getAttributeValue("oid")); - List<ClientBusinessObject> allCodeList = boService.queryCBO("codeAllCode", conditionMap); + List<com.vci.client.bof.ClientBusinessObject> allCodeList = boService.queryCBO("codeAllCode", conditionMap); if (allCodeList.size() == 0) { logger.info("娌℃湁鎵惧埌缂栫爜"); return; } - for (ClientBusinessObject codeAllCode : allCodeList) { + for (com.vci.client.bof.ClientBusinessObject codeAllCode : allCodeList) { codeAllCode.setLcStatus("Editing"); codeAllCode.setAttributeValue("lcstatus", "Editing"); } operation.batchUpdateBuinessObject(allCodeList.toArray(new ClientBusinessObject[0])); logger.info("缂栫爜鐢熷懡鍛ㄦ湡鎭㈠瀹屾垚"); } - } catch (VCIError e) { + } catch (PLException e) { e.printStackTrace(); } } -- Gitblit v1.9.3