|
|
@ -5714,7 +5714,7 @@ if ($key == 'model'){
|
|
|
|
if (!empty(I("root_id"))) {
|
|
|
|
if (!empty(I("root_id"))) {
|
|
|
|
$root_id = I("root_id");
|
|
|
|
$root_id = I("root_id");
|
|
|
|
$parentData = $this->getParentSpendData($root_id,$month,2);
|
|
|
|
$parentData = $this->getParentSpendData($root_id,$month,2);
|
|
|
|
$map['chain'] =['like','%'.$root_id.'%'];
|
|
|
|
$map['chain'] =['like','%/'.$root_id.'/%'];
|
|
|
|
$map['level'] = 2;
|
|
|
|
$map['level'] = 2;
|
|
|
|
} else if(!empty(I("sign"))){
|
|
|
|
} else if(!empty(I("sign"))){
|
|
|
|
$map['parent_id'] = ['neq',0];
|
|
|
|
$map['parent_id'] = ['neq',0];
|
|
|
@ -5793,7 +5793,7 @@ if ($key == 'model'){
|
|
|
|
|
|
|
|
|
|
|
|
$parentData = $this->getParentSpendData($root_id,$month,3);
|
|
|
|
$parentData = $this->getParentSpendData($root_id,$month,3);
|
|
|
|
|
|
|
|
|
|
|
|
$map['chain'] =['like','%'.$root_id.'%'];
|
|
|
|
$map['chain'] =['like','%/'.$root_id.'/%'];
|
|
|
|
$map['level'] = 3;
|
|
|
|
$map['level'] = 3;
|
|
|
|
|
|
|
|
|
|
|
|
} else if(!empty(I("sign"))){
|
|
|
|
} else if(!empty(I("sign"))){
|
|
|
@ -5873,7 +5873,7 @@ if ($key == 'model'){
|
|
|
|
$parent_id = I("parent_id");
|
|
|
|
$parent_id = I("parent_id");
|
|
|
|
$parentData = $this->getParentSpendData($parent_id,$month,4);
|
|
|
|
$parentData = $this->getParentSpendData($parent_id,$month,4);
|
|
|
|
|
|
|
|
|
|
|
|
$map['chain'] =['like','%'.$parent_id.'%'];
|
|
|
|
$map['chain'] =['like','%/'.$parent_id.'/%'];
|
|
|
|
$map['level'] = 4;
|
|
|
|
$map['level'] = 4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|