| | |
| | | */ |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | @TableField(exist = false) |
| | | private String createBy$; |
| | | |
| | | @TableField(exist = false) |
| | | private String updateBy$; |
| | | |
| | | |
| | | |
| | | public Fields() {} |
| | | |
| | |
| | | } |
| | | |
| | | public String getCreateBy$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.getById(this.createBy); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getNickname()); |
| | | } |
| | | return null; |
| | | return this.createBy$; |
| | | } |
| | | |
| | | public String getCreateTime$(){ |
| | |
| | | } |
| | | |
| | | public String getUpdateBy$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.getById(this.updateBy); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getNickname()); |
| | | } |
| | | return null; |
| | | return this.updateBy$; |
| | | } |
| | | |
| | | public String getUpdateTime$(){ |