From 8badb57ea2c82557850ad5b39281c3e8714eb119 Mon Sep 17 00:00:00 2001
From: liuyan <liuyan@prec-tech.com>
Date: 星期四, 24 十一月 2022 10:08:31 +0800
Subject: [PATCH] 科室信息漏传SPO问题
---
force-app/main/default/classes/NFM702Controller.cls | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/NFM702Controller.cls b/force-app/main/default/classes/NFM702Controller.cls
index a4064d7..ca1b62b 100644
--- a/force-app/main/default/classes/NFM702Controller.cls
+++ b/force-app/main/default/classes/NFM702Controller.cls
@@ -75,7 +75,7 @@
Phone, //鐢佃瘽
HcpNo__c, //HCP缂栫爜
Isactive__c, //鏄惁鏈夋晥
- UpdateStatus__c, //鎿嶄綔绫诲瀷
+ // UpdateStatus__c, //鎿嶄綔绫诲瀷
AWS_Data_Id__c //aws 瀛樺偍鍑嵁 add bysushanhu 20220304 for Pi
from Contact WHERE Id IN:accIdList order by Id]; //AccountId
String logstr = iflog.Log__c + ' ' + 'NumberOfRecord=' + conList.size() + '\n';
@@ -101,7 +101,8 @@
ged.Mobile = con.Phone;
ged.HcpNo = con.HcpNo__c;
ged.IsActive = '鏈夋晥'.equals(con.Isactive__c)? true:false;
- ged.UpdateStatus = con.UpdateStatus__c;
+ // ged.UpdateStatus = con.UpdateStatus__c;
+ ged.UpdateStatus = String.isBlank(con.HcpNo__c) ? 'I' : 'U';
ged.DataId = con.AWS_Data_Id__c;//add by sushanhu for pi 20220304
gds.GeData.add(ged);
}
--
Gitblit v1.9.1