新增监管平台业务文件,新增搜索商品 处方可开具数量

This commit is contained in:
2023-12-12 11:47:32 +08:00
parent ba1402b26b
commit 8fe4f57f30
5 changed files with 59 additions and 6 deletions
+10
View File
@@ -132,4 +132,14 @@ class ReportRegulatory extends Model
})
->get($fields);
}
/**
* 检测是否存在
* @param array $params
* @return bool
*/
public static function getExists(array $params): bool
{
return self::where($params)->exists();
}
}