| | |
| | | import com.zy.acs.framework.common.Cools; |
| | | import com.zy.acs.framework.common.SpringUtils; |
| | | import com.zy.acs.manager.manager.service.CodeService; |
| | | import com.zy.acs.manager.manager.service.StaTypeService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | |
| | | // return null; |
| | | // } |
| | | // |
| | | // public String getStaType$(){ |
| | | // StaTypeService service = SpringUtils.getBean(StaTypeService.class); |
| | | // StaType staType = service.getById(this.staType); |
| | | // if (!Cools.isEmpty(staType)){ |
| | | // return String.valueOf(staType.getName()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | public String getStaType$(){ |
| | | StaTypeService service = SpringUtils.getBean(StaTypeService.class); |
| | | StaType staType = service.getById(this.staType); |
| | | if (!Cools.isEmpty(staType)){ |
| | | return String.valueOf(staType.getUuid()); |
| | | } |
| | | return null; |
| | | } |
| | | // |
| | | public String getCode$(){ |
| | | CodeService service = SpringUtils.getBean(CodeService.class); |