| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.zy.acs.framework.common.Cools; |
| | | import com.zy.acs.framework.common.SpringUtils; |
| | | import com.zy.acs.manager.manager.service.CodeService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | |
| | | // return null; |
| | | // } |
| | | // |
| | | // public String getCode$(){ |
| | | // CodeService service = SpringUtils.getBean(CodeService.class); |
| | | // Code code = service.getById(this.code); |
| | | // if (!Cools.isEmpty(code)){ |
| | | // return String.valueOf(code.getUuid()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | public String getCode$(){ |
| | | CodeService service = SpringUtils.getBean(CodeService.class); |
| | | Code code = service.getCacheById(this.code); |
| | | if (!Cools.isEmpty(code)){ |
| | | return String.valueOf(code.getData()); |
| | | } |
| | | return null; |
| | | } |
| | | // |
| | | // public String getStaSts$(){ |
| | | // StaStsService service = SpringUtils.getBean(StaStsService.class); |