Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目标:想要按百分比折扣显示列表排序。
第 1 步:在索引器中,当填充平面表时,添加两列,一列是最终价格,二列是百分比折扣。
查询:这应该如何实现?是否应该扩展某个类,或者我应该使用一些观察者,或者是否有任何扩展可以做到这一点。
欣赏架构指南或代码片段。