| | |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.BasLocStsService; |
| | | import com.zy.asrs.service.BasLocType1Service; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | private Integer floor; |
| | | |
| | | /** |
| | | * 容器类型 |
| | | * 货架类型 |
| | | */ |
| | | @ApiModelProperty(value= "容器类型") |
| | | @ApiModelProperty(value= "货架类型") |
| | | @TableField("ctn_type") |
| | | private Integer ctnType; |
| | | |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.ioTime); |
| | | } |
| | | |
| | | public String getLocType1$() { |
| | | if (null == this.locType1){ return null; } |
| | | switch (this.locType1){ |
| | | case 0: |
| | | return "未知"; |
| | | case 1: |
| | | return "低库位"; |
| | | case 2: |
| | | return "高库位"; |
| | | default: |
| | | return String.valueOf(this.locType1); |
| | | } |
| | | } |
| | | |
| | | public String getLocType2$() { |
| | | if (null == this.locType2){ return null; } |
| | | switch (this.locType2){ |
| | |
| | | } |
| | | } |
| | | |
| | | public String getLocType1$() { |
| | | BasLocType1Service service = SpringUtils.getBean(BasLocType1Service.class); |
| | | BasLocType1 basLocType1 = service.selectById(this.locType1); |
| | | if (!Cools.isEmpty(basLocType1)){ |
| | | return String.valueOf(basLocType1.getLocDesc()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getModiUser$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.selectById(this.modiUser); |