From 5ba7e69fc6aa04f66ed1170b8f3f68cfb198b805 Mon Sep 17 00:00:00 2001 From: sez Date: Tue, 23 Dec 2025 11:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=9B=E5=BE=AE=E9=9D=9E=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E6=8E=A5=E5=8F=A3=EF=BC=8C=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E7=AD=96=E7=95=A5=E4=B8=BA=E8=87=AA=E7=94=B1=E5=88=86?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lc123/cloud/app/api/controller/SupplierControl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lc123/cloud/app/api/controller/SupplierControl.java b/lc123/cloud/app/api/controller/SupplierControl.java index c7a96e2..0a75f8c 100644 --- a/lc123/cloud/app/api/controller/SupplierControl.java +++ b/lc123/cloud/app/api/controller/SupplierControl.java @@ -263,7 +263,7 @@ public class SupplierControl implements Serializable { } bd_supplier.set("enable", "1");//使用状态 bd_supplier.set("status", "A");//数据状态 - bd_supplier.set("ctrlstrategy", "5");//控制策略 + bd_supplier.set("ctrlstrategy", "2");//控制策略 //bd_supplier.set("type", "1");//伙伴类型 //bd_supplier.set("bizfunction", ",1,2,3,4,");//业务职能 SaveServiceHelper.save(new DynamicObject[]{bd_supplier}); @@ -375,9 +375,9 @@ public class SupplierControl implements Serializable { resultExt.setFailCount(1); resultExt.setSuccessCount(0); } else { - Set dataIds = new HashSet<>(); + /*Set dataIds = new HashSet<>(); dataIds.add(bd_supplier.getLong("id")); - BaseDataResponse baseDataResponse = BaseDataServiceHelper.changeCtrlStrategy("bd_supplier", dataIds, "2", "basedata", org.getLong("id")); + BaseDataResponse baseDataResponse = BaseDataServiceHelper.changeManageRight("bd_supplier", bd_supplier.getDynamicObject("useorg").getLong("id"), "basedata", dataIds, org.getLong("id")); boolean success = baseDataResponse.isSuccess(); if (!success) { rowMsg.add(baseDataResponse.getErrorMsg()); @@ -390,7 +390,7 @@ public class SupplierControl implements Serializable { results.add(resultBean); resultExt.setFailCount(1); resultExt.setSuccessCount(0); - } + }*/ resultBean.setId(bd_supplier.getString("id")); resultBean.setBillStatus(true); results.add(resultBean);