cost plan, add filter item_id > 0

This commit is contained in:
qianhy
2023-01-09 16:18:29 +08:00
parent bf233ef568
commit 095349fdf9
+1
View File
@@ -332,6 +332,7 @@ class Order extends CI_Controller{
$where = [
'status' => 1,
'id not in (select o_id from lc_items_cost)' => null,
'item_id>' => 0,
'id>=' => Orders_v2_entity::V2_START_ID
];
$id && $where['id'] = $id;