master:档口商品列表返回值 增加字段;

pull/1121/head
liujiang 2025-10-19 14:08:21 +08:00
parent d0a0efcd22
commit 2bd08b69e9
2 changed files with 8 additions and 1 deletions

View File

@ -39,6 +39,10 @@ public class StoreProdPageResDTO {
private Long prodCateId;
@ApiModelProperty(value = "分类类目")
private String prodCateName;
@ApiModelProperty(value = "鞋面材质(靴筒面材质)")
private String shaftMaterial;
@ApiModelProperty(value = "鞋面内里材质")
private String shoeUpperLiningMaterial;
@ApiModelProperty(value = "标准尺码")
private String standard;
@ApiModelProperty(value = "销售金额(元)")

View File

@ -34,11 +34,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
spc.prod_status,
spc.create_time,
sf.file_url AS mainPicUrl,
sp.private_item
sp.private_item,
spca.shaft_material,
spca.shoe_upper_lining_material
FROM
store_product_color spc
JOIN store_product sp ON spc.store_prod_id = sp.id
JOIN sys_product_category pc ON sp.prod_cate_id = pc.id
JOIN store_product_category_attribute spca ON spc.store_prod_id = spca.store_prod_id AND spca.del_flag = 0
LEFT JOIN store_product_file spf ON sp.id = spf.store_prod_id AND spf.file_type = 1 AND spf.order_num = 1 AND spf.del_flag = 0
LEFT JOIN sys_file sf ON spf.file_id = sf.id
WHERE