From 1312ba82d4c880bdb5357d28e0d4af5b285f610f Mon Sep 17 00:00:00 2001 From: 高章伟 <gaozhangwei@prec-tech.com> Date: 星期四, 10 三月 2022 15:54:39 +0800 Subject: [PATCH] 最近一月修改内容 --- force-app/main/default/classes/EquipmentSetShippmentReceived2Controller.cls | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/classes/EquipmentSetShippmentReceived2Controller.cls b/force-app/main/default/classes/EquipmentSetShippmentReceived2Controller.cls index c028ad4..77cf12d 100644 --- a/force-app/main/default/classes/EquipmentSetShippmentReceived2Controller.cls +++ b/force-app/main/default/classes/EquipmentSetShippmentReceived2Controller.cls @@ -201,7 +201,8 @@ //妫�鏌ユ槸鍚﹀彲浠ョ户缁� Rental_Apply__c RaTar = [select Campaign__c,Repair__c,next_action__c,QIS_number__r.ReplaceDeliveryDate__c,demo_purpose2__c,Follow_UP_Opp__r.Shipping_Finished_Day_Func__c, - Campaign__r.Status,repair__r.Return_Without_Repair_Date__c,Repair__r.Repair_Final_Inspection_Date__c,Repair__r.Repair_Shipped_Date__c + Campaign__r.Status,repair__r.Return_Without_Repair_Date__c,Repair__r.Repair_Final_Inspection_Date__c,Repair__r.Repair_Shipped_Date__c, + Campaign__r.IF_Approved__c, Campaign__r.Meeting_Approved_No__c from Rental_Apply__c where id=:Raid]; @@ -232,6 +233,13 @@ return null; } //1822 yc 20211108 end + + //20220225 sx start obpm 涓嬫灦澧炲姞 鏄惁鐢宠鍐宠鍕剧潃娌℃湁鍐宠缂栧彿涓嶈兘杩涜鎿嶄綔 + else if ( RaTar.Campaign__c!= null && RaTar.Campaign__r.IF_Approved__c && RaTar.Campaign__r.Meeting_Approved_No__c == null){ + ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '宸茬敵璇峰喅瑁佷絾鍐宠缂栫爜涓虹┖')); + return null; + } + //20220225 sx end 涓嬫灦澧炲姞鍒ゆ柇 String userid = Userinfo.getUserId(); List<Rental_Apply_Equipment_Set_Detail__c> eList = new List<Rental_Apply_Equipment_Set_Detail__c>(); -- Gitblit v1.9.1