Commit f3537f69 by zhiwj

修改品牌不存在bug

parent 77111405
......@@ -160,7 +160,7 @@ public class StoreApiServiceImpl implements StoreApiService {
return null;
}
List<TabStoreBrand> storeBrandList = storeBrandService.listStoreBrandByIds(brandIds);
if (CollectionUtils.isNotEmpty(storeBrandList) || brandIds.split(GlobalInfo.FLAG_COMMA).length > storeBrandList.size()) {
if (CollectionUtils.isEmpty(storeBrandList) || brandIds.split(GlobalInfo.FLAG_COMMA).length > storeBrandList.size()) {
return "品牌不存在";
}
return null;
......
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