Commit b92be3f4 authored by clone's avatar clone

1

parent a89394d1
...@@ -436,9 +436,13 @@ class PayLogService ...@@ -436,9 +436,13 @@ class PayLogService
case 2://部门 和公司都可以看全部 case 2://部门 和公司都可以看全部
break; break;
case 3://门店 case 3://门店
$vModel = new VerifyService(); /* $vModel = new VerifyService();
$agentArr = $vModel->getAgentsByAgentIdAndType($params["agent_id"], $check_type); $agentArr = $vModel->getAgentsByAgentIdAndType($params["agent_id"], $check_type);*/
$conditions["a.agent_id"] = array("in", $agentArr);
$redisCache = new RedisCacheService();
$agentInfo = $redisCache->getRedisCache(2, $params["agent_id"]);
$conditions["a.reckon_in_store"] = $agentInfo["store_id"];
break; break;
default: default:
return ""; return "";
......
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