...
|
...
|
@@ -49,7 +49,7 @@ public class SelfShelvesController { |
|
|
//校验货号是否已存在
|
|
|
List<Product> productList = productMapper.selectByProductCode(productCode);
|
|
|
if(CollectionUtils.isNotEmpty(productList)) {
|
|
|
return new ApiResponse.ApiResponseBuilder().code(601).data(productList.get(0).getId()).message("商品货号信息已存在,您可以直接通过搜索功能查询货号找到商品后进行出售").build();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(601).data(productList.get(0).getId()).message("商品货号已存在,您可以直接进行商品出售").build();
|
|
|
}
|
|
|
|
|
|
ProductSelfShelves pss = new ProductSelfShelves();
|
...
|
...
|
|