...
|
...
|
@@ -787,7 +787,7 @@ public class ProductServiceImpl implements ProductService { |
|
|
}
|
|
|
|
|
|
private void addStorageNum(Integer skup, Integer storageId, Integer num) {
|
|
|
LOGGER.info("修改库存:skup={}, storageId={}, num={}", skup, storageId, num);
|
|
|
/* LOGGER.info("修改库存:skup={}, storageId={}, num={}", skup, storageId, num);
|
|
|
if (storageId == null) {
|
|
|
StoragePrice sp = storagePriceMapper.selectBySkup(skup);
|
|
|
storageId = sp.getStorageId();
|
...
|
...
|
@@ -801,7 +801,7 @@ public class ProductServiceImpl implements ProductService { |
|
|
storageMapper.addStorageNum(storageId, num);
|
|
|
} catch (Exception e) {
|
|
|
LOGGER.error("修改库存出错: skup=" + skup + ", storageId=" + storageId + ", num=" + num + ", find storageId is null", e);
|
|
|
}
|
|
|
}*/
|
|
|
}
|
|
|
|
|
|
private StoragePrice checkSkupCanSale(Integer skup) {
|
...
|
...
|
|