From 1240f80db0d6d7c08d5c7699402f4c03554e718b Mon Sep 17 00:00:00 2001
From: zhangchunxu <1842059105@qq.com>
Date: 星期一, 07 八月 2023 19:48:40 +0800
Subject: [PATCH] 上传 “签收单”关联进口单证和机身编号“关联数据”

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

diff --git a/force-app/main/default/classes/ESignController.cls b/force-app/main/default/classes/ESignController.cls
index bdb7e66..d1a2df1 100644
--- a/force-app/main/default/classes/ESignController.cls
+++ b/force-app/main/default/classes/ESignController.cls
@@ -1,9 +1,16 @@
+/*
+ * @Author: zhangchunxu
+ * @Date: 2023-07-17 10:21:05
+ * @LastEditors: zhangchunxu
+ * @LastEditTime: 2023-08-07 19:44:59
+ * 
+ */
 public class ESignController {
     @AuraEnabled
     public static InitData ESignController (String recordId){
         InitData res = new initData();
         try{
-            eSignForm__c report = [SELECT Id,Group_purchase_PCL__c,OCM_man_province_cus__c,HPSignUpStatus__c,Sales_Root_Formula__c,HPSignUpDate__c,agencyAutoSignUpStatus__c,agencySignUpDate__c  FROM eSignForm__c WHERE Id = :recordId LIMIT 1];
+            eSignForm__c report = [SELECT Id,Group_purchase_PCL__c,OCM_man_province_cus__c,HPSignUpStatus__c,Sales_Root_Formula__c,HPSignUpDate__c,agencyAutoSignUpStatus__c,agencySignUpDate__c,Statu_Achievements_DN__c  FROM eSignForm__c WHERE Id = :recordId LIMIT 1];
             res.Id = report.Id;
             res.GrouppurchasePCL = report.Group_purchase_PCL__c;
             res.OCMManProvinceCus = report.OCM_man_province_cus__c;
@@ -16,6 +23,7 @@
             res.userId = UserInfo.getUserId();
             res.systemProfileId = getProfileIdByName(LightingButtonConstant.SYSTEM_PROFILE_NAME);
             res.OBA4_sinFor = getProfileIdByName(LightingButtonConstant.OBA4_sinFor);
+            res.StatuAchievementsDNId = report.Statu_Achievements_DN__c;
             System.debug(LoggingLevel.INFO, '*** res: ' + res);
         }catch(Exception e){
             System.debug(LoggingLevel.INFO, '*** e: ' + e);
@@ -75,5 +83,7 @@
         public String systemProfileId;
         @AuraEnabled
         public String OBA4_sinFor;
+        @AuraEnabled
+        public String StatuAchievementsDNId;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1