Commit edcfb412 authored by zhuwei's avatar zhuwei

model

parent 0f051bf8
......@@ -5,6 +5,7 @@ namespace app\model;
/**
* 客户电话跟进-临时表
*/
use app\task\controller\FollowUpTask;
use think\Db;
......@@ -18,6 +19,8 @@ class UPhoneFollowUpTemporary extends BaseModel
function __construct($site_id)
{
$date = date("Y-m-d", time());
$t_follow_up_task = new FollowUpTask();
$t_follow_up_task->isExistTable($date, $site_id);
$this->UPhoneFollowUp = Db($this->table."_".$site_id."_".$date);
$this->siteId = $site_id;
}
......
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