From de62b11fd2203816306ba94226874b2e62420e83 Mon Sep 17 00:00:00 2001
From: GWY <guweiyiscp096@foxmail.com>
Date: 星期五, 15 四月 2022 09:42:05 +0800
Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlympusSSBG
---
force-app/main/default/classes/SBG019Rest.cls | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/SBG019Rest.cls b/force-app/main/default/classes/SBG019Rest.cls
index 95b0e69..0307f9a 100644
--- a/force-app/main/default/classes/SBG019Rest.cls
+++ b/force-app/main/default/classes/SBG019Rest.cls
@@ -22,7 +22,7 @@
public String ProductCode;//鐗╂枡
public String ProductDate;//鐩戠浜у搧鏈�鏃╃敓浜ф棩鏈�
-
+ public String StorageDate;//鐩戠浜у搧鍏ュ簱鏃ユ湡
}
@@ -153,7 +153,7 @@
String result = '';
//鏍规嵁浜у搧Code鏌ヨ浜у搧淇℃伅
List<Product2> getProductList =
- [SELECT Id, Name, ProductCode,demoteer_Sap__c
+ [SELECT Id, Name, ProductCode,demoteer_Sap__c,Diedatvanink__c
FROM Product2
WHERE ProductCode
IN:satisfyGeDataDetailMap.keyset()
@@ -168,8 +168,10 @@
if (productMap.containsKey(productCode)) {
GeDataDetails geDataDetails = satisfyGeDataDetailMap.get(productCode);
Date demoteer_Sap = NFMUtil.parseStr2Date(geDataDetails.ProductDate, false);
+ Date Diedatvanink = NFMUtil.parseStr2Date(geDataDetails.StorageDate, false);
Product2 product = productMap.get(productCode);
product.demoteer_Sap__c = demoteer_Sap;
+ product.Diedatvanink__c = Diedatvanink;
productMap.put(productCode,product);
result += 'productCode [ ' + productCode + ' ]\n';
--
Gitblit v1.9.1