|
|
@ -756,7 +756,7 @@ public class StIvtIostorinvOutServiceImpl extends ServiceImpl<StIvtIostorinvOutM |
|
|
|
// 查询所有明细
|
|
|
|
List<StIvtIostorinvdtl> dtlDaoList = iStIvtIostorinvdtlService.list( |
|
|
|
new QueryWrapper<StIvtIostorinvdtl>().lambda() |
|
|
|
.eq(StIvtIostorinvdtl::getIostorinv_id, mstDao.getIostorinv_id().toString()) |
|
|
|
.eq(StIvtIostorinvdtl::getIostorinv_id, mstDao.getIostorinv_id()) |
|
|
|
); |
|
|
|
|
|
|
|
// 判断是否有生成状态的
|
|
|
@ -780,7 +780,7 @@ public class StIvtIostorinvOutServiceImpl extends ServiceImpl<StIvtIostorinvOutM |
|
|
|
// 查询此单据下所有分配明细
|
|
|
|
List<StIvtIostorinvdis> disDaoList = iStIvtIostorinvdisService.list( |
|
|
|
new QueryWrapper<StIvtIostorinvdis>().lambda() |
|
|
|
.eq(StIvtIostorinvdis::getIostorinv_id, mstDao.getIostorinv_id().toString()) |
|
|
|
.eq(StIvtIostorinvdis::getIostorinv_id, mstDao.getIostorinv_id()) |
|
|
|
); |
|
|
|
|
|
|
|
//判断分配明细中是否有未生成状态的分配明细
|
|
|
@ -824,13 +824,13 @@ public class StIvtIostorinvOutServiceImpl extends ServiceImpl<StIvtIostorinvOutM |
|
|
|
jsonIvt.put("quality_scode", disDao.getQuality_scode()); |
|
|
|
|
|
|
|
// 判断木箱是否是主存区的,如果是主存区的则不更新库存
|
|
|
|
if (disDao.getSect_id().toString().equals(RegionTypeEnum.TWO_BZC01.getId())) { |
|
|
|
if (disDao.getSect_id().equals(RegionTypeEnum.TWO_BZC01.getId())) { |
|
|
|
continue; |
|
|
|
} |
|
|
|
needUpdateIvtList.add(jsonIvt); |
|
|
|
|
|
|
|
if (disDao.getTask_id() != null) { |
|
|
|
needUpdateTaskList.add(disDao.getTask_id().toString()); |
|
|
|
needUpdateTaskList.add(disDao.getTask_id()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|