From 928399eceec50e3d37ea08669a12789a9410a9d2 Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 22 十一月 2022 16:51:16 +0800
Subject: [PATCH] 111
---
force-app/main/default/classes/MaintenanceProductDataController.cls | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/MaintenanceProductDataController.cls b/force-app/main/default/classes/MaintenanceProductDataController.cls
index 3f08068..0483fd3 100644
--- a/force-app/main/default/classes/MaintenanceProductDataController.cls
+++ b/force-app/main/default/classes/MaintenanceProductDataController.cls
@@ -157,6 +157,9 @@
mpdDetailsRecordsView[i].mpdrdd.Key_product_155P__c = mpdDetailsRecordsView[i].Prod.Key_product_155P__c;
mpdDetailsRecordsView[i].mpdrdd.Celon_Product__c = mpdDetailsRecordsView[i].Prod.Celon_Product__c;
// FY23淇敼 WLIG-CFV4AV 閲嶇偣浜у搧缁存姢锛堟柊锛塭nd
+ // 20221020 ljh SWAG-CJ98AJ start
+ mpdDetailsRecordsView[i].mpdrdd.suitDepartment__c = mpdDetailsRecordsView[i].Prod.suitDepartment__c;
+ // 20221020 ljh SWAG-CJ98AJ end
}
if(RecordTypeName.equals('GuranteeMain')){
Integer Entend_gurantee_period_all = mpdDetailsRecordsView[i].Prod.Entend_gurantee_period_all__c.intValue();
@@ -637,6 +640,11 @@
InsAfterDel.Celon_Product__c = ass.mpdrdd.Celon_Product__c;
InsAfterDel.Celon_Product_Old__c = ass.Prod.Celon_Product__c;
// FY23淇敼 WLIG-CFV4AV 閲嶇偣浜у搧缁存姢锛堟柊锛塭nd
+ // 20221020 ljh SWAG-CJ98AJ start
+ InsAfterDel.suitDepartment__c = ass.mpdrdd.suitDepartment__c;
+ InsAfterDel.suitDepartment_Old__c = ass.Prod.suitDepartment__c;
+ // 20221020 ljh SWAG-CJ98AJ end
+
}
when 'GuranteeMain'{
//InsAfterDel.RecordTypeName__c = 'GuranteeMain';
@@ -865,6 +873,9 @@
upMpd.Key_product_155P__c = ass.mpded.Key_product_155P__c;
upMpd.Celon_Product__c = ass.mpded.Celon_Product__c;
// FY23淇敼 WLIG-CFV4AV 閲嶇偣浜у搧缁存姢锛堟柊锛塭nd
+ // 20221020 ljh SWAG-CJ98AJ start
+ upMpd.suitDepartment__c = ass.mpded.suitDepartment__c;
+ // 20221020 ljh SWAG-CJ98AJ end
}
when 'GuranteeMain'{
upMpd.Entend_gurantee_period__c=ass.mpded.Entend_gurantee_period__c;
--
Gitblit v1.9.1