提交 8a1c48b2 authored 作者: chengye's avatar chengye

修改供应商接口满足一次取出所有供应商数据

上级 49991419
...@@ -23,7 +23,7 @@ class opensupplierClassAction extends openapiAction ...@@ -23,7 +23,7 @@ class opensupplierClassAction extends openapiAction
if(!empty($post['email'])){ if(!empty($post['email'])){
m('log')->addlogs('供应商接口调用', 'list: email '.$post['email'].'count '.$post['count'] , 2); m('log')->addlogs('供应商接口调用', 'list: email '.$post['email'].'count '.$post['count'] , 2);
$user = $this->db->getone('oa_userinfo', 'email = '.$post['email']); $user = $this->db->getone('oa_userinfo', 'email = \''.$post['email'].'\'');
$where = ' deptname = '.$user['deptname']; $where = ' deptname = '.$user['deptname'];
} }
if($post['count'] == 'all') if($post['count'] == 'all')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论