Commit 6da6a96d authored by 赵啸非's avatar 赵啸非

修改提交分辨率更新

parent df0321bb
......@@ -1064,7 +1064,9 @@ public class DeviceApiController {
deviceEntity.setResolution(req.getResolution());
deviceEntity.setResolutionValue(req.getResolution());
}
deviceService.update(deviceEntity);
deviceService.getDeviceDao().update(deviceEntity);
deviceService.putCache(deviceEntity.getId().toString(), deviceEntity);
deviceService.putCache(deviceEntity.getDeviceCode(), 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