| | |
| | | orderId.add(conorder.Id); |
| | | } |
| | | System.debug('ANY o' + orderId); |
| | | List<Consumable_order_details2__c> conList = new List<Consumable_order_details2__c>(); |
| | | //20200916 ljh update start |
| | | //conList = [SELECT id,Bar_Code__c FROM Consumable_order_details2__c WHERE Dealer_Arrive__c = false AND Consumable_order_minor__c = :orderId AND Deliver_date__c < :orderdate AND recordtypeid = :System.Label.RT_ConOrderDetail2_Delivery]; |
| | | List<Consumable_order_details2__c> conList = new List<Consumable_order_details2__c>(); |
| | | if (type != null && type.equals('all')) { |
| | | conList = [ |
| | | SELECT id, Bar_Code__c |
| | |
| | | return null; |
| | | } |
| | | } |
| | | } |
| | | } |