From 8ce78fa756a8c2af76d02858d09058beabe18161 Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期四, 17 三月 2022 22:07:16 +0800
Subject: [PATCH] PIPLFunctionDeployV4

---
 force-app/main/default/pages/SearchVisitor.page |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/pages/SearchVisitor.page b/force-app/main/default/pages/SearchVisitor.page
index 09049f0..533f902 100644
--- a/force-app/main/default/pages/SearchVisitor.page
+++ b/force-app/main/default/pages/SearchVisitor.page
@@ -155,7 +155,7 @@
             //2. inovke aws service
             let contactAwsIds = new Set();
             for(var key in contactInfo){
-                if(contactInfo[key].lastName.includes(searchByLastName)){
+                if(contactInfo[key].lastName.indexOf(searchByLastName) != -1){
                     contactAwsIds.add(key);
                 }
             }
@@ -285,6 +285,7 @@
         function Trans(){
             AWSService.postAWS(staticResources.transactionUrl,AWSService.confirmTrans, JSON.stringify({
                     "txId":aws_result.txId,
+                    "sfRecordId":"",
                     "isSuccess":1
             }), function(result){
                 window.location.reload();

--
Gitblit v1.9.1