Commit b82cc67e by ping.wu

商品券支持套餐

parent fe4aa3c7
......@@ -625,7 +625,8 @@ public class CalculationCommonService {
HashMap<String, BlockRow> map = new HashMap<>();
if (goods == null) return map;
//固定搭配
if (isFixed) {
if (isFixed ) {
if(CollectionUtils.isNotEmpty(goods.getGroupCombox())){
for (GroupCombox gx : goods.getGroupCombox()) {
BlockRow blockRow = new BlockRow();
blockRow.setDiscountAmount(gx.getDiscountAmount());
......@@ -652,6 +653,7 @@ public class CalculationCommonService {
map.put(gx.getGoodsId(), blockRow);
}
}
}
//可选搭配及小料
else {
List<BlockRow> blockRows = new ArrayList<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment