Commit 13191b4f authored by hujun's avatar hujun

修改监督执行列表

parent b723b102
......@@ -104,13 +104,13 @@ class Supervise extends Basic
switch ($agent_data['level']) {
case 20 :
$where = 'a.store_id = '.$agent_data['store_id'];break;
$where = 'b.store_id = '.$agent_data['store_id'];break;
case 30 :
$where = 'a.district_id = '.$agent_data['district_id'];break;
$where = 'b.district_id = '.$agent_data['district_id'];break;
case 40 :
$where = 'a.store_id = '.$agent_data['store_id'] . ' or a.district_id = '.$agent_data['district_id'];break;
$where = 'b.store_id = '.$agent_data['store_id'] . ' or a.district_id = '.$agent_data['district_id'];break;
default :
$where = 'user_id = '.$this->params['agent_id'];
$where = 'a.user_id = '.$this->params['agent_id'];
}
//拜访类型(0代表门店拜访、1代表监督执行)
......
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