/** * 功能:通过名字获取采购员id * @return void * @author wxb * @date 2013/11/8 */ public function purchaseIdByName($name) { $ret = GoodsModel::purchaseIdByName($name); if ($ret == false) { self::$errCode = GoodsModel::$errCode; self::$errMsg = GoodsModel::$errMsg; return false; } return $ret; }