From 1312ba82d4c880bdb5357d28e0d4af5b285f610f Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 10 三月 2022 15:54:39 +0800
Subject: [PATCH] 最近一月修改内容
---
force-app/main/default/classes/TenderDeleteLwcController.cls | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/TenderDeleteLwcController.cls b/force-app/main/default/classes/TenderDeleteLwcController.cls
index af1dc83..f54b859 100644
--- a/force-app/main/default/classes/TenderDeleteLwcController.cls
+++ b/force-app/main/default/classes/TenderDeleteLwcController.cls
@@ -2,7 +2,7 @@
@AuraEnabled
public static String GetTenderinformationcData(String ParamIdStr) {
- List<Tender_information__c> arrays = Database.query('Select Id, InfoId__c, Logical_delete__c, ProjectId__c, Retain_Tender__c From Tender_information__c Where id = : ParamIdStr');
+ List<Tender_information__c> arrays = Database.query('Select Id,Name,InfoId__c,Logical_delete__c,ProjectId__c,Retain_Tender__c From Tender_information__c Where id = : ParamIdStr');
return JSON.serialize(arrays);
}
@@ -58,9 +58,20 @@
insert addlinksList;
}
}
+ // 銆愬鎵樸�戞嫑鏍囬」鐩�-閫昏緫鍒犻櫎鐨勯」鐩渶瑕佽嚜鍔ㄥ彇娑堜笌璇环鐨勫叧绯� fy 2022.3.7 start
+ List<Tender_Opportunity_Link__c> linksListdelect = [select id, Opportunity__c, Tender_information__c
+ from Tender_Opportunity_Link__c
+ where Tender_information__c = :TenInfo.Id];
+ if(linksListdelect.size()>0){
+ delete linksListdelect;
+ }
+ // 銆愬鎵樸�戞嫑鏍囬」鐩�-閫昏緫鍒犻櫎鐨勯」鐩渶瑕佽嚜鍔ㄥ彇娑堜笌璇环鐨勫叧绯� fy 2022.3.7 end
// }
// 浜掓崲淇濈暀鎷涙姇鏍囦笌鍒犻櫎鎷涙姇鏍囩殑淇℃伅Id
TenInfo.Retain_Tender__c = BTen.Id;
+ // 銆愬鎵樸�戞嫑鏍囬」鐩�-閫昏緫鍒犻櫎鐨勯」鐩渶瑕佽嚜鍔ㄥ彇娑堜笌璇环鐨勫叧绯� fy 2022.3.7 start
+ TenInfo.Name = '閫昏緫鍒犻櫎:'+TenInfo.Name;
+ // 銆愬鎵樸�戞嫑鏍囬」鐩�-閫昏緫鍒犻櫎鐨勯」鐩渶瑕佽嚜鍔ㄥ彇娑堜笌璇环鐨勫叧绯� fy 2022.3.7 end
String BTenInfo = BTen.InfoId__c;
BTen.InfoId__c = TenInfo.InfoId__c;//淇濈暀鎷涙姇鏍囩殑淇℃伅Id璧嬬粰鍒犻櫎鎷涙姇鏍囩殑淇℃伅Id
TenInfo.InfoId__c = BTenInfo;//鍒犻櫎鎷涙姇鏍囩殑淇℃伅Id璧嬬粰淇濈暀鎷涙姇鏍囩殑淇℃伅Id
--
Gitblit v1.9.1