1
This commit is contained in:
+1
-1
@@ -183,7 +183,7 @@ public class WarehouseResourceService {
|
||||
throw new BizException(ResultCode.CONFLICT, "托盘版本已变化,请刷新后重试");
|
||||
}
|
||||
if ("SCRAPPED".equals(existing.getStatus()) && !"SCRAPPED".equals(request.status())) {
|
||||
throw new BizException(ResultCode.CONFLICT, "SCRAPPED pallet cannot be reused");
|
||||
throw new BizException(ResultCode.CONFLICT, "已报废的托盘不允许修改为其他状态");
|
||||
}
|
||||
String palletCode = StringUtils.hasText(request.palletCode()) ? request.palletCode().trim()
|
||||
: existing.getPalletCode();
|
||||
|
||||
Reference in New Issue
Block a user