重现步骤




验证SKU 

{"productProperty":1,"onlineStatus":1,"productState":0,"sku":"1003563"}


1 首先调用手工刊登接口  如下  没有返回数据

2  通过sku  获取到自动刊登的OrderSourceSkuIds   如下图 

3  通过  2050295532查询接口  如下图

4 拿到接口键值对中的一个值    验证  

{
                    "ImageID": 0,
                    "ImageSKU": "",
                    "AddTime": "2023-05-26 15:03:33.000",
                    "AttributeFieldName": "item_type",
                    "AttributeValue": "guitar-picks"
                }
是否匹配产品库


如下


可知 mapping_type=1

查看 接口返回的值是否存在于产品库中  如下图  可知存在

那么 在结果表  t_product_attribute肯定存在 1003563 的数据

如下图  结果表没有数据


预期




历史记录  
  1. 2023-07-18 15:32:29, 由 闫峰 创建。
  2. 2023-07-18 15:58:46, 由 郑平 指派给 闫峰。
    修改了 指派给,旧值为 "zhengping",新值为 "yanfeng"。
  3. 2023-07-18 16:06:27, 由 闫峰 编辑。
    修改了 重现步骤,区别为:
    012-
    012+
    013- 4 举一个例子 验证
    013+ 4 拿到接口键值对中的一个值 验证
    016- {
    016+
    017- "ImageID":0,
    017+
    018- "ImageSKU":"",
    018+ {
    019- "AddTime":"2023-05-2615:03:33.000",
    019+ "ImageID":0,
    020- "AttributeFieldName":"feed_product_type",
    020+ "ImageSKU":"",
    021- "AttributeValue":"plectrum"
    021+ "AddTime":"2023-05-2615:03:33.000",
    022- },
    022+ "AttributeFieldName":"item_type",
    023-
    023+ "AttributeValue":"guitar-picks"
    024- 是否匹配产品库
    024+ }
    025-
    025+
    026- 如下
    026+
    027-
    027+
    028- 可知 可以在库查询到属性
    028+
    029- 那么 在结果表 t_product_attribute肯定存在 1003563 的数据
    029+ 是否匹配产品库
    030- 如下图 结果表没有数据
    030+
    031-
    031+ 如下
    032-
    032+
    033-
    033+ 可知 mapping_type=1
    034+ 查看 接口返回的值是否存在于产品库中 如下图 可知存在
    035+
    036+ 那么 在结果表 t_product_attribute肯定存在 1003563 的数据
    037+ 如下图 结果表没有数据
    038+
    039+
    040+
    012- <p><span><img src="{285024.png}" alt="" /></span></p>
    012+ <p><img src="{285067.png}" alt="" /></p>
    013- <p><span>4 举一个例子 验证</span></p>
    013+ <p><span>4 拿到接口键值对中的一个值 验证</span></p>
    016- <div>{</div>
    016+ <div>
    017- <div><span style="color:#a31515;">"ImageID"</span>:<span style="color:#098658;">0</span>,</div>
    017+ <div style="color:#000000;background-color:#FFFFFE;font-size:12px;">
    018- <div><span style="color:#a31515;">"ImageSKU"</span>:<span style="color:#0451a5;">""</span>,</div>
    018+ <div>{</div>
    019- <div><span style="color:#a31515;">"AddTime"</span>:<span style="color:#0451a5;">"2023-05-2615:03:33.000"</span>,</div>
    019+ <div><span style="color:#a31515;">"ImageID"</span>:<span style="color:#098658;">0</span>,</div>
    020- <div><span style="color:#a31515;">"AttributeFieldName"</span>:<span style="color:#0451a5;">"feed_product_type"</span>,</div>
    020+ <div><span style="color:#a31515;">"ImageSKU"</span>:<span style="color:#0451a5;">""</span>,</div>
    021- <div><span style="color:#a31515;">"AttributeValue"</span>:<span style="color:#0451a5;">"plectrum"</span></div>
    021+ <div><span style="color:#a31515;">"AddTime"</span>:<span style="color:#0451a5;">"2023-05-2615:03:33.000"</span>,</div>
    022- <div>},</div>
    022+ <div><span style="color:#a31515;">"AttributeFieldName"</span>:<span style="color:#0451a5;">"item_type"</span>,</div>
    023- </div>
    023+ <div><span style="color:#a31515;">"AttributeValue"</span>:<span style="color:#0451a5;">"guitar-picks"</span></div>
    024- 是否匹配产品库
    024+ <div>}</div>
    025- <p><br /></p>
    025+ </div>
    026- <p><span>如下</span></p>
    026+ </div>
    027- <p><span><img src="{285025.png}" alt="" /></span></p>
    027+ <div></div>
    028- <p><span>可知 可以在库查询到属性</span></p>
    028+ </div>
    029- <p><span>那么 在结果表 t_product_attribute肯定存在 1003563 的数据</span></p>
    029+ 是否匹配产品库
    030- <p><span>如下图 结果表没有数据</span></p>
    030+ <p><br /></p>
    031- <p><span><img src="{285027.png}" alt="" /><br /></span></p>
    031+ <p><span>如下</span></p>
    032- <p><span><br /></span></p>
    032+ <p><span><img src="{285069.png}" alt="" /><br /></span></p>
    033- <p><br /></p>
    033+ <p>可知 mapping_type=1</p>
    034+ <p>查看 接口返回的值是否存在于产品库中 如下图 可知存在</p>
    035+ <p><img src="{285071.png}" alt="" /></p>
    036+ <p><span>那么 在结果表 t_product_attribute肯定存在 1003563 的数据</span></p>
    037+ <p><span>如下图 结果表没有数据</span></p>
    038+ <p><span><img src="{285027.png}" alt="" /><br /></span></p>
    039+ <p><span><br /></span></p>
    040+ <p><br /></p>
  4. 2023-07-18 16:29:15, 由 闫峰 编辑。
    修改了 重现步骤,区别为:
    039-
    039+ 预期
    040-
    040+
    041+
    042+
    039- <p><span><br /></span></p>
    039+ <p><span>预期</span></p>
    040- <p><br /></p>
    040+ <p><span><br /></span></p>
    041+ <p><span><img src="{285091.png}" alt="" /><br /></span></p>
    042+ <p><br /></p>
  5. 2023-07-18 17:00:08, 由 闫峰 添加备注。

    预期结果

    [{'attributeId': 196, 'attributeValue': 'guitar-picks'}, {'attributeId': 232, 'attributeValue': 'VICASKY'}, {'attributeId': 257, 'attributeValue': 'S03233T15M2'}, {'attributeId': 197, 'attributeValue': 'Electric Guitar Electronics'}, {'attributeId': 265, 'attributeValue': '1'}, {'attributeId': 55, 'attributeValue': 'NoWarningApplicable'}, {'attributeId': 53, 'attributeValue': 'China'}, {'attributeId': 397, 'attributeValue': 'No Warranty'}, {'attributeId': 395, 'attributeValue': 'SizeName-ColorName'}, {'attributeId': 401, 'attributeValue': '13.00'}, {'attributeId': 392, 'attributeValue': '1'}, {'attributeId': 393, 'attributeValue': 'Count'}, {'attributeId': 368, 'attributeValue': 'Not Applicable'}, {'attributeId': 229, 'attributeValue': '17.10'}, {'attributeId': 272, 'attributeValue': 'No'}]

  6. 2023-07-18 17:00:20, 由 闫峰 指派给 郑平。
    修改了 指派给,旧值为 "yanfeng",新值为 "zhengping"。
  7. 2023-07-18 17:11:08, 由 郑平 解决,方案为 程序BUG 。
    修改了 解决方案,旧值为 "",新值为 "code"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2023-07-18 17:10:36"。
    修改了 指派给 ,旧值为 "zhengping",新值为 "yanfeng"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "zhengping"。
  8. 2023-07-18 20:32:47, 由 闫峰 添加备注。

    执行结果和预期不符

    实际结果

    预期

    [{'attributeId': 196, 'attributeValue': 'guitar-picks'}, {'attributeId': 232, 'attributeValue': 'VICASKY'}, {'attributeId': 257, 'attributeValue': 'S03233T15M2'}, {'attributeId': 197, 'attributeValue': 'Electric Guitar Electronics'}, {'attributeId': 265, 'attributeValue': '1'}, {'attributeId': 55, 'attributeValue': 'NoWarningApplicable'}, {'attributeId': 53, 'attributeValue': 'China'}, {'attributeId': 397, 'attributeValue': 'No Warranty'}, {'attributeId': 395, 'attributeValue': 'SizeName-ColorName'}, {'attributeId': 401, 'attributeValue': '13.00'}, {'attributeId': 392, 'attributeValue': '1'}, {'attributeId': 393, 'attributeValue': 'Count'}, {'attributeId': 368, 'attributeValue': 'Not Applicable'}, {'attributeId': 229, 'attributeValue': '17.10'}, {'attributeId': 272, 'attributeValue': 'No'}]

  9. 2023-07-18 20:32:58, 由 闫峰 激活。
    修改了 指派给 ,旧值为 "yanfeng",新值为 "zhengping"。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "active"。
    修改了 激活日期,旧值为 "",新值为 "2023-07-18 20:32:58"。
    修改了 激活次数,旧值为 "0",新值为 "1"。
    修改了 解决方案,旧值为 "code",新值为 ""。
    修改了 解决日期,旧值为 "2023-07-18 17:10:36",新值为 "0000-00-00"。
    修改了 解决者 ,旧值为 "zhengping",新值为 ""。
    修改了 解决版本,旧值为 "trunk",新值为 ""。
    修改了 关闭日期,旧值为 "",新值为 "0000-00-00"。
  10. 2023-07-18 20:58:52, 由 郑平 解决,方案为 程序BUG 。
    修改了 解决方案,旧值为 "",新值为 "code"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2023-07-18 20:58:37"。
    修改了 指派给 ,旧值为 "zhengping",新值为 "yanfeng"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 解决者 ,旧值为 "",新值为 "zhengping"。
  11. 2023-07-18 21:00:09, 由 闫峰 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "yanfeng",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "yanfeng"。
    修改了 关闭日期,旧值为 "",新值为 "2023-07-18 21:00:09"。
  12. 2023-11-17 11:25:29, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1830",新值为 "1878"。
所属项目 技术中心-需求池
所属模块 多平台   java独立项目
所属计划
所属迭代 技术研发中心 7月第3版本(2023年)
Bug类型 程序BUG
严重程度 提示
优先级 P2
Bug状态 已关闭
业务部门
影响功能
开发责任人
测试责任人
解决时效 0
激活次数 1
激活日期 2023-07-18 20:32:58
是否确认 是
当前指派 Closed 于 2023-07-18 21:00:09
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
所属迭代 技术研发中心 7月第3版本(2023年)
相关需求
相关任务
由谁创建 闫峰 于 2023-07-18 15:32:28
影响环境 705
由谁解决 郑平 于 2023-07-18 20:58:37
解决版本 主干
解决方案 程序BUG
由谁关闭 闫峰 于 2023-07-18 21:00:09
最后修改 刘超 于 2023-11-17 11:25:27
相关Bug