导出链路问题修正

master
zyx 5 years ago
parent 0787c976ef
commit 68e57ab1f5

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

Loading…
Cancel
Save