|
|
|
@ -1273,9 +1273,12 @@ public class BusinOutInPlanServiceImpl extends ServiceImpl<BusinOutInPlanMapper, |
|
|
|
log.info("获取的库存明细Id:"+sysStockDetail.getId()); |
|
|
|
log.info("获取的库存明细Id:"+sysStockDetail.getId()); |
|
|
|
boolean b = sysStockDetailService.removeById(sysStockDetail.getId()); |
|
|
|
boolean b = sysStockDetailService.removeById(sysStockDetail.getId()); |
|
|
|
if (b){ |
|
|
|
if (b){ |
|
|
|
log.info("托盘出库清理成功"); |
|
|
|
log.info("托盘出库清理成功"+sysStockDetail.getContainerCode()); |
|
|
|
|
|
|
|
//空托出库时,把货位状态改为空闲
|
|
|
|
|
|
|
|
baseLocationVo.setLocationStatus(LocationStausEnum.FREE.getValue()); |
|
|
|
|
|
|
|
baseLocationService.updateById(baseLocationVo); |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
log.info("托盘出库清理失败"); |
|
|
|
log.info("托盘出库清理失败"+sysStockDetail.getContainerCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|