GWY
2022-05-30 4420517bbbffea48cabe7a7dcdf2e1c4b440fc85
两个LS特殊条件在说明的增减
1个文件已修改
12 ■■■■■ 已修改文件
force-app/main/default/classes/OrderTriggerHandler.cls 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/classes/OrderTriggerHandler.cls
@@ -1925,6 +1925,12 @@
            if (newOrder.SP_33__c == true && oldOrder.SP_33__c == false) {
                newOrder.Description += sObjectFieldMaps.get('SP_33__c').getDescribe().getLabel() + ' \r\n ';
            }
            if (newOrder.SP_32__c == true && oldOrder.SP_32__c == false) {
                newOrder.Description += sObjectFieldMaps.get('SP_32__c').getDescribe().getLabel() + ' \r\n ';
            }
            if (newOrder.SP_31__c == true && oldOrder.SP_31__c == false) {
                newOrder.Description += sObjectFieldMaps.get('SP_31__c').getDescribe().getLabel() + ' \r\n ';
            }
            if (newOrder.SP_11__c == true && oldOrder.SP_11__c == false) {
                newOrder.Description += sObjectFieldMaps.get('SP_11__c').getDescribe().getLabel() + ' \r\n ';
            }
@@ -1991,6 +1997,12 @@
            if (newOrder.SP_33__c == false && oldOrder.SP_33__c == true) {
                newOrder.Description =  newOrder.Description.remove(sObjectFieldMaps.get('SP_33__c').getDescribe().getLabel() + ' \r\n ');
            }
            if (newOrder.SP_32__c == false && oldOrder.SP_32__c == true) {
                newOrder.Description =  newOrder.Description.remove(sObjectFieldMaps.get('SP_32__c').getDescribe().getLabel() + ' \r\n ');
            }
            if (newOrder.SP_31__c == false && oldOrder.SP_31__c == true) {
                newOrder.Description =  newOrder.Description.remove(sObjectFieldMaps.get('SP_31__c').getDescribe().getLabel() + ' \r\n ');
            }
            if (newOrder.SP_11__c == false && oldOrder.SP_11__c == true) {
                newOrder.Description = newOrder.Description.remove(sObjectFieldMaps.get('SP_11__c').getDescribe().getLabel() + ' \r\n ');
            }