Commit 419f4dc5 by zhouhaibao

[+]试驾服务

1 parent b4ee77fa
......@@ -131,7 +131,7 @@
from t_approval app
left join t_electric_fence_copy tvd on app.biz_id = tvd.id and tvd.del_flag = 0
left join t_electric_fence tef on tvd.fence_id=tef.id
left join t_trial_drive_shop shop on tvd.created_by=shop.created_by
left join t_trial_drive_shop shop on tvd.created_by=shop.created_by and shop.del_flag = 0
LEFT JOIN t_user t6 ON t6.id = tvd.created_by
left join t_dict_data td on app.status=td.dict_value
where app.del_flag = 0 and app.status in (1,2,3) and td.dict_type='approval_status'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!