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/LexSaleOrderController.cls |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/force-app/main/default/classes/LexSaleOrderController.cls b/force-app/main/default/classes/LexSaleOrderController.cls
index d9693a9..111588f 100644
--- a/force-app/main/default/classes/LexSaleOrderController.cls
+++ b/force-app/main/default/classes/LexSaleOrderController.cls
@@ -32,11 +32,7 @@
         res.entity = data;
 
         String UserName = UserInfo.getUserId();
-        user useracc = [
-            SELECT Accountid, Work_Location__c
-            FROM user
-            WHERE id = :UserName
-        ];
+        user useracc = [SELECT Accountid, Work_Location__c FROM user WHERE id = :UserName];
         accountid = useracc.Accountid;
         userWorkLocation = useracc.Work_Location__c;
         Account accountInfo = [SELECT Name FROM account WHERE id = :accountid];
@@ -259,11 +255,7 @@
         }
         Map<String, String> proHosMap = new Map<String, String>();
         Map<String, String> proIdMap = new Map<String, String>();
-        List<hospitalprice__c> hpList = [
-            SELECT id, hospital__c, product__c
-            FROM hospitalprice__c
-            WHERE account__c = :accountid
-        ];
+        List<hospitalprice__c> hpList = [SELECT id, hospital__c, product__c FROM hospitalprice__c WHERE account__c = :accountid];
         if (hpList != null && hpList.size() > 0) {
             for (hospitalprice__c hp : hpList) {
                 if (hp.product__c != null && String.valueof(hp.product__c).length() >= 15) {

--
Gitblit v1.9.1