Showing
1 changed file
with
2 additions
and
2 deletions
@@ -787,7 +787,7 @@ public class ProductServiceImpl implements ProductService { | @@ -787,7 +787,7 @@ public class ProductServiceImpl implements ProductService { | ||
787 | } | 787 | } |
788 | 788 | ||
789 | private void addStorageNum(Integer skup, Integer storageId, Integer num) { | 789 | private void addStorageNum(Integer skup, Integer storageId, Integer num) { |
790 | - LOGGER.info("修改库存:skup={}, storageId={}, num={}", skup, storageId, num); | 790 | + /* LOGGER.info("修改库存:skup={}, storageId={}, num={}", skup, storageId, num); |
791 | if (storageId == null) { | 791 | if (storageId == null) { |
792 | StoragePrice sp = storagePriceMapper.selectBySkup(skup); | 792 | StoragePrice sp = storagePriceMapper.selectBySkup(skup); |
793 | storageId = sp.getStorageId(); | 793 | storageId = sp.getStorageId(); |
@@ -801,7 +801,7 @@ public class ProductServiceImpl implements ProductService { | @@ -801,7 +801,7 @@ public class ProductServiceImpl implements ProductService { | ||
801 | storageMapper.addStorageNum(storageId, num); | 801 | storageMapper.addStorageNum(storageId, num); |
802 | } catch (Exception e) { | 802 | } catch (Exception e) { |
803 | LOGGER.error("修改库存出错: skup=" + skup + ", storageId=" + storageId + ", num=" + num + ", find storageId is null", e); | 803 | LOGGER.error("修改库存出错: skup=" + skup + ", storageId=" + storageId + ", num=" + num + ", find storageId is null", e); |
804 | - } | 804 | + }*/ |
805 | } | 805 | } |
806 | 806 | ||
807 | private StoragePrice checkSkupCanSale(Integer skup) { | 807 | private StoragePrice checkSkupCanSale(Integer skup) { |
-
Please register or login to post a comment