From 79bc56edd16cce7345d2457a42eb362b56e59135 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Thu, 22 Dec 2022 11:01:30 +0530 Subject: [PATCH] DataDump : ps --- .../Request_DataDump_Controller.php | 34 +------------------ 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/api/application/controllers/Request_DataDump_Controller.php b/api/application/controllers/Request_DataDump_Controller.php index 5fd03415..cd08f579 100755 --- a/api/application/controllers/Request_DataDump_Controller.php +++ b/api/application/controllers/Request_DataDump_Controller.php @@ -40,7 +40,7 @@ class Request_DataDump_Controller extends REST_Controller { ### XL-Data-Dump master Details Filter # PD-TYPE,PRODUCT,CUSTOMER-SEGMENT AND PD-SNO. - public function getMasterForDataDumpold_get(){ + public function getMasterForDataDump_get(){ log_message('ERROR','## XL-datadump Master Details inside Fns - '.date('Y-m-d H:i:s A')); $result = $this->Data_Dump_Model->filtermasterfordatadumprequest(); if(count($result) > 0) @@ -57,38 +57,6 @@ class Request_DataDump_Controller extends REST_Controller { $this->response($data,REST_Controller::HTTP_OK); }//getMasterForDataDump closed here. - // public function getMasterForDataDump_post(){ - // log_message('ERROR','## XL-datadump Master Details inside Fns - '.date('Y-m-d H:i:s A')); - // $records = $this->post(); - // $result = $this->Data_Dump_Model->filtermasterfordatadumprequest(); - // if(count($result) > 0) - // { log_message('ERROR',"## XL-datadump Master Details : ".json_encode($result)); - // $data['dataStatus'] = true; - // $data['status'] = REST_Controller::HTTP_OK; - // $data['records'] = $result; - // $data['message'] = "Totalpd-count Except Truncate cases"; - // if(!empty($records)){ - // $pd_type = isset($records['pd_type'])?$records['pd_type']:null; - // $pd_from_date = isset($records['pd_from_date'])?$records['pd_from_date']: null; - // $pd_to_date = isset($records['pd_to_date'])?$records['pd_to_date']: null; - // $pd_city = isset($records['pd_city'])?$records['pd_city']: null; - // $pd_products = isset($records['pd_products'])?$records['pd_products']: null; - // $pd_lender = isset($records['pd_lender'])?$records['pd_lender']: null; - // $pd_customer_segment = isset($records['pd_customer_segment'])?$records['pd_customer_segment']: null; - // $pd_status = COMPLETED; - // $result_data = $this->Data_Dump_Model->PDList($pd_type, $pd_status, $pd_from_date, $pd_to_date, $pd_city, $pd_products, $pd_lender,$pd_customer_segment); - // $data['records']['pdid'] = $result_data; - // $data['records']['totalpd'] = count($result_data); - // $data['message'] = "Totalpd-count Should be completed Cases only"; - // } - // }else{ log_message('ERROR',"## XL-datadump Master Details Error "); - // $data['dataStatus'] = false; - // $data['status'] = REST_Controller::HTTP_NO_CONTENT; - // $data['message'] = "Fails"; - // unset($data['records']); - // } - // $this->response($data,REST_Controller::HTTP_OK); - // }//getMasterForDataDump closed here. ### Request the Details For XL-Data-Dump. public function getRequestForDataDump_post(){