Commit 0738646a by 徐高华

门店查询

parent fd55bfdc
...@@ -90,9 +90,10 @@ public class HmStoreController { ...@@ -90,9 +90,10 @@ public class HmStoreController {
params.put("status", 2); params.put("status", 2);
if(StringUtils.isNotBlank(storeGroupId)) { if(StringUtils.isNotBlank(storeGroupId)) {
boolean flag = true ; boolean flag = true ;
if(!storeGroupId.contains(",")) { List<String> rootGroup = this.storeGroupService.getStoreGroupIdsByParentId(enterpriseId, "0") ;
StoreGroupDTO groupDTO = this.storeGroupService.getStoreGroupById(storeGroupId) ; if(CollectionUtils.isNotEmpty(rootGroup)) {
if(null != groupDTO && groupDTO.getParentGroupId().equals("0")) { if(storeGroupId.contains(rootGroup.get(0))) {
logger.info("所有门店");
flag = false ; flag = false ;
} }
} }
......
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