From c47e1506813f41c99e0b8cd7393c45401c7bcc8a Mon Sep 17 00:00:00 2001 From: qianhy Date: Mon, 6 Mar 2023 14:21:15 +0800 Subject: [PATCH] cost plan adjust if_usedcar select --- api/controllers/plan/Order.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/controllers/plan/Order.php b/api/controllers/plan/Order.php index 59805e72..8b4146c2 100644 --- a/api/controllers/plan/Order.php +++ b/api/controllers/plan/Order.php @@ -468,7 +468,6 @@ class Order extends CI_Controller{ status = 1 or ( status = 0 and id in (select o_id from `lc_receiver_order_status` where (pid_status = 4 and `status` in (1,2)) or (pid_status = 3 and `status` = 1) group by o_id having count(distinct pid_status) = 2 )) or (`status` =0 and id in (select o_id from `lc_receiver_order_status` where `pid_status` = 3 and `status` = 1 ) and biz_id in (select id from lc_biz where type <> 1)) - or ( status = 0 and id in (select id from lc_receiver_orders_v2 where if_usedcar = 1 and bill_time > 0 )) )' => null, 'id not in (select o_id from lc_items_cost)' => null, 'item_id>' => 0, @@ -483,7 +482,6 @@ class Order extends CI_Controller{ status = 1 or ( status = 0 and id in (select o_id from `lc_receiver_order_status` where (pid_status = 4 and `status` in (1,2)) or (pid_status = 3 and `status` = 1) group by o_id having count(distinct pid_status) = 2 )) or (`status` =0 and id in (select o_id from `lc_receiver_order_status` where `pid_status` = 3 and `status` = 1 ) and biz_id in (select id from lc_biz where type <> 1)) - or ( status = 0 and id in (select id from lc_receiver_orders_v2 where if_usedcar = 1 and bill_time > 0 )) )'] = null; $time_server = time();