Comments (4)
totalOrderLineActualTotalPrice
是由orderLinesInScope
产生,后者只会包含符合条件的订单,如果金额不满足要求,不会在此范围内。
PerMeet 的注释错了,是应该改成 900,你可以提交一个 PR 纠正它吗?
from eshop.
Sorry,纠正,不是在orderLinesInScope
中筛选订单项,而是在订单产生时已经筛选过了:
from eshop.
我在NewOrerGenerator中,没找到筛选订单的处理。
OrdersAppServiceTests.cs中写了个测试
[InlineData(5, 2.3, 4, 0, CouponType.Normal)]
这个不满足条件,依然触发了满减。
不确定是否我测试写错了,能否帮忙看下?
https://github.com/zhangzw218/EShop/tree/zzw/20240619_4.2.0
from eshop.
这是一个 Bug,在 #280 中修复,如果可以把你的 UT 提交到本仓库,会很有帮助。(但是请全英文化,以便长期维护)
from eshop.
Related Issues (20)
- Introduce `SalesStartTime` and `SalesEndTime` in Product/ProductSku
- Duplicate option names in different attribute is not allowed HOT 1
- UserFlashSaleResultCache should have an expiration
- Permission for `FlashSalePlanAppService.PreOrderAsync` method
- Set `Order.ReducedInventoryAfterPlacingTime` in advance
- Record InventoryStrategy in OrderLine
- Improve distributed caches
- Avoid inventory over-rollback
- An error occurred when switching to MySQL to generate Migration HOT 2
- Revisit grain/actor inventory providers design
- 商品价格支持面议或者其它文本描述吗? HOT 4
- Add migrations时异常 HOT 3
- 订单创建权限变更 HOT 1
- 对象名 'EasyAbpPaymentServicePayments' 无效 HOT 2
- 微信支付统一下单异常,签名失败 HOT 2
- 订单分页查询接口支持订单状态查询
- Coupons support gift scenarios
- Can't build store product view for new product HOT 3
- After PaymentCreatedEventHandler state mistakes should be how to deal with? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eshop.