From b19f2e24e53253cfc22a2b260055ffcc3e68a1f1 Mon Sep 17 00:00:00 2001
From: renhao <renhui.hao@capgemini.com>
Date: 星期三, 13 九月 2023 14:22:38 +0800
Subject: [PATCH] 1 MappingProduct唯一值

---
 _Main/BL/Type_MappingProduct/TypeIndex_MappingProductTypeIndex.qbl |    4 ++++
 _Main/BL/EDI/Broker_Broker_OTD_Product.qbl                         |    1 +
 _Main/BL/Type_MappingProduct/Attribute_BusinessType.qbl            |    1 +
 3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/_Main/BL/EDI/Broker_Broker_OTD_Product.qbl b/_Main/BL/EDI/Broker_Broker_OTD_Product.qbl
index 15ca8ab..7bcabef 100644
--- a/_Main/BL/EDI/Broker_Broker_OTD_Product.qbl
+++ b/_Main/BL/EDI/Broker_Broker_OTD_Product.qbl
@@ -9,6 +9,7 @@
   {
     EDIMLTable MappingProduct
     {
+      PrimaryKeyColumns: BusinessType
       PrimaryKeyColumns: ID
       TargetType: MappingProduct
       TypeIndex: MappingProductTypeIndex
diff --git a/_Main/BL/Type_MappingProduct/Attribute_BusinessType.qbl b/_Main/BL/Type_MappingProduct/Attribute_BusinessType.qbl
index 63b7d6b..1d3a4b3 100644
--- a/_Main/BL/Type_MappingProduct/Attribute_BusinessType.qbl
+++ b/_Main/BL/Type_MappingProduct/Attribute_BusinessType.qbl
@@ -3,5 +3,6 @@
 Attribute BusinessType
 {
   #keys: '3[414480.0.61560268][414480.0.61560267][414480.0.61560269]'
+  IsReadOnly: true
   ValueType: String
 }
diff --git a/_Main/BL/Type_MappingProduct/TypeIndex_MappingProductTypeIndex.qbl b/_Main/BL/Type_MappingProduct/TypeIndex_MappingProductTypeIndex.qbl
index 6cd9f83..56be564 100644
--- a/_Main/BL/Type_MappingProduct/TypeIndex_MappingProductTypeIndex.qbl
+++ b/_Main/BL/Type_MappingProduct/TypeIndex_MappingProductTypeIndex.qbl
@@ -8,5 +8,9 @@
     {
       ModelElement: ID
     }
+    TypeIndexAttribute
+    {
+      ModelElement: BusinessType
+    }
   ]
 }

--
Gitblit v1.9.3