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

修改提交分辨率更新

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