From 8badb57ea2c82557850ad5b39281c3e8714eb119 Mon Sep 17 00:00:00 2001
From: liuyan <liuyan@prec-tech.com>
Date: 星期四, 24 十一月 2022 10:08:31 +0800
Subject: [PATCH] 科室信息漏传SPO问题
---
force-app/main/default/classes/NFM501FutureController.cls | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/classes/NFM501FutureController.cls b/force-app/main/default/classes/NFM501FutureController.cls
index 121005d..b974e7a 100644
--- a/force-app/main/default/classes/NFM501FutureController.cls
+++ b/force-app/main/default/classes/NFM501FutureController.cls
@@ -218,14 +218,19 @@
//杞崲琛紙瀹炵幇閫夐」鍒楄〃鐨勪笅鎷夐�夐」锛�
te1.BiddingType__c = NFMUtil.getMapValue(transferMap, 'BiddingType__c', LI.biddingType, iflog501Future);
te1.InfoQianlimaUrl__c = String.isBlank(LI.infoQianlimaUrl) ? te1.InfoQianlimaUrl__c : LI.infoQianlimaUrl;
+ System.debug('======111111111111========');
//鎷兼帴瀛楃涓�
if (LI.ZhaoRelationWay != null && LI.ZhaoRelationWay.size() > 0) {
+ System.debug('======LI.ZhaoRelationWay========'+LI.ZhaoRelationWay);
te1.ZhaoRelationWay__c = String.join(LI.ZhaoRelationWay, '锛�');
//add 瀵嗘枃 sushanhu 20220223 start
+ System.debug('======LI.ZhaoRelationWayEncrypted========'+LI.ZhaoRelationWayEncrypted);
te1.ZhaoRelationWay_Encrypted__c =String.join(LI.ZhaoRelationWayEncrypted,'锛�');
+ System.debug('======2222222222222========');
//add 瀵嗘枃 sushanhu 20220223 end
}
//杞崲琛紙閫夐」鍒楄〃鐨勪笅鎷夐�夐」锛�
+ System.debug('======3333333333333333========');
te1.IsElectronic__c = NFMUtil.getMapValue(transferMap, 'IsElectronic__c', LI.isElectronic, iflog501Future);
te1.XmNumber__c = String.isBlank(LI.xmNumber) ? te1.XmNumber__c : LI.xmNumber;
if ( String.isnotBlank(LI.tenderEndTime) ) {
@@ -257,7 +262,7 @@
//杞崲琛紙閫夐」鍒楄〃鐨勪笅鎷夐�夐」锛�
//鎺ュ彛浼犳潵鍏朵粬鍏憡
if (String.isBlank(te1.Id)) { //鍒ゆ柇鎷涙爣椤圭洰鏄惁瀛樺湪
- if ('5'.equals(LI.infoType)) {
+ if ('5'.equals(LI.infoType) || '2'.equals(LI.infoType)) { //20220510 lt SWAG-CE6C45
//鎷涙姇鏍囬」鐩悕绉�
te1.InfoTitle__c = LI.infoTitle == null ? te1.InfoTitle__c : LI.infoTitle;
//椤圭洰闃舵
@@ -306,19 +311,19 @@
}
// 棰勫憡璁板綍鏃� 鍙栫涓�娆¤幏鍙栧埌棰勫憡鐨勫綋鍓嶆椂闂�
// 濡傛灉鏈夊�硷紝涓嶆槸绗竴娆★紝濡傛灉娌″��
- if ('1'.equals(LI.infoType) && te1.noticeDate__c == null) {
+ if (('1'.equals(LI.infoType) || '2'.equals(LI.infoType)) && te1.noticeDate__c == null) { //20220510 lt SWAG-CE6C45
te1.noticeDate__c = Date.today();
System.debug('noticeDate__c:' + te1.noticeDate__c);
}
System.debug('LI.infoType:' + LI.infoType);
System.debug('te1.ResultDate__c:' + te1.ResultDate__c);
// 缁撴灉璁板綍鏃� 鍙栫涓�娆¤幏鍙栧埌缁撴灉鐨勫綋鍓嶆椂闂�
- if ('3'.equals(LI.infoType) && te1.ResultDate__c == null) {
+ if (('3'.equals(LI.infoType) || '2'.equals(LI.infoType)) && te1.ResultDate__c == null) { //20220510 lt SWAG-CE6C45
te1.ResultDate__c = Date.today();
System.debug('ResultDate__c:' + te1.ResultDate__c);
}
// 鍏憡璁板綍鏃� 鍙栫涓�娆¤幏鍙栧埌鍏憡鐨勫綋鍓嶆椂闂�
- if ('0'.equals(LI.infoType) && te1.publicDate__c == null) {
+ if (('0'.equals(LI.infoType) || '2'.equals(LI.infoType)) && te1.publicDate__c == null) { //20220510 lt SWAG-CE6C45
te1.publicDate__c = Date.today();
System.debug('publicDate__c:' + te1.publicDate__c);
}
@@ -596,8 +601,8 @@
insert insertbidInfoFileList;
}
if (!Manual_execution501future) {
- //娴嬭瘯
- // System.enqueueJob(new NFM502Controller(rowData.id));
+ //娴嬭瘯 Open the comment by Li Jun 20220404
+ System.enqueueJob(new NFM502Controller(rowData.id));
}
// logstr += '\nend';
rowData.NFM501Future_Count__c = 0;
--
Gitblit v1.9.1