From c5ea838fef2a6e4fc3940009ee938fbfa29551b5 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期一, 03 六月 2024 14:53:49 +0800
Subject: [PATCH] 1、平台JAR上传

---
 Source/platformProject/vci-platform-web/src/main/java/com/vci/web/other/WorkFlowEndedNotice.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 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..4f372ba 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,5 +1,6 @@
 package com.vci.web.other;
 
+import com.vci.corba.common.PLException;
 import com.vci.corba.common.VCIError;
 import com.vci.starter.web.constant.QueryOptionConstant;
 import com.vci.starter.web.util.VciBaseUtil;
@@ -46,7 +47,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 +59,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 | VCIError e) {
             e.printStackTrace();
         }
     }

--
Gitblit v1.9.3