From e6068da47c1bef5517c9e5fdc8c726766867ad4e Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 14 七月 2023 15:10:02 +0800
Subject: [PATCH] Merge branch 'master' into LEXUpgrade2023-Deloitte

---
 force-app/main/default/classes/LexCancelRemoveBoxController.cls |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/force-app/main/default/classes/LexCancelRemoveBoxController.cls b/force-app/main/default/classes/LexCancelRemoveBoxController.cls
index a1d4c44..5437b23 100644
--- a/force-app/main/default/classes/LexCancelRemoveBoxController.cls
+++ b/force-app/main/default/classes/LexCancelRemoveBoxController.cls
@@ -45,11 +45,7 @@
 
         String userId = UserInfo.getUserId();
         List<user> Useracc = new List<user>();
-        Useracc = [
-            SELECT accountid, Work_Location__c, UserPro_Type__c
-            FROM user
-            WHERE id = :userId
-        ];
+        Useracc = [SELECT accountid, Work_Location__c, UserPro_Type__c FROM user WHERE id = :userId];
         accountid = Useracc[0].accountid;
         userWorkLocation = Useracc[0].Work_Location__c;
         agencyProType = Useracc[0].UserPro_Type__c;
@@ -57,11 +53,7 @@
             agencyProType = 'ET';
         }
         userPro_Typestr = '%' + agencyProType + '%';
-        List<account> accountInfo = [
-            SELECT Name
-            FROM account
-            WHERE id = :accountid
-        ];
+        List<account> accountInfo = [SELECT Name FROM account WHERE id = :accountid];
         //String view_product = accountInfo[0].view_product__c;
         accountName = accountInfo[0].Name;
         //proidList = view_product.split(',');

--
Gitblit v1.9.1