Commit 9a086022 by 崔彦峰

```

fix(goods): 添加售价不能低于最低价的验证逻辑

- 在商品提交服务中增加了售价与最低价的比较验证
- 当售价低于最低价时设置行错误信息
- 确保价格验证规则的一致性
```
1 parent 678cfd3c
......@@ -669,6 +669,10 @@ public class GoodsListingSubmitService {
setLineError(errorList, "最低价不合法", i);
}
if (sellPrice != null && minSellPrice != null && sellPrice.compareTo(minSellPrice) < 0) {
setLineError(errorList, "售价不能低于最低价", i);
}
Integer leaderIndex = baseLeaderIndexMap.getOrDefault(i, i);
String settlementTypeText = resolveBaseMergedText(list, leaderIndex, baseLeaderIndexMap, CreateBusinessApproveAllImportVo::getSettlementType);
if (parseSettlementType(settlementTypeText) == null) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!