数组处理,去重&合并相同key的值
摘要:背景: 上游返回的 skuIdList 存在相同的Id,skuCount数组与skuID一一对应 处理结果:skuIdList 去重,对应的count总和要加起来,对应的 originalPriceList 和 subtotalPriceList 不变代码: import groovy.json.J
阅读全文
posted @ 2024-04-24 12:44
疯魔jojo的后花园
posted @ 2024-04-24 12:44
posted @ 2024-04-08 22:46
posted @ 2024-04-01 13:22
posted @ 2024-04-01 13:09