| | |
| | | */ |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | @TableField(exist = false) |
| | | private String reset$; |
| | | |
| | | @TableField(exist = false) |
| | | private String createBy$; |
| | | |
| | | @TableField(exist = false) |
| | | private String updateBy$; |
| | | |
| | | |
| | | |
| | | public SerialRule() {} |
| | | |
| | |
| | | } |
| | | |
| | | public String getReset$(){ |
| | | if (null == this.reset){ return null; } |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode,"sys_rule_type").eq(DictData::getValue, this.reset)); |
| | | if (null != dictData){ |
| | | return dictData.getLabel(); |
| | | } |
| | | return String.valueOf(this.reset); |
| | | return this.reset$; |
| | | } |
| | | |
| | | public String getStatus$(){ |
| | |
| | | } |
| | | |
| | | 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$(){ |