buli
2022-04-08 b6f2c55d21463def425048aba48bed273156e9a9
force-app/main/default/classes/LoanerLendDeliverController.cls
@@ -6,6 +6,10 @@
    public loaner_application__c lac {get;private set;}
    public loaner_application__c la { get; private set; }
    // // 20220311 PI改造 --start
    // public string staticResource { get; private set; }
    // // 20220311 PI改造 --end
    public Set<String> laSet {get; private set;}
    /* 画面步骤
     * 下架:StockDown
@@ -23,6 +27,7 @@
    public LoanerLendDeliverController() {
        laId = System.currentPageReference().getParameters().get('id');
        step = System.currentPageReference().getParameters().get('step');
        //staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('Contact')); //20220311 PI改造
    }
    public PageReference init() {
@@ -373,6 +378,7 @@
        le.Name = temp.day()+ '日'+str+'物流单';
        if(str.equals('回寄')) le.IsDeliveryLogistics__c = false;
        try{
            system.debug('le:'+le);
            insert le;
        }catch(Exception ex){
             ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, ex.getMessage() + ' | Line:' + ex.getLineNumber()));