public with sharing class lexCancelSelectController {
|
public lexCancelSelectController() {
|
|
}
|
@AuraEnabled
|
public static InitData initFromSelectSubstituteButton(String recordId){
|
InitData res = new InitData();
|
try{
|
Rental_Apply_Equipment_Set__c report=[select
|
Id,Rental_Apply__r.Status__c,Rental_Apply__r.Id
|
from Rental_Apply_Equipment_Set__c
|
where Id= :recordId];
|
res.id=report.Id;
|
res.RentalApplyId=report.Rental_Apply__r.Id;
|
res.Status=report.Rental_Apply__r.Status__c;
|
}catch(Exception e){
|
System.debug(LoggingLevel.INFO,'Rental_Apply_Equipment_Set__c Cancel Error : ' + e);
|
}
|
return res;
|
}
|
public class InitData{
|
@AuraEnabled
|
public String id;
|
@AuraEnabled
|
public String RentalApplyId;
|
@AuraEnabled
|
public String Status;
|
@AuraEnabled
|
public String RentalApplyC;
|
@AuraEnabled
|
public Decimal WeiAssignedCntC;
|
@AuraEnabled
|
public Date BollowDateC;
|
@AuraEnabled
|
public Decimal AssignedNotShipmentC;
|
@AuraEnabled
|
public List<String> statusList;
|
}
|
}
|