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