Commit 94d79fc8 by 陶光胜

门店控件查询

parent fa1ebe2c
......@@ -92,8 +92,8 @@ public class StoreSearchUtils {
JSONObject json = JSON.parseObject(searchJson);
StoreSearchQo offLineSearch = json.getObject(StoreChannelEnum.OFFLINE.getChannel().toString(), StoreSearchQo.class);
StoreSearchQo onLineSearch = JSON.parseObject(searchJson).getObject(StoreChannelEnum.WMMALL.getChannel().toString(), StoreSearchQo.class);
boolean off = offLineSearch.isEmpty();
boolean online = onLineSearch.isEmpty();
boolean off = offLineSearch == null || offLineSearch.isEmpty();
boolean online = onLineSearch == null || onLineSearch.isEmpty();
if(off && online){
return 0;
} else if(!off && online){
......
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