Commit 0d552aa7 by HlQ

feat: 设备流转,取消不支持入库限制

1 parent ea03352a
......@@ -122,9 +122,7 @@ public class IDeviceServiceImpl extends MPJBaseServiceImpl<DeviceMapper, Device>
if (statusSet.size() > 1) {
return "该操作不允许对设备进行不同处理";
}
if (statusSet.contains(1)) {
return "该操作不支持入库操作";
}
var userId = dtoList.getFirst().getUserId();
var deviceList = converter.convert(dtoList, Device.class);
var deviceListInDB = this.lambdaQuery().in(Device::getSerialNum, deviceList.stream().map(Device::getSerialNum).toList()).list();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!