refactor(push): 优化每日BI动态推送逻辑及相关数据查询
- 重构策略数据分组逻辑,按 merchantId + biz 组合键处理 - 改进门店配置缓存获取,支持批量查询多业务类型 - 新增按门店与业务类型批量查询关注明细方法,减少查询次数 - 统一使用 StrategyInfo 替代 MerchantBiFollow 作为推送中数据载体 - 优化推送流程,确保无动态数据或无配置时跳过推送 - 服务层调整,wechatPushService 接口改用 StrategyInfo 参数 - Mapper及XML新增按门店及业务类型查询关注明细接口及映射 - 实体类 MerchantBiFollowDetail 新增 transient 字段存储关联商户和业务类型ID - 移除冗余导入,提升代码整洁性和可维护性
Showing
5 changed files
with
37 additions
and
3 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment