diff --git a/ms-biz/src/main/java/com/ms/api/spi/move/BatchDeleteTaskDetailService.java b/ms-biz/src/main/java/com/ms/api/spi/move/BatchDeleteTaskDetailService.java index a433d5b8..43d2886e 100644 --- a/ms-biz/src/main/java/com/ms/api/spi/move/BatchDeleteTaskDetailService.java +++ b/ms-biz/src/main/java/com/ms/api/spi/move/BatchDeleteTaskDetailService.java @@ -74,7 +74,7 @@ public class BatchDeleteTaskDetailService extends SPIBaseService implements Exte for (int i = 0; i < moveCollectTaskDetailList.size(); i++) { MoveCollectTaskDetail taskDetail = moveCollectTaskDetailList.get(i); Long detailId = taskDetail.getMoveCollectTaskDetailId(); - if (deleteProduct > 0 && Objects.isNull(moveProductLogMap.get(detailId))) { + if (deleteProduct > 0 && !Objects.isNull(moveProductLogMap.get(detailId))) { Long productId = moveProductLogMap.get(detailId).getProductId(); boolean needDeleteToDd = true; if (deleteOnSaleProduct == 0) {