Commit 7861bdcc by 徐高华

log

parent dbf428a7
...@@ -45,7 +45,7 @@ import com.google.common.collect.Sets; ...@@ -45,7 +45,7 @@ import com.google.common.collect.Sets;
@RequestMapping("hm") @RequestMapping("hm")
public class HmStoreController { public class HmStoreController {
private static org.apache.logging.log4j.Logger logger = LogManager.getLogger(HmQrcodeController.class); private static org.apache.logging.log4j.Logger logger = LogManager.getLogger(HmStoreController.class);
@Autowired @Autowired
private ClerkService clerkService; private ClerkService clerkService;
...@@ -90,6 +90,7 @@ public class HmStoreController { ...@@ -90,6 +90,7 @@ public class HmStoreController {
boolean flag = true ; boolean flag = true ;
List<String> rootGroup = this.storeGroupService.getStoreGroupIdsByParentId(enterpriseId, "0") ; List<String> rootGroup = this.storeGroupService.getStoreGroupIdsByParentId(enterpriseId, "0") ;
if(CollectionUtils.isNotEmpty(rootGroup)) { if(CollectionUtils.isNotEmpty(rootGroup)) {
logger.info("根节点={},{}",rootGroup,storeGroupId.contains(rootGroup.get(0)));
if(storeGroupId.contains(rootGroup.get(0))) { if(storeGroupId.contains(rootGroup.get(0))) {
logger.info("所有门店"); 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