/** * 通过表架号获取表架参数 * * @param string $structno * @return arrray */ public function getStructparmBySingle($structno) { $storage = new StorageAction(); $result = $storage->findByCondition("storageName = '{$structno}'"); if (!$result) { return false; } return $result[0]; }
/** * 查询下级库 * * @return unknown */ public function querytoplaces($parm = '') { $storage = new StorageAction(); $result = $storage->findByCondition("stype = '下级库'", 'storageName'); return $result; }