Commit 9876972c authored by hujun's avatar hujun

array

parent ef898abd
...@@ -85,6 +85,7 @@ class PhoneFollowUpService ...@@ -85,6 +85,7 @@ class PhoneFollowUpService
} }
if (!empty($params['content'])) { if (!empty($params['content'])) {
$params['content'] = trim($params['content']);
$where .= " AND content LIKE '%{$params['content']}%'"; $where .= " AND content LIKE '%{$params['content']}%'";
} }
......
...@@ -159,7 +159,7 @@ class UPhoneFollowUpTemporary extends BaseModel ...@@ -159,7 +159,7 @@ class UPhoneFollowUpTemporary extends BaseModel
$where $where
) ) as aa ORDER BY `id` DESC limit $start_index,$pageSize"; ) ) as aa ORDER BY `id` DESC limit $start_index,$pageSize";
return $this->UPhoneFollowUp->query($sql); return $this->UPhoneFollowUp->execute($sql);
} }
public function getUserFollowKey($field, $where, $order = 'id asc') { public function getUserFollowKey($field, $where, $order = 'id asc') {
......
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