From af908216bb0012fe849e3b49b3039c7ba238f8f0 Mon Sep 17 00:00:00 2001
From: liangxiaozhen <liangxiaozhen>
Date: 星期五, 11 八月 2023 14:35:43 +0800
Subject: [PATCH] 补充controller,修改变量,主页bug修改

---
 force-app/main/default/classes/HosipitalToDeptController.cls |   50 +++++++++++++++++++++++++-------------------------
 1 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/force-app/main/default/classes/HosipitalToDeptController.cls b/force-app/main/default/classes/HosipitalToDeptController.cls
index 8300409..011c955 100644
--- a/force-app/main/default/classes/HosipitalToDeptController.cls
+++ b/force-app/main/default/classes/HosipitalToDeptController.cls
@@ -13,20 +13,20 @@
                                 ENT_owner_ID__c,
                                 Tender_information__c,
                                 Is_upload_file__c,
-                                Name,
+                                name,
                                 Attribute_Type__c FROM Account WHERE Id = :recordId];
-            res.GiMain = report.GI_Main__c;
-            res.BFowner = report.BF_owner__c;
-            res.ETowner = report.ET_owner__c;
-            res.SPMain = report.SP_Main__c;
-            res.UROownerID = report.URO_owner_ID__c;
-            res.GYNowner = report.GYN_owner__c;
-            res.ENTownerID = report.ENT_owner_ID__c;
-            res.SoakupHPDeptTeam = System.Label.Confirm_SoakupHPDeptTeam;
-            res.Tenderinformation = report.Tender_information__c;
-            res.Isuploadfile = report.Is_upload_file__c;
-            res.Name = report.Name;
-            res.AttributeType = report.Attribute_Type__c;
+            res.giMain = report.GI_Main__c;
+            res.bfowner = report.BF_owner__c;
+            res.etowner = report.ET_owner__c;
+            res.spmain = report.SP_Main__c;
+            res.uroownerID = report.URO_owner_ID__c;
+            res.gynowner = report.GYN_owner__c;
+            res.entownerID = report.ENT_owner_ID__c;
+            res.soakupHPDeptTeam = System.Label.Confirm_SoakupHPDeptTeam;
+            res.tenderinformation = report.Tender_information__c;
+            res.isuploadfile = report.Is_upload_file__c;
+            res.name = report.name;
+            res.attributeType = report.Attribute_Type__c;
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
         }
@@ -57,28 +57,28 @@
     }
     public class InitData{
         @AuraEnabled
-        public string GiMain;
+        public string giMain;
         @AuraEnabled
-        public string BFowner;
+        public string bfowner;
         @AuraEnabled
-        public string ETowner;
+        public string etowner;
         @AuraEnabled
-        public string SPMain;
+        public string spmain;
         @AuraEnabled
-        public string UROownerID;
+        public string uroownerID;
         @AuraEnabled
-        public string GYNowner;
+        public string gynowner;
         @AuraEnabled
-        public string ENTownerID;
+        public string entownerID;
         @AuraEnabled
-        public string SoakupHPDeptTeam;
+        public string soakupHPDeptTeam;
         @AuraEnabled
-        public string Tenderinformation;
+        public string tenderinformation;
         @AuraEnabled
-        public Boolean Isuploadfile;
+        public Boolean isuploadfile;
         @AuraEnabled
-        public string Name;
+        public string name;
         @AuraEnabled
-        public string AttributeType;
+        public string attributeType;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1