Commit da74208e authored by hujun's avatar hujun

order_id

parent d1c07722
...@@ -194,6 +194,10 @@ class OReportModel extends Model ...@@ -194,6 +194,10 @@ class OReportModel extends Model
$where["a.status"] = 0; $where["a.status"] = 0;
$where["b.is_del"] = 0; $where["b.is_del"] = 0;
if (!empty($params['order_id'])) {
$where['b.id'] = $params['order_id'];
}
switch ($params["type"]) { switch ($params["type"]) {
case 2: case 2:
$result = $this->db->field($filed) $result = $this->db->field($filed)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment