From 2f4492ee18f90274582fcc2bb06f5e9bf64136e8 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 13 五月 2022 17:32:14 +0800 Subject: [PATCH] ProdBackup0513 --- force-app/main/default/classes/NewDiagnosisPartController.cls | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/force-app/main/default/classes/NewDiagnosisPartController.cls b/force-app/main/default/classes/NewDiagnosisPartController.cls index 82aefa3..ae68ac0 100644 --- a/force-app/main/default/classes/NewDiagnosisPartController.cls +++ b/force-app/main/default/classes/NewDiagnosisPartController.cls @@ -79,8 +79,7 @@ if (diagnosisPart.DELIVERED__c == false && String.isBlank(diagnosisPart.Id)) { Boolean isUpdateSwo = false; - List<SWO__c> swoList = [select Id,Diagnose_part_not_delievered_1__c,Diagnose_part_not_delievered_2__c,Diagnose_part_not_delievered_3__c from SWO__c where Id=:diagnosisPart.SWO__c]; - System.debug('swoList.size():'+swoList.size()); + List<SWO__c> swoList = [select Diagnose_part_not_delievered_1__c,Diagnose_part_not_delievered_2__c,Diagnose_part_not_delievered_3__c from SWO__c where Id=:diagnosisPart.SWO__c]; if (swoList!=null && swoList.size()!=0) { SWO__c swo = swoList[0]; if(String.isBlank(swo.Diagnose_part_not_delievered_1__c)){ @@ -93,7 +92,6 @@ isUpdateSwo = true; swo.Diagnose_part_not_delievered_3__c = diagnosisPart.PART_NUMBER__c; } - System.debug('swo.Id:'+swo.Id); if(isUpdateSwo) update swo; } } -- Gitblit v1.9.1