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

在根据表结构生成mybatis xml映射文件的时候update操作test if 表达式中'' != Object的问题 #113

Open
dodge-basic opened this issue Apr 14, 2021 · 0 comments

Comments

@dodge-basic
Copy link

<if "null != amount and '' != amount"> #{amount}, 这个amount如果是Ingeger或者decimal类型 非空表达('' != amount)不合适吧, 另外:
<if "null != createTime and '' != createTime">#{createTime},
把空字符串跟date类型对比会报错的

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

No branches or pull requests

1 participant