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
EntityPrepareModifyEvent 修改字段后 update 未生效 #505
Comments
在这个代码仓库中复现了:https://github.com/MoonBottle/hsweb-framework |
试试这个PR hs-web/hsweb-framework#288 |
|
但是今天又发现了一个新的现象,感觉似乎有点问题,步骤如下: 测试代码还是在这个仓库中:https://github.com/MoonBottle/hsweb-framework |
我再看看.. |
再试试 |
不过目前不能通过EntityPrepareModifyEvent设置null值 |
代码 没同步完? hs-web/hsweb-framework@74d7421 |
抱歉抱歉,我没注意到 PR 有新的 commit,代码没同步完 同步后测试成功了,大佬🐂🍺,非常感谢!🙏 |
好的。没有问题我就合并了。 |
监听了
EntityPrepareModifyEvent
事件,修改了某个字段最终执行的 sql 还是原先的字段,请问下这个事件不能修改字段值么
The text was updated successfully, but these errors were encountered: