| | |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.api.enums.MatLocType; |
| | | import com.zy.asrs.enums.ContainerType; |
| | | import com.zy.asrs.service.BasContainerService; |
| | | import com.zy.asrs.service.TagService; |
| | |
| | | |
| | | @ApiModelProperty("库位类型") |
| | | @TableField("loc_type") |
| | | @ExcelProperty(value = "库位类型") |
| | | private Long locType; |
| | | |
| | | /** |
| | |
| | | // ); |
| | | |
| | | public String getTagId$(){ |
| | | TagService service = SpringUtils.getBean(TagService.class); |
| | | Tag tag = service.selectById(this.tagId); |
| | | if (!Cools.isEmpty(tag)){ |
| | | return String.valueOf(tag.getName()); |
| | | } |
| | | return null; |
| | | // TagService service = SpringUtils.getBean(TagService.class); |
| | | // Tag tag = service.selectById(this.tagId); |
| | | // if (!Cools.isEmpty(tag)){ |
| | | // return String.valueOf(tag.getName()); |
| | | // } |
| | | return MatLocType.getTagName(this.tagId + ""); |
| | | } |
| | | |
| | | public String getLocType$(){ |