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

自动生成代码的时候,如果某个字段是下拉并且选择的是数据字典错误的解决办法 #156

Open
dingke198 opened this issue Sep 2, 2021 · 0 comments

Comments

@dingke198
Copy link

dingke198 commented Sep 2, 2021

原因:获取字典界面的值时,获取的是字符串类型,但是数据库是int类型,类型不符导致
解决方案:获取字典对象列表的时候,对value做个判断,如果是数字类型则转为数字类型
要修改的点:
1.
image
2.
0d4bd024b9894c9071bce820693e09d

@wenjianzhang wenjianzhang changed the title 自动生成代码的时候,如果某个字段是下拉并且选择的是数据字典,会出错 自动生成代码的时候,如果某个字段是下拉并且选择的是数据字典错误的解决办法 Aug 22, 2022
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