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