From 4420517bbbffea48cabe7a7dcdf2e1c4b440fc85 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期一, 30 五月 2022 16:15:26 +0800
Subject: [PATCH] 两个LS特殊条件在说明的增减
---
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