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

修改提交分辨率更新

parent 73226566
...@@ -940,7 +940,6 @@ public class DeviceApiController { ...@@ -940,7 +940,6 @@ public class DeviceApiController {
break; break;
case UPDATE: case UPDATE:
deviceUpdate(req); deviceUpdate(req);
log.info("【设备更新】暂不支持!");
break; break;
case DEL: case DEL:
deviceDel(req); deviceDel(req);
...@@ -1065,7 +1064,7 @@ public class DeviceApiController { ...@@ -1065,7 +1064,7 @@ public class DeviceApiController {
deviceEntity.setResolution(req.getResolution()); deviceEntity.setResolution(req.getResolution());
deviceEntity.setResolutionValue(req.getResolution()); deviceEntity.setResolutionValue(req.getResolution());
} }
deviceService.getDeviceDao().update(deviceEntity); deviceService.update(deviceEntity);
} }
private void deviceDel(DeviceReq req) throws AppException { private void deviceDel(DeviceReq req) throws AppException {
......
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