Repository Access Layer 版本库访问层
The recommendation is that you place all of your database logic in a separate repository layer.
推荐做法是把所有有关数据库的逻辑分离出来,放在一个repository层中。
Here fetching strategy decision management is kept out side the lower level service or repository layer.
这里我们将对抓取策略的管理放在了底层服务和Respository层之外。
By this we can use the same service and repository layer APIs to satisfy different business use case requirements.
这样我们就可以使用相同的Service和Repository层API来满足各种不同的业务规则了。
应用推荐