|
|
@@ -38,7 +38,7 @@ public class ProductDetailERPServiceImpl implements ProductDetailERPService {
|
|
|
private GoodsService goodsService;
|
|
|
|
|
|
@Override
|
|
|
- public void uploadProductDetailERP(List<ProductDetailERP> productDetailERPList) {
|
|
|
+ public boolean uploadProductDetailERP(List<ProductDetailERP> productDetailERPList) {
|
|
|
List<ProductDetail> productDetails = new ArrayList<ProductDetail>();
|
|
|
Long enuu = SystemSession.getUser().getEnterprise().getUu();
|
|
|
for (ProductDetailERP productDetailERP : productDetailERPList) {
|
|
|
@@ -50,6 +50,7 @@ public class ProductDetailERPServiceImpl implements ProductDetailERPService {
|
|
|
productDetails.add(productDetail);
|
|
|
}
|
|
|
productDetailDao.save(productDetails);
|
|
|
+ return true;
|
|
|
}
|
|
|
|
|
|
@Override
|