Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
4bd3b562f9
@ -20,5 +20,5 @@ public class ProductVo {
|
||||
private long id;
|
||||
private float ItemSalePrice;
|
||||
private Long did;
|
||||
private int itemQuantity;
|
||||
private int item_quantity;
|
||||
}
|
||||
@ -379,7 +379,7 @@ public class ShopPageBaseServiceImpl extends BaseServiceImpl<ShopPageBaseMapper,
|
||||
item_id_row.add(did);
|
||||
List<ShopProductItem> shopProductItems= shopProductItemService.list(new QueryWrapper<ShopProductItem>().eq("item_id",did));
|
||||
if(!shopProductItems.isEmpty()){
|
||||
((JSONObject) datum).set("itemQuantity",shopProductItems.get(0).getItem_quantity()) ;
|
||||
((JSONObject) datum).set("item_quantity",shopProductItems.get(0).getItem_quantity()) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user