Commit 86060a28 authored by 秦俊坤's avatar 秦俊坤

新增根据查询条件获取工厂信息的相关方法

parent ec5b52a7
...@@ -22,4 +22,12 @@ interface FactoryServiceInterface ...@@ -22,4 +22,12 @@ interface FactoryServiceInterface
* @return mixed * @return mixed
*/ */
public function getFactories(array $factoryIds = [], array $columns = ['*']); public function getFactories(array $factoryIds = [], array $columns = ['*']);
/**
* 根据筛选条件获取对应的工厂信息
* @param array $filters 筛选条件
* @param array|string[] $columns 查询字段
* @return mixed
*/
public function getFactoriesByFilters(array $filters = [], array $columns = ['*']);
} }
\ No newline at end of file
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