示例方案
https://pro.qliang.cloud/strategy/detail/c5bbfc99-a041-3327-8553-cd7ed523617e#BasicSummar
一:方案配置指南
查询适配器:\Adapter\Datahub\DataStrategyQueryAdapter
二:请求调度者配置指南
2.1查询销售订单的时候需要增加下面几个字段
request中需要添加保存数据的类型
sourceSaveType:对比结果保存类型,示例:all:所有数据,diff:只保存差异数据,equal:相同数据
其它请求参数-otherRequest
index_combination:查询目标方案的where条件
comparison_field:需要比较的字段
key:源方案的对比的key
operator:操作类型,eq:等于,gt:大于,gte:大于等于,lt:小于,lte:小于等于,ne:不等于,heq:全等于(值和类型都相等),difference:数值差异。
qorigin_key:对比方案的字段key
{
"comparetarget": {
"alias_name": "beeserp",
"strategy_id": "33654dda-8bdb-37d6-b72c-b6e4bc9cb6a0",
"index_combination": {
"orderSn": "orderSn"
},
"comparison_field": {
"orderItemList_skuQuantity": {
"operator": "eq",
"qorigin_key": "orderItemList_skuQuantity"
}
},
"requild_fields": "orderId,orderSn,orderItemList_skuQuantity"
}
}