From 50b39c4b52bf5fd61ec46ada365c51e05a16d2ae Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 04 五月 2023 09:11:54 +0800
Subject: [PATCH] Backup0504

---
 force-app/main/default/classes/LexArriveGoodsMainController.cls |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/classes/LexArriveGoodsMainController.cls b/force-app/main/default/classes/LexArriveGoodsMainController.cls
index 2ae4a6a..f9a804b 100644
--- a/force-app/main/default/classes/LexArriveGoodsMainController.cls
+++ b/force-app/main/default/classes/LexArriveGoodsMainController.cls
@@ -31,6 +31,18 @@
     public static Results init(){
         Results results = new Results();
         try {
+            List<String> idList  = new List<String>();
+            idList.add('a2K10000002zHyDEAU');
+            idList.add('a2K10000002zIJEEA2');
+            idList.add('a2K10000002zK9rEAE');
+            idList.add('a2K10000004AKGBEA4');
+            idList.add('a2K10000004ALqeEAG');
+            idList.add('a2K10000004AMmrEAG');
+            idList.add('a2K10000004ANvDEAW');
+            idList.add('a2K10000004AOVxEAO');
+            idList.add('a2K10000004AOJZEA4');
+            idList.add('a2K10000004AOLuEAO');
+            idList.add('a2K10000004AOLfEAO');
             // coc = new Consumable_order__c();
             String userId = UserInfo.getUserId();
             List<user> Useracc = New List<user>();
@@ -62,6 +74,7 @@
                 soql += ',' + s;
             }
             soql += ' from Consumable_order__c where Order_type__c = \''+'璁㈠崟'+'\' and  recordtypeid =\'' + System.Label.RT_ConOrder_Delivery + '\' and Dealer_Info__c =\'' + accountid +'\' and Order_ProType__c =\'' + agencyProType +'\' and   (OrderNumber_notarrive__c > 0 or Delivery_detail_count__c >0) and Order_Owner_WorkLocal__c = \'' + userWorkLocation + '\' and showFalseNotshowTrue__c = false order by Deliver_date__c'; //
+            // soql = 'select id,name,ContractNo__c,Total_num__c,OrderNumber_arrived__c,Delivery_detail_count__c,OrderNumber_notarrive__c,More_than_seven_days__c,Shipment_date__c,First_Delivery__c from Consumable_order__c where id in :idList';
             raesList = Database.query(soql);
             //20200904 ljh add start
             Total_num = 0;
@@ -96,8 +109,13 @@
     }
 
     @AuraEnabled
-    public static Results searchConsumableorderdetails(){
+    public static Results searchConsumableorderdetails(String category1Str, Date cate2Str, String accountidStr, String userWorkLocationStr, String agencyProTypeStr){
         Results results = new Results();
+        category1 = category1Str;
+        cate2 = cate2Str;
+        accountid = accountidStr;
+        userWorkLocation = userWorkLocationStr;
+        agencyProType = agencyProTypeStr;
         try {
             // cate2 = coc.Shipment_date__c;
             // 鑾峰緱璁㈠崟涓�瑙�
@@ -133,6 +151,7 @@
             soql += ' order by Deliver_date__c';
             system.debug('====soql:' + soql);
             raesList = Database.query(soql);
+            results.raesList = raesList;
             results.result = 'Success';
         } catch (Exception e) {
             results.result = 'Fail';

--
Gitblit v1.9.1