Commit 078948c6 by hcy001

1

parent 4fef11e5
Showing with 1 additions and 1 deletions
...@@ -47,7 +47,7 @@ class InquiryModel extends Model ...@@ -47,7 +47,7 @@ class InquiryModel extends Model
} }
switch ($k) { switch ($k) {
case "inquiry_sn": case "inquiry_sn":
$query->where('a.' . $k, '=', $v); $query->whereRaw('lie_a.'.$k.' like "%' . $v . '%" ');
break; break;
case "inquiry_id": case "inquiry_id":
$query->where('a.id', '=', $v); $query->where('a.id', '=', $v);
......
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 sign in to comment