| | |
| | | package com.zy.asrs.entity; |
| | | |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.MatService; |
| | | import com.zy.system.service.UserService; |
| | | import com.zy.system.entity.User; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.system.service.UserService; |
| | |
| | | |
| | | @Data |
| | | @TableName("agv_bas_station_detl") |
| | | @Accessors(chain = true) |
| | | public class BasStationDetl implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | */ |
| | | @ApiModelProperty(value= "站点编码") |
| | | @TableField("dev_no") |
| | | private Integer devNo; |
| | | private String devNo; |
| | | |
| | | /** |
| | | * 数量 |
| | | */ |
| | | @ApiModelProperty(value= "数量") |
| | | private Double anfme; |
| | | |
| | | @ApiModelProperty("执行中数量") |
| | | private Double workQty; |
| | | |
| | | /** |
| | | * 托盘条码 |
| | |
| | | |
| | | public BasStationDetl() {} |
| | | |
| | | public BasStationDetl(Long id,Integer devNo,Double anfme,String zpallet,String matnr,String maktx,String batch,String orderNo,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double manLength,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Long modiUser,Date modiTime,Long appeUser,Date appeTime,String memo,Long lineNumber,String standby1,String standby2,String standby3,String boxType1,String boxType2,String boxType3) { |
| | | public BasStationDetl(Long id,String devNo,Double anfme,String zpallet,String matnr,String maktx,String batch,String orderNo,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double manLength,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Long modiUser,Date modiTime,Long appeUser,Date appeTime,String memo,Long lineNumber,String standby1,String standby2,String standby3,String boxType1,String boxType2,String boxType3) { |
| | | this.id = id; |
| | | this.devNo = devNo; |
| | | this.anfme = anfme; |
| | |
| | | } |
| | | } |
| | | |
| | | public String getTag$() { |
| | | MatService service = SpringUtils.getBean(MatService.class); |
| | | Mat order = service.selectOne(new EntityWrapper<Mat>().eq("matnr", this.matnr)); |
| | | if (Cools.isEmpty(order)){ |
| | | return null; |
| | | } |
| | | return order.getTagId$(); |
| | | } |
| | | |
| | | public String getDanger$(){ |
| | | if (null == this.danger){ return null; } |
| | | switch (this.danger){ |