Commit 7eb792b7 by 陶光胜

门店控件修复

parent 1b350bf4
......@@ -401,10 +401,11 @@ public class StoreWidgetController {
List<Integer> list = this.storeSearchUtils.storeSearch(userId, enterpriseId, searchJson);
List<String> stringList = this.storeSearchUtils.onLineStoreSearch(userId, enterpriseId, searchJson);
Integer storeCount = 0, onlineStoreCount = 0;
String noAuth = "noauth";
if(!list.contains(0)){
storeCount = list.size();
}
if(!stringList.contains("noauth")){
if(!stringList.contains(noAuth)){
onlineStoreCount = stringList.size();
}
log.info("getStoreCount:{},{},{},{},{}", searchJson, userId, enterpriseId, list.size(), stringList.size());
......
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