Commit 6d27c3ea authored by hezhen's avatar hezhen

修改简称

parent 3fb55eb1
......@@ -23,7 +23,7 @@ if (function_exists('longbing_check_redis')) {
}
}
function getCompanys($good_id){
$sql="SELECT c.id,c.name FROM".tablename('longbing_company_company')." c LEFT JOIN ".tablename('longbing_company_goods_company')." g
$sql="SELECT c.id,c.short_name name FROM".tablename('longbing_company_company')." c LEFT JOIN ".tablename('longbing_company_goods_company')." g
ON c.id=g.company_id WHERE g.good_id=$good_id and g.isdel=0 and c.status=1";
$list=pdo_fetchall($sql);
return $list;
......
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