@Table("sys_user")
@TableIndexes({@Index(name = "INDEX_SYS_USER_LOGINNAMAE", fields = {"loginname"}, unique = true)})
public class Sys_user extends BaseModel implements Serializable {
@Column
@Name
@Comment("ID")
@ColDefine(type = ColType.VARCHAR, width = 32)
@Prev(els = {@EL("uuid()")})
private String id;
@Column
@Comment("用户名")
@ColDefine(type = ColType.VARCHAR, width = 120)
private String loginname;
@Column
@Comment("密码")
@ColDefine(type = ColType.VARCHAR, width = 100)
private String password;
@Column
@Comment("微信登录unionid")
@ColDefine(type = ColType.VARCHAR, width = 100)
private String unionid;
后台获取数据时,除了unionid都能得到,只有它为空,但是数据库里面确定有值.怎么回事