Closed lmm1990 closed 3 years ago
临时解决办法: 自己写了个util
使用方法: Entity entity = NutzEntityUtil.getEntity(UserInfo.class); Record result = userService.get(id,"id,nickName"); UserInfo userInfo = entity.getObject(result);
附件: NutzEntityUtil.java.txt
Lang.map2Object(record, UserInfo.class); 就可以了
Lang.map2Object(record, UserInfo.class);
好的,多谢
临时解决办法: 自己写了个util
使用方法: Entity entity = NutzEntityUtil.getEntity(UserInfo.class);
Record result = userService.get(id,"id,nickName");
UserInfo userInfo = entity.getObject(result);
附件: NutzEntityUtil.java.txt