1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| public with sharing class LexLostItemListController {
| @AuraEnabled
| public static String init(String recordId){
| try {
| List<Rental_Apply_Equipment_Set_Detail__c> raesd = [SELECT Id FROM Rental_Apply_Equipment_Set_Detail__c WHERE Rental_Apply__c = :recordId AND Check_lost_Item_F__c = '欠品' AND Return_DeliverySlip__c = null];
| if(raesd.size()>0){
| return 'OK';
| }
| }
| catch (Exception e) {
| System.debug('*******LexLostItemListController******'+e.getMessage());
| }
| return '';
| }
| }
|
|