Commit aa894289 authored by zw's avatar zw

客户预约看铺

parent 68e24bce
...@@ -908,8 +908,8 @@ class OrderLogService ...@@ -908,8 +908,8 @@ class OrderLogService
$oRefundModel = new ORefundModel(); $oRefundModel = new ORefundModel();
$oBargainModel = new OBargainModel(); $oBargainModel = new OBargainModel();
$appointWatchShopModel = new AppointWatchShop(); $appointWatchShopModel = new AppointWatchShop();
$field_appoint = "";
$appointData = $appointWatchShopModel->getAppointInfo();
$field_report = "a.id,a.create_time,a.predict_see_time,a.intro,b.id as order_id,b.house_id,b.house_title,c.id as agent_id,c.name,c.img,d.store_name"; $field_report = "a.id,a.create_time,a.predict_see_time,a.intro,b.id as order_id,b.house_id,b.house_title,c.id as agent_id,c.name,c.img,d.store_name";
...@@ -938,6 +938,17 @@ class OrderLogService ...@@ -938,6 +938,17 @@ class OrderLogService
$reportParams["report_id"] = array("in", $report_ids); $reportParams["report_id"] = array("in", $report_ids);
//客户c端提交预约看铺
$field_appoint = "a.id,a.create_time,b.user_nick,b.user_name";
$appointData = $appointWatchShopModel->getAppointWatchOur(1,15,"id desc",$field_appoint,["a.user_id"=>$user_id]);
if (count($appointData) > 0) {
foreach ($appointData as $k => $v) {
$v["step_name"] = "appoint";
$v["step"] = "提交预约看铺";
$result[$sort++] = $v;
}
}
//进场 march in //进场 march in
$field_march_in = "a.id,a.reception_id,a.create_time,b.id as order_id,b.house_id,b.house_title,c.id as agent_id,c.name,c.img,d.store_name"; $field_march_in = "a.id,a.reception_id,a.create_time,b.id as order_id,b.house_id,b.house_title,c.id as agent_id,c.name,c.img,d.store_name";
$marchInData = $oMarchInModel->getMarchInListByOrderId($field_march_in, $orderParams); $marchInData = $oMarchInModel->getMarchInListByOrderId($field_march_in, $orderParams);
......
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