From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523

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

diff --git a/force-app/main/default/classes/AllReceivedFseController.cls b/force-app/main/default/classes/AllReceivedFseController.cls
index 9d19029..23805dc 100644
--- a/force-app/main/default/classes/AllReceivedFseController.cls
+++ b/force-app/main/default/classes/AllReceivedFseController.cls
@@ -1,14 +1,11 @@
 public with sharing class AllReceivedFseController {
-    public AllReceivedFseController() {
-        
-    }
 
     @AuraEnabled
     public static InitData init(String recordId){
         InitData res = new InitData();
         Rental_Apply__c ra = [SELECT Id, Loaner_received_ng_num__c from Rental_Apply__c where Id = :recordId];
-        res.Id = ra.Id;
-        res.LoanerReceivedNgNum = Integer.valueOf(ra.Loaner_received_ng_num__c);
+        res.id = ra.Id;
+        res.loanerReceivedNgNum = Integer.valueOf(ra.Loaner_received_ng_num__c);
 
         return res;
     }
@@ -28,7 +25,7 @@
 
         if(updateList.size()>0){
             try {
-                update updateList;
+                Update updateList;
                 return 'SUCCESS';
             }
             catch (Exception e) {
@@ -41,8 +38,8 @@
 
     public Class InitData{
         @AuraEnabled
-        public String Id;
+        public String id;
         @AuraEnabled
-        public Integer LoanerReceivedNgNum;
+        public Integer loanerReceivedNgNum;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1