Commit 26abbd9b by zhiwj

修bug

parent d5471453
......@@ -14,7 +14,7 @@ public class StoreWidgetSearch {
public static String getJSON(List<Integer> storeIdList) {
String json = "[{\"type\":\"\",\"list\":[{\"data\":{\"key\":\"storeId\",\"compute\":\"contain\",\"value\":\"4040 4041 4048 4042 4045\"}}]}]";
String json = "[{\"type\":\"\",\"list\":[{\"data\":{\"key\":\"storeId\",\"compute\":\"arr_contain\",\"value\":\"4040 4041 4048 4042 4045\"}}]}]";
List<StoreWidgetSearch> storeWidgetSearches = JSON.parseArray(json, StoreWidgetSearch.class);
StoreWidgetSearch storeWidgetSearch = storeWidgetSearches.get(0);
storeWidgetSearch.getList().get(0).getData().setValue(Joiner.on(" ").join(storeIdList));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment