两表联查的语法怎么写 求大神带上注解谢谢
5 回复
sys_user表
@Id
private int id;
@Column
@ColDefine(width = 20)
@Comment("用户名")
private String username;
@Column
@ColDefine(width = 32)
@Comment("密码")
private String pwd;
@Column
@ColDefine(width = 50)
@Comment("昵称")
private String nickname;
@Column
@ColDefine(width = 100)
@Comment("地址")
private String address;
@Column
@ColDefine(width = 20)
@Comment("电话")
private String tel;
u_book表
@Id
private int id;
@Column
@Comment("用户Id")
private int userId;
@Column
@Comment("书名")
private String name;
就是为了登录用户之后展示用户底下的书本
添加回复
请先登陆