Commit 7861bdcc by 徐高华

log

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