虚拟清单删除

This commit is contained in:
zhn
2022-06-07 09:26:11 +08:00
parent acb63efffa
commit 1597e8bb50
@@ -50,7 +50,13 @@ import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
/**
@@ -148,6 +154,10 @@ public class DummyInventoryBaseEOServiceImpl extends ServiceImpl<DummyInventoryB
}
}
removeByIds(ids);
//关联删除虚拟清单
LambdaQueryWrapper<DummyInventoryInfoEO> wrapper = new LambdaQueryWrapper<>();
wrapper.in(DummyInventoryInfoEO::getDummyInventoryBaseId,ids);
iDummyInventoryInfoEOService.remove(wrapper);
}
/**