| | |
| | | @ApiModelProperty(value= "ID") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 主单ID |
| | | */ |
| | | @ApiModelProperty(value= "主单ID") |
| | | private Long ispectId; |
| | | @ApiModelProperty("质检单状态") |
| | | private String isptStatus; |
| | | |
| | | @ApiModelProperty("单据明细ID") |
| | | private Long asnItemId; |
| | | |
| | | /** |
| | | * 编号 |
| | | */ |
| | | @ApiModelProperty(value= "编号") |
| | | private String matnrCode; |
| | | |
| | | /** |
| | | * 物料名称 |
| | | */ |
| | | @ApiModelProperty(value= "物料名称") |
| | | private String maktx; |
| | | |
| | | /** |
| | | * 标签 |
| | | */ |
| | | @ApiModelProperty(value= "标签") |
| | | private String label; |
| | | |
| | | /**∂ |
| | | * 供应商名称 |
| | | */ |
| | | @ApiModelProperty(value= "供应商名称") |
| | | private String splrName; |
| | | |
| | | /** |
| | | * 供应商批次 |
| | | */ |
| | | @ApiModelProperty(value= "供应商批次") |
| | | private String splrBatch; |
| | | |
| | | /** |
| | | * 库存批次 |
| | | */ |
| | |
| | | private String picPath; |
| | | |
| | | @ApiModelProperty("质检结论") |
| | | private String isptResult; |
| | | private Short isptResult; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 冻结 |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | public String getIsptStatus$() { |
| | | if (null == this.isptStatus) {return null; } |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictDatas = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode, DictTypeCode.DICT_QLY_INSPECT_STATUS) |
| | | .eq(DictData::getValue, this.isptStatus)); |
| | | if (Objects.isNull(dictDatas) || Objects.isNull(dictDatas.getLabel())) { |
| | | return null; |
| | | } |
| | | return dictDatas.getLabel(); |
| | | } |
| | | |
| | | public String getIsptResult$() { |
| | | if (null == this.isptResult) {return null; } |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |