master:推广营销增加字段 风格type;

pull/1121/head
liujiang 2025-08-29 11:51:38 +08:00
parent 5ec1f3915e
commit 3452637c99
3 changed files with 6 additions and 1 deletions

View File

@ -15,7 +15,7 @@
COALESCE(SUM(sps.quantity), 0) AS storageNum
FROM
store_sale ss
LEFT JOIN store_sale_detail ssd ON ss.id = ssd.store_sale_id
JOIN store_sale_detail ssd ON ss.id = ssd.store_sale_id
LEFT JOIN store_product_storage sps ON ss.store_id = sps.store_id
WHERE
ss.del_flag = 0 AND ss.voucher_date = #{voucherDate}

View File

@ -106,6 +106,7 @@ CREATE TABLE `advert_round`
`prod_id_str` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品ID字符串',
`pic_design_type` int UNSIGNED NULL DEFAULT NULL COMMENT '图片设计(自主设计、平台设计)',
`sys_intercept` int UNSIGNED NULL DEFAULT NULL COMMENT '系统拦截0 未拦截 1已拦截',
`style_type` int UNSIGNED NULL DEFAULT NULL COMMENT '风格榜风格ID',
`version` bigint UNSIGNED NULL DEFAULT NULL COMMENT '版本号',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除标志0代表存在 2代表删除',
`create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',

View File

@ -123,5 +123,9 @@ public class AdvertRound extends XktBaseEntity {
*
*/
private String rejectReason;
/**
* ID
*/
private Integer styleType;
}