Commit e77fd19e by zhiwj

修改bug

parent 833e2b60
......@@ -184,8 +184,10 @@ public class ClerkApiServiceImpl implements ClerkApiService {
List<Integer> storeInfoIdsBySearch = clerkService.getStoreInfoIdsBySearch(enterpriseId, clerkSearchDTO.getSearch());
if (CollectionUtils.isEmpty(groupIds) || CollectionUtils.isEmpty(storeInfoIdsBySearch)) {
return ServiceResponse.success(new Page<>());
} else {
storeIdByClerkSearch = getStoreIdByStoreInfoIds(storeInfoIdsBySearch, null);
}
storeIdByClerkSearch = getStoreIdByStoreInfoIds(storeInfoIdsBySearch, null);
if (StringUtils.isBlank(storeIdByClerkSearch)) {
return ServiceResponse.success(new Page<>());
}
} else {
storeIdByClerkSearch = "";
......@@ -252,9 +254,11 @@ public class ClerkApiServiceImpl implements ClerkApiService {
if (StringUtils.isNotBlank(clerkSearchDTO.getSearch())) {
List<Integer> storeInfoIdsBySearch = clerkService.getStoreInfoIdsBySearch(enterpriseId, clerkSearchDTO.getSearch());
if (CollectionUtils.isEmpty(groupIds) || CollectionUtils.isEmpty(storeInfoIdsBySearch)) {
storeIdByClerkSearch = "";
} else {
storeIdByClerkSearch = getStoreIdByStoreInfoIds(storeInfoIdsBySearch, null);
return ServiceResponse.success(0);
}
storeIdByClerkSearch = getStoreIdByStoreInfoIds(storeInfoIdsBySearch, null);
if (StringUtils.isBlank(storeIdByClerkSearch)) {
return ServiceResponse.success(0);
}
} else {
storeIdByClerkSearch = "";
......
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