From 5b5c1e16deaa3a9d6d0ed1ffca390655ed103df7 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 14 七月 2023 14:56:14 +0800
Subject: [PATCH] lex community

---
 force-app/main/default/classes/LexConsumableOrderManageController.cls |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/force-app/main/default/classes/LexConsumableOrderManageController.cls b/force-app/main/default/classes/LexConsumableOrderManageController.cls
index e086bbb..2ead3f4 100644
--- a/force-app/main/default/classes/LexConsumableOrderManageController.cls
+++ b/force-app/main/default/classes/LexConsumableOrderManageController.cls
@@ -56,8 +56,8 @@
             List<CusCol> cols = new List<CusCol>();
             for (FieldSetMember fsm : fsmList) {
                 //add by Link
-                if (fsm.getFieldPath() == 'Order_ForHospital__c' && agencyProType == 'ET') {
-                } else {
+                if(fsm.getFieldPath() == 'Order_ForHospital__c' && agencyProType == 'ET'){
+                }else {
                     CusCol col = new CusCol();
                     col.label = fsm.getLabel();
                     col.fieldName = fsm.getFieldPath();
@@ -125,11 +125,7 @@
             raesList = Database.query(soql);
             //add by rentx 2021-3-10 start
             //涓� hasHop 璧嬪�� 鍒ゆ柇褰撳墠缁忛攢鍟嗕笅鏄惁鏈夌壒浠峰尰闄�
-            List<hospitalprice__c> hopList = [
-                SELECT id, hospital__c
-                FROM hospitalprice__c
-                WHERE account__c = :accountid
-            ];
+            List<hospitalprice__c> hopList = [SELECT id, hospital__c FROM hospitalprice__c WHERE account__c = :accountid];
             if (hopList == null || hopList.size() == 0) {
                 hasHop = false;
             } else {
@@ -147,11 +143,7 @@
                 for (Account acc : contractList) {
                     dealIds.add(acc.Id);
                 }
-                List<Dealer_Product__c> deList = [
-                    SELECT id
-                    FROM Dealer_Product__c
-                    WHERE Dealer_Contact__c IN :dealIds
-                ];
+                List<Dealer_Product__c> deList = [SELECT id FROM Dealer_Product__c WHERE Dealer_Contact__c IN :dealIds];
                 if (deList == null || deList.size() == 0) {
                     hasSpecial = false;
                 } else {
@@ -340,4 +332,4 @@
         @AuraEnabled
         public String fieldName;
     }
-}
+}
\ No newline at end of file

--
Gitblit v1.9.1