|
|
@@ -549,7 +549,7 @@ public class ProductServiceImpl extends CommonBaseServiceImpl<ProductMapper, Pro
|
|
|
List<ProductDetail> productDetails = new ArrayList<>();
|
|
|
int i = getMapper().validateCodeWhenInsert(code, companyId);
|
|
|
List<DataImportDetail> data = datas.get(code);
|
|
|
- DataImportDetail main = dataImportMapper.selectProductBycode(code, companyId);
|
|
|
+ DataImportDetail main = dataImportMapper.selectProductBycode(code, id, companyId);
|
|
|
Product product = JSONObject.parseObject(main.getDd_maindata(), Product.class);
|
|
|
Warehouse warehouse = null;
|
|
|
//验证仓库
|