李彤
2022-05-17 c84f6ee3f51a1ca76952b27eb6f118248fbaa6a3
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);
                }