|
|
@@ -83,7 +83,7 @@ public class ProductServiceImpl implements ProductService {
|
|
|
|
|
|
@Override
|
|
|
public void save(List<Product> products) throws Exception {
|
|
|
- ProductUtils.update(products);
|
|
|
+ ProductUtils.paginationUpdate(products);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -198,7 +198,7 @@ public class ProductServiceImpl implements ProductService {
|
|
|
}
|
|
|
size = prods.size();
|
|
|
}
|
|
|
- ProductUtils.update(prods);
|
|
|
+ ProductUtils.paginationUpdate(prods);
|
|
|
}
|
|
|
|
|
|
} else if (param.getUpdatetype().equals(UpdateType.TITLEUPDATE.getPhrase())) {
|
|
|
@@ -221,7 +221,7 @@ public class ProductServiceImpl implements ProductService {
|
|
|
}
|
|
|
size = prods.size();
|
|
|
}
|
|
|
- ProductUtils.update(prods);
|
|
|
+ ProductUtils.paginationUpdate(prods);
|
|
|
}
|
|
|
}
|
|
|
map.put("success", param.getUpdatetype() + "修改成功,更新数量为" + size);
|