Commit 7bb99c2c by html5-李恒逸

更改bug

parent f1743476
......@@ -419,7 +419,7 @@ class Distributionadmin extends CI_Controller
$channelInfo=$query->result_array();
//查找此销管 绑定 此分销商的所有项目,并且不允许修改
$buildings = $this->building_distributor->get_has_building('R.user_id =' . $uid . ' and R.distributor_id = ' . $id);
$buildings = $this->building_distributor->get_has_building('R.distributor_id = ' . $id);
$this->data['buildings'] = $buildings;
$this->data['channelInfo']=$channelInfo;
......
......@@ -1107,7 +1107,7 @@ class Report extends CI_Controller
if (!empty($manager_info) && $manager_info['role_id'] == '10')
{
$userInfo = $this->relate->get(array('user_id' => $manager_id, 'distributor_id' => $distributor_id, 'building_id' => $building_id));
$userInfo = $this->relate->get(array('distributor_id' => $distributor_id, 'building_id' => $building_id));
if (!$userInfo)
{
......
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