| | |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.zy.asrs.service.LocMastService; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | | import com.zy.asrs.service.LocAreaService; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | @TableField(exist = false) |
| | | private String warehouseName; |
| | | |
| | | @TableField(exist = false) |
| | | private String warehouse$; |
| | | |
| | | @ApiModelProperty(value= "品牌") |
| | | private String brand; |
| | | |
| | |
| | | private String state; |
| | | |
| | | @TableField(exist = false) |
| | | private String getState$; |
| | | |
| | | @TableField(exist = false) |
| | | private BigDecimal anfmeOut; |
| | | |
| | | public String getModiUser$(){ |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime); |
| | | } |
| | | |
| | | public String getWarehouse$() { |
| | | LocAreaService warehouse = SpringUtils.getBean(LocAreaService.class); |
| | | LocArea warehouseName = warehouse.selectOne(new EntityWrapper<LocArea>().eq("uuid", this.warehouse)); |
| | | if (!Cools.isEmpty(warehouseName)){ |
| | | return String.valueOf(warehouseName.getName()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getState$() { |
| | | String txt = ""; |
| | | switch (this.state) { |
| | | case "1": |
| | | txt = "已入库"; |
| | | break; |
| | | case "2": |
| | | txt = "已出库"; |
| | | break; |
| | | } |
| | | return txt; |
| | | } |
| | | |
| | | } |