需求背景
原人工调价接口,只返回成功的数据,现在因
1、过滤数据存在延迟
2、智能调价也要接入人工调价的价格数据
需要同步所有状态的数据,并记录保存
需求内容:
接口链接:http://showdoc.zhcxkj.com/web/#/88/5258
新增字段【提报状态】
促销调价执行量性能优化
1、插入调价队列(AdjustPriceQueue和FBAAdjustPriceQueue),先insertMany,抛出异常,再用BatchUpdate
_priceQueue_MgoRepository.InsertList
2、SetEnterPriseAsync优化
A、_orderSourceBlackListService.GetBackListAsync缓存
B、GetCacheOrderSourceAsync这个去掉,改为GetCacheActiveDeptByOrderSourceIdsAsync这个取站点
C、GetCacheOrderSourceAsync和GetCacheActiveDeptByOrderSourceIdsAsync这个redis切换集群版
D、_enterPriseConfigMgoRepository.GetList缓存
3.调价流程优化
a.优化通用场景listing查询,调FBM时只取isBrotherFBA=true的数据查询FBA打标表
b.合并调价运营表查询,之前先读新表在读旧表,改为只读新表
c.去掉通用场景已存在调价数据,由通用过滤逻辑处理