Revert "rev:优化"

This reverts commit 5a0ea174be.
This commit is contained in:
2024-08-26 17:31:39 +08:00
parent 5a0ea174be
commit e5d9e6a2d8

View File

@@ -329,6 +329,7 @@ public class InBoxManageServiceImpl implements InBoxManageService {
throw new BadRequestException("此木箱【"+whereJson.getString("box_no")+"】未入过库,请选择【生产入库】!");
}
}
if (whereJson.getString("bill_type").equals(IOSEnum.IN_TYPE.code("生产入库"))) {
if (ifFirst) {
throw new BadRequestException("此木箱【"+whereJson.getString("box_no")+"】已入过库,请选择【手工入库】!");