| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.vincent.rsf.server.manager.service.BatchRegularService; |
| | | import com.vincent.rsf.server.manager.service.CompanysService; |
| | | import com.vincent.rsf.server.manager.service.MatnrGroupService; |
| | |
| | | @TableField(exist = false) |
| | | private Map<String, String> extendFields; |
| | | |
| | | /** 库存数量(出库选物料时由库位汇总,非表字段) */ |
| | | @ApiModelProperty("库存数量") |
| | | @TableField(exist = false) |
| | | private Double stockQty; |
| | | |
| | | /** 库位状态展示(出库选物料时,非表字段) */ |
| | | @ApiModelProperty("库位状态") |
| | | @TableField(exist = false) |
| | | private String locUseStatus$; |
| | | |
| | | /** 库位展示(出库选物料时,有库存的库位编码,逗号分隔,非表字段) */ |
| | | @ApiModelProperty("库位") |
| | | @TableField(exist = false) |
| | | private String locCodes$; |
| | | |
| | | /** |
| | | * 租户 |
| | | */ |
| | |
| | | */ |
| | | @ApiModelProperty(value= "添加时间") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "修改时间") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getRglarId$(){ |
| | | SerialRuleService service = SpringUtils.getBean(SerialRuleService.class); |
| | | SerialRule batchRegular = service.getById(this.rglarId); |
| | | if (!Cools.isEmpty(batchRegular)){ |
| | | return String.valueOf(batchRegular.getCode()); |
| | | } |
| | | return null; |
| | | } |
| | | // public String getRglarId$(){ |
| | | // SerialRuleService service = SpringUtils.getBean(SerialRuleService.class); |
| | | // SerialRule batchRegular = service.getById(this.rglarId); |
| | | // if (!Cools.isEmpty(batchRegular)){ |
| | | // return String.valueOf(batchRegular.getCode()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | |
| | | public String getStockLeval$(){ |
| | | if (null == this.stockLevel){ return null; } |