Commit 66135cf2 authored by 赵啸非's avatar 赵啸非

添加设备上线和下线的业务日志记录

parent 38329e4a
...@@ -785,6 +785,7 @@ public class DeviceApiController { ...@@ -785,6 +785,7 @@ public class DeviceApiController {
deviceEntity.setPlatformId(platformEntity.getId()); deviceEntity.setPlatformId(platformEntity.getId());
deviceEntity.setPlatformName(platformEntity.getPlatformName()); deviceEntity.setPlatformName(platformEntity.getPlatformName());
deviceEntity.setProductId(productEntity.getId()); deviceEntity.setProductId(productEntity.getId());
deviceEntity.setProductCode(productEntity.getProductCode());
deviceEntity.setProductName(productEntity.getProductName()); deviceEntity.setProductName(productEntity.getProductName());
deviceEntity.setIp(req.getIp()); deviceEntity.setIp(req.getIp());
deviceEntity.setCenternum(req.getCenternum()); deviceEntity.setCenternum(req.getCenternum());
...@@ -827,6 +828,7 @@ public class DeviceApiController { ...@@ -827,6 +828,7 @@ public class DeviceApiController {
deviceEntity.setPlatformId(platformEntity.getId()); deviceEntity.setPlatformId(platformEntity.getId());
deviceEntity.setPlatformName(platformEntity.getPlatformName()); deviceEntity.setPlatformName(platformEntity.getPlatformName());
deviceEntity.setProductId(productEntity.getId()); deviceEntity.setProductId(productEntity.getId());
deviceEntity.setProductCode(productEntity.getProductCode());
deviceEntity.setProductName(productEntity.getProductName()); deviceEntity.setProductName(productEntity.getProductName());
deviceEntity.setIp(req.getIp()); deviceEntity.setIp(req.getIp());
deviceEntity.setCenternum(req.getCenternum()); deviceEntity.setCenternum(req.getCenternum());
......
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