Commit b7eb35ac authored by 赵啸非's avatar 赵啸非

添加产品升级功能

parent ad19fb41
...@@ -153,7 +153,7 @@ public class ProductServiceImpl extends AbstractCRUDServiceImpl<ProductDao, Prod ...@@ -153,7 +153,7 @@ public class ProductServiceImpl extends AbstractCRUDServiceImpl<ProductDao, Prod
deviceLogEntity.setLogType(LogTypeEnum.下发服务.getValue()); deviceLogEntity.setLogType(LogTypeEnum.下发服务.getValue());
deviceLogEntity.setCreateUserId(1L); deviceLogEntity.setCreateUserId(1L);
deviceLogEntity.setCreateTime(new Date()); deviceLogEntity.setCreateTime(new Date());
deviceLogService.save(deviceLogEntity); deviceLogService.save(deviceLogEntity,context);
} }
@Override @Override
...@@ -171,7 +171,7 @@ public class ProductServiceImpl extends AbstractCRUDServiceImpl<ProductDao, Prod ...@@ -171,7 +171,7 @@ public class ProductServiceImpl extends AbstractCRUDServiceImpl<ProductDao, Prod
deviceLogEntity.setLogType(LogTypeEnum.消息异常.getValue()); deviceLogEntity.setLogType(LogTypeEnum.消息异常.getValue());
deviceLogEntity.setCreateUserId(1L); deviceLogEntity.setCreateUserId(1L);
deviceLogEntity.setCreateTime(new Date()); deviceLogEntity.setCreateTime(new Date());
deviceLogService.save(deviceLogEntity); deviceLogService.save(deviceLogEntity,context);
} }
}; };
log.info("【发送中】发送升级版本信息,设备编码:{}",deviceEntity.getDeviceCode()); log.info("【发送中】发送升级版本信息,设备编码:{}",deviceEntity.getDeviceCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment