Merge branch 'ww' into test

This commit is contained in:
2024-10-14 15:22:18 +08:00
2 changed files with 6 additions and 1 deletions

View File

@@ -244,6 +244,11 @@ public class TbProductStockDetailServiceImpl implements TbProductStockDetailServ
@Override
public void addSaleRecord(Integer orderId) {
List<StockCountDTO> stockCountDTOS = stockCountRepository.countStockById(orderId);
try {
Thread.sleep(3000l);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
log.info("查询到订单id: {}的所有库存数据: {}", orderId, stockCountDTOS);
stockCountDTOS.forEach(s -> {
//客座费不统计