高章伟
2022-03-10 1312ba82d4c880bdb5357d28e0d4af5b285f610f
force-app/main/default/classes/ConsumAutoSelectBatch.cls
@@ -24,6 +24,7 @@
                + ', demo_purpose2__c'
            + ' from Consum_Apply__c'
            + ' where (Status__c = \'已批准\' OR Status__c = \'已出库指示\')'
            // + ' and demo_purpose2__c !=\'动物实验\' and demo_purpose2__c !=\'ET展箱\''
            + ' and Wei_Shipment_request__c > 0'
            + ' and Yi_loaner_arranged__c = 0'
            + ' order by Id';
@@ -47,7 +48,7 @@
                      AND Cancel_Select__c = false
                      AND Shipment_request_time2__c = null];
            List<Consum_Apply_Equipment_Set_Detail__c> caesdList = new List<Consum_Apply_Equipment_Set_Detail__c>();
            Boolean haveChangeAss = ConsumDefaultSelectController.reSetAsset(selectedData, caesdList, csmApyList[0], false, true);
            if (caesdList.size() > 0) {
                update caesdList;