Commit 92d56c02 by zhiwj

bug

parent 5d5053d4
......@@ -1256,7 +1256,12 @@ public class StoreApiServiceImpl implements StoreApiService {
}
int i = 0;
try {
String storeInfoIds = storeService.listStoreInfoIdByStoreIds(storeIds, enterpriseId);
String storeInfoIds;
if (StringUtils.equals("all", storeIds)) {
storeInfoIds = "all";
} else {
storeInfoIds = storeService.listStoreInfoIdByStoreIds(storeIds, enterpriseId);
}
if (StringUtils.isBlank(storeInfoIds)) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "门店不存在或非自有门店");
}
......
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