删除历史bug修复

20230922-ljl-fixBug
cxxxxxxx详 1 year ago
parent e1c9da2113
commit b466698f56

@ -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) {

Loading…
Cancel
Save