Commit 078948c6 by hcy001

1

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