商品模块代码提交
This commit is contained in:
parent
70e9199b4e
commit
fb1cc90ef7
|
|
@ -28,6 +28,10 @@ public class ShopProductVo implements Serializable {
|
|||
* 商品名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* sku id
|
||||
*/
|
||||
private Long skuId;
|
||||
/**
|
||||
* 原价
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
select t1.id,
|
||||
t1.name,
|
||||
t1.short_title,
|
||||
t2.sku_id,
|
||||
t2.origin_price,
|
||||
t2.sale_price,
|
||||
t2.member_price,
|
||||
|
|
@ -23,6 +24,7 @@
|
|||
t1.select_spec_info
|
||||
from tb_product t1
|
||||
left join (select x.product_id,
|
||||
x.id as sku_id,
|
||||
MIN(x.sale_price) as sale_price,
|
||||
x.origin_price,
|
||||
x.member_price,
|
||||
|
|
|
|||
Loading…
Reference in New Issue