|
@@ -44,6 +44,7 @@ import com.hys.app.service.system.LogisticsCompanyManager;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.data.redis.core.RedisTemplate;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
@@ -86,6 +87,7 @@ public class WarehouseOutManagerImpl extends BaseServiceImpl<WarehouseOutMapper,
|
|
|
private StockDamageReportManager stockDamageReportManager;
|
|
|
private GoodsGalleryManager goodsGalleryManager;
|
|
|
private LockedStockDetailManager lockedStockDetailManager;
|
|
|
+ private RedisTemplate redisTemplate;
|
|
|
|
|
|
@Override
|
|
|
public WebPage<WarehouseOutVO> list(WarehouseOutQueryParams queryParams) {
|
|
@@ -212,6 +214,7 @@ public class WarehouseOutManagerImpl extends BaseServiceImpl<WarehouseOutMapper,
|
|
|
}
|
|
|
goodsSnManager.updateBatchById(list);
|
|
|
}
|
|
|
+ redisTemplate.delete(warehouseOutDO.getId().toString());
|
|
|
}
|
|
|
|
|
|
private void saveSnCode(Long warehouseOutId, List<WarehouseOutItemDO> productList) {
|