From fd9df05c48c09b4d7f39a3b401882bda226dedea Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期二, 31 十月 2023 20:38:18 +0800
Subject: [PATCH] 近期修改

---
 force-app/main/default/classes/OFSUploadRepairImageRest.cls |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/force-app/main/default/classes/OFSUploadRepairImageRest.cls b/force-app/main/default/classes/OFSUploadRepairImageRest.cls
index c371cf7..cef55b6 100644
--- a/force-app/main/default/classes/OFSUploadRepairImageRest.cls
+++ b/force-app/main/default/classes/OFSUploadRepairImageRest.cls
@@ -1,5 +1,6 @@
 @RestResource(urlMapping='/OFSUploadRepairImage/*')
 global with sharing class OFSUploadRepairImageRest {
+    // 20231103 chenjingwu  Lightning鏂囦欢淇敼 Start
     @HttpPost
     global static void doPost(String repairId, String ccImg, String acImg, String rqId) {
         system.debug('OFSUploadImageRest.start');
@@ -36,6 +37,7 @@
                 //     res.responseBody = blob.valueOf(jsonResponse);
                 //     return;
                 // }
+                // 20231103 chenjingwu  Lightning鏂囦欢淇敼 Start
                 // List<Attachment> attList = [Select Id, Name, Body, ParentId From Attachment Where Id= :repairQ.contract_consent_id__c];
                 // Attachment att = null;
                 List<ContentVersion> verisonList = [select Id,Title,VersionData from ContentVersion where Id =: repairQ.contract_consent_id__c];
@@ -69,6 +71,7 @@
                     }
                     ccId = version.Id;
                     repairQ.contract_consent_id__c = ccId;
+                    // 20231103 chenjingwu  Lightning鏂囦欢淇敼 End
                 } catch ( Exception ex ) {
                     //TODO:
                     //error message:cannot update exception
@@ -92,6 +95,7 @@
                 }
             }
             if (String.isNotBlank(acImg)) {
+                // 20231103 chenjingwu  Lightning鏂囦欢淇敼 Start
                 // List<Attachment> attList = [Select Id, Name, Body, ParentId From Attachment Where Id= :repair.acceptance_id__c];
                 List<ContentVersion> versionList = [select Id,Title,VersionData from ContentVersion where Id =: repair.acceptance_id__c];
                 // Attachment att = null;
@@ -133,6 +137,7 @@
                     // res.responseBody = blob.valueOf(jsonResponse);
                     // return;
                 }
+                // 20231103 chenjingwu  Lightning鏂囦欢淇敼 End
             }
             
             if (String.isNotBlank(ccId)) {
@@ -184,4 +189,5 @@
         res.responseBody = blob.valueOf(jsonResponse);
         return;
     }
+    // 20231103 chenjingwu  Lightning鏂囦欢淇敼 End
 }
\ No newline at end of file

--
Gitblit v1.9.1