Commit 40645e9f by 墨竹

feat:日志修改

parent becb7909
......@@ -1306,7 +1306,9 @@ public class StaffApiServiceImpl implements StaffApiService {
return Collections.emptyList();
}
List<String> enterpriseIdStoreIds = storeRangeService.listStoreIdByWxEnterpriseId(wxEnterpriseId, clerkDTO.getEnterpriseId());
logger.info("好办门店id:{}", JSON.toJSONString(enterpriseIdStoreIds));
if (CollectionUtils.isNotEmpty(enterpriseIdStoreIds)) {
logger.info("好办门店id数量:{}", enterpriseIdStoreIds.size());
}
List<String> gicStoreIds = getStoreIdList(clerkId);
if (CollectionUtils.isEmpty(gicStoreIds)) {
logger.info("gic门店为空");
......@@ -1319,7 +1321,7 @@ public class StaffApiServiceImpl implements StaffApiService {
//取交集
Sets.SetView<String> intersection = Sets.intersection(Sets.newHashSet(enterpriseIdStoreIds), Sets.newHashSet(gicStoreIds));
List<String> storeList = intersection.stream().collect(Collectors.toList());
logger.info("该导购权限:clerkId:{},门店:{}", clerkId, JSON.toJSONString(storeList));
logger.info("该导购权限:clerkId:{},门店数量:{}", clerkId, storeList.size());
return storeList;
}
......
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