|
@@ -207,12 +207,13 @@ public class AppDeviceLogServiceImpl extends JpaServiceImp<AppDeviceLog, String>
|
|
|
if (null == appDevice) {
|
|
|
throw new ApiRuntimeException(p + "设备信息不存在!");
|
|
|
}
|
|
|
- if (1 != appDevice.getStatus() && 2 != appDevice.getStatus()) {
|
|
|
- throw new ApiRuntimeException(p + "不是入库状态,不能调拨!");
|
|
|
- }
|
|
|
- if (1 != appDevice.getCheckStatus()) {
|
|
|
- throw new ApiRuntimeException(p + "自检未通过,不能调拨!");
|
|
|
- }
|
|
|
+ // @TODO: 自建不通过
|
|
|
+// if (1 != appDevice.getStatus() && 2 != appDevice.getStatus()) {
|
|
|
+// throw new ApiRuntimeException(p + "不是入库状态,不能调拨!");
|
|
|
+// }
|
|
|
+// if (1 != appDevice.getCheckStatus()) {
|
|
|
+// throw new ApiRuntimeException(p + "自检未通过,不能调拨!");
|
|
|
+// }
|
|
|
});
|
|
|
param.getSn().forEach(p -> {
|
|
|
String batchNum;
|