From cd9c794383e5d2cfad818d7f0507408559be8a1b Mon Sep 17 00:00:00 2001
From: 李彤 <litong@prec-tech.com>
Date: 星期二, 10 五月 2022 14:14:55 +0800
Subject: [PATCH] 501

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

diff --git a/force-app/main/default/classes/NFM501FutureController.cls b/force-app/main/default/classes/NFM501FutureController.cls
index 5a9f148..b974e7a 100644
--- a/force-app/main/default/classes/NFM501FutureController.cls
+++ b/force-app/main/default/classes/NFM501FutureController.cls
@@ -262,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;
                         //椤圭洰闃舵
@@ -311,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);
                 }

--
Gitblit v1.9.1