Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fixed) 事务控制bug, 如果文件上传发生bug,数据库无法进行回滚 #45

Closed

Conversation

Andecheal
Copy link
Contributor

No description provided.

@xiaozzzi
Copy link
Contributor

感谢❤,不过在Controller上加事务控制和整体规范不符,看来应该需要将PictureBlosController#uploadFile()方法中的osManager.put(picture.getPathName(), inputStream)放入到PictureService#insert()中处理。

@Andecheal
Copy link
Contributor Author

感谢❤,不过在Controller上加事务控制和整体规范不符,看来应该需要将PictureBlosController#uploadFile()方法中的osManager.put(picture.getPathName(), inputStream)放入到PictureService#insert()中处理。

Its alright

@Andecheal Andecheal closed this Dec 19, 2023
@Andecheal Andecheal deleted the fix-transaction-controll-bug branch December 20, 2023 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants