opt: 备货区入库点位检测
This commit is contained in:
@@ -3164,6 +3164,9 @@ public class SlitterServiceImpl implements SlitterService {
|
|||||||
if (ObjectUtil.isEmpty(rkPoint)) {
|
if (ObjectUtil.isEmpty(rkPoint)) {
|
||||||
throw new BadRequestException("点位「" + pointCode + "」不存在!");
|
throw new BadRequestException("点位「" + pointCode + "」不存在!");
|
||||||
}
|
}
|
||||||
|
if (!"2".equals(rkPoint.getPoint_type())) {
|
||||||
|
throw new BadRequestException("点位「" + pointCode + "」不是入库点,请扫入库的备货点位!");
|
||||||
|
}
|
||||||
// 找一个没任务的空位
|
// 找一个没任务的空位
|
||||||
List<BstIvtStockingivt> list = stockingivtService.getEmptyPointNotTask(rkPoint.getPoint_location(), "0");
|
List<BstIvtStockingivt> list = stockingivtService.getEmptyPointNotTask(rkPoint.getPoint_location(), "0");
|
||||||
if (list.size() == 0) {
|
if (list.size() == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user