Authored by caoyan

自助上架货号优化

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