|
@ -118,6 +118,7 @@ public class IotDeviceInventoryService extends BaseJpaService<IotDeviceInventory
|
|
|
deviceDO.setCategoryName(jsonObject.getString("categoryName"));
|
|
|
deviceDO.setManufacturerId(jsonObject.getString("manufacturerId"));
|
|
|
deviceDO.setManufacturerName(jsonObject.getString("manufacturerName"));
|
|
|
deviceDO.setIsGrant(0);//入库代表未发放
|
|
|
} else {//设备出库,更换相关信息
|
|
|
deviceDO = iotDeviceDao.findByDeviceSn(deviceSn);
|
|
|
if (type == 3) {
|