We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3。7.2
我配置了一个主附表,主表中除了id是主键外,还有一个人员编号也是主键,在附表中配置一个外键,这个外键的对应的是主表中人员编号这个字段的值,但配置完成后在附表中外键展示的值是主表的id的值,而不是人员编号这个主键的值
The text was updated successfully, but these errors were encountered:
啥意思,新主键无法展示是什么意思
Sorry, something went wrong.
如下图中上面井的信息是主表,下面的历史数据的井名为对应主表的外键,下表中展示的外键的值不是井的名称,而是展示井信息的id的值
a) 子表引用主表主键ID作为外键,外键字段必须以_ID结尾,例如 ORDER_ID b) 主表和子表的外键字段名字,必须相同(除主键ID外);
https://help.jeecg.com/java/onlinedaimashengchengyiduiduo.html
子表引用的主表主键不是ID作为外键,外键字段也还是必须以_ID结尾吗? 图一是主表的数据库属性 <img width="1210" alt="截屏2024-12-22 19 04 30" src="https://github.com/user-attachments/assets/079cffdd-439c-4d63-a014-0 136b787fc09" />
图二是子表的数据库属性 图三是子表的外键信息; 需要怎么修改
No branches or pull requests
版本号:
3。7.2
问题描述:
我配置了一个主附表,主表中除了id是主键外,还有一个人员编号也是主键,在附表中配置一个外键,这个外键的对应的是主表中人员编号这个字段的值,但配置完成后在附表中外键展示的值是主表的id的值,而不是人员编号这个主键的值
错误截图:
友情提示:
The text was updated successfully, but these errors were encountered: