Commit e7e5f383 by 林永健

feat(marketing): 添加营销活动商品销售门店数查询功能

- 在多个请求类中新增 baseSceneCode 和 includeStoreCount 字段
- 添加 MarketingActivityProductStoreCountVO 数据传输对象
- 实现批量查询活动下商品/套餐销售门店数的数据访问方法
- 在 MarketingActivityService 中添加填充门店数的业务逻辑
- 更新 MyBatis XML 映射文件中的查询语句
- 修改商品查询条件从 goods_alias 到 upgrade_goods_name
- 在响应 DTO 中添加 storeCount 字段返回门店数量信息
1 parent c59964e9
......@@ -32,6 +32,9 @@ public class GoodsPageRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "场景筛选")
private String scene;
@ApiModelProperty(notes = "新场景")
private String baseSceneCode;
@ApiModelProperty(notes = "按指定门店筛选")
private Integer merchantId;
}
......@@ -23,4 +23,7 @@ public class MarketingActivityCarSeriesPageRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "是否查询完整信息(含商品/套餐列表),默认false")
private Boolean includeDetail = false;
@ApiModelProperty(notes = "是否查询销售门店数(默认false)")
private Boolean includeStoreCount = false;
}
......@@ -21,6 +21,9 @@ public class MarketingActivityProductPageRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "类型: 0-套餐 1-商品")
private Integer productType;
@ApiModelProperty(notes = "是否查询销售门店数(默认false)")
private Boolean includeStoreCount = false;
@ApiModelProperty(notes = "页码,默认1")
private Integer pageNum = 1;
......
......@@ -32,6 +32,9 @@ public class PackagePageRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "场景筛选")
private String scene;
@ApiModelProperty(notes = "新场景")
private String baseSceneCode;
@ApiModelProperty(notes = "按指定门店筛选")
private Integer merchantId;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!