|
@@ -152,9 +152,9 @@ public class AppDeviceLogServiceImpl extends JpaServiceImp<AppDeviceLog, String>
|
|
|
allowTransfer.set(false);
|
|
|
throw new ApiRuntimeException(p + "设备信息不存在!");
|
|
|
}
|
|
|
- if (1 != appDevice.getStatus() && 2 != appDevice.getStatus() && 3 != appDevice.getStatus()) {
|
|
|
+ if (1 != appDevice.getStatus() && 2 != appDevice.getStatus()) {
|
|
|
allowTransfer.set(false);
|
|
|
- throw new ApiRuntimeException(p + "不是入库或出库状态,不能调拨!");
|
|
|
+ throw new ApiRuntimeException(p + "不是入库状态,不能调拨!");
|
|
|
}
|
|
|
if (1 != appDevice.getCheckStatus()) {
|
|
|
allowTransfer.set(false);
|