修改商品 信息 快捷接口 Bug
This commit is contained in:
parent
6107a37eff
commit
51480b95a8
|
|
@ -337,7 +337,6 @@ public class StockServiceImpl implements StockService {
|
|||
public void updateProductStatus(List<StockUpdateValueVO> updateValueVOs) {
|
||||
TbProduct product = new TbProduct();
|
||||
for (StockUpdateValueVO updateValueVO : updateValueVOs) {
|
||||
if (!updateValueVO.isSku()) {
|
||||
if (!updateValueVO.isSku()) {
|
||||
if (product == null) {
|
||||
product = tbProductRepository.getById(Integer.valueOf(updateValueVO.getId()));
|
||||
|
|
@ -351,7 +350,6 @@ public class StockServiceImpl implements StockService {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void productUp(StockUpdateValueVO updateValueVO,TbProduct product){
|
||||
if(Objects.isNull(product)){
|
||||
|
|
|
|||
Loading…
Reference in New Issue