| | |
| | | package com.vincent.rsf.server.manager.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.vincent.rsf.server.system.constant.DictTypeCode; |
| | | import com.vincent.rsf.server.system.entity.DictData; |
| | | import com.vincent.rsf.server.system.service.DictDataService; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | @ApiModelProperty(value= "主单ID") |
| | | private Long pakinId; |
| | | |
| | | @ApiModelProperty("订单类型") |
| | | private String type; |
| | | |
| | | @ApiModelProperty("业务类型") |
| | | private Short wkType; |
| | | |
| | | @ApiModelProperty("组拖明细ID") |
| | | private Long source; |
| | | |
| | | @ApiModelProperty("质检结果") |
| | | private Short isptResult; |
| | | |
| | | /** |
| | | * 订单ID |
| | | */ |
| | |
| | | */ |
| | | @ApiModelProperty("物料跟踪码") |
| | | private String trackCode; |
| | | |
| | | @ApiModelProperty("行号") |
| | | private String platItemId; |
| | | |
| | | @ApiModelProperty("客户订单号") |
| | | private String platOrderCode; |
| | | |
| | | @ApiModelProperty("工单号") |
| | | private String platWorkCode; |
| | | |
| | | @ApiModelProperty("项目号") |
| | | private String projectCode; |
| | | |
| | | /** |
| | | * 物料名称 |
| | |
| | | * 是否删除 1: 是 0: 否 |
| | | */ |
| | | @ApiModelProperty(value= "是否删除 1: 是 0: 否 ") |
| | | @TableLogic |
| | | private Integer deleted; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @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("扩展字段") |
| | | @TableField(exist = false) |
| | | private Map<String, String> extendFields; |
| | | /** |
| | | * 修改人员 |
| | | */ |
| | |
| | | */ |
| | | @ApiModelProperty(value= "修改时间") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | |
| | | @ApiModelProperty(value = "基本单位") |
| | | private String baseUnit; |
| | | |
| | | @ApiModelProperty(value = "使用组织") |
| | | private String useOrgId; |
| | | |
| | | @ApiModelProperty(value = "使用者名称") |
| | | private String useOrgName; |
| | | |
| | | @ApiModelProperty(value = "数量属性,外购等") |
| | | private String erpClsId; |
| | | |
| | | @ApiModelProperty(value = "计价单位") |
| | | private String priceUnitId; |
| | | |
| | | @ApiModelProperty(value = "入库类型") |
| | | private String inStockType; |
| | | |
| | | @ApiModelProperty(value = "货主类型") |
| | | private String ownerTypeId; |
| | | |
| | | @ApiModelProperty(value = "货主") |
| | | private String ownerId; |
| | | |
| | | @ApiModelProperty(value = "货主名称") |
| | | private String ownerName; |
| | | |
| | | @ApiModelProperty(value = "保管者类型") |
| | | private String keeperTypeId; |
| | | |
| | | @ApiModelProperty(value = "保管者") |
| | | private String keeperId; |
| | | |
| | | @ApiModelProperty(value = "保管者名称") |
| | | private String keeperName; |
| | | |
| | | @ApiModelProperty(value = "建议目标仓,入库") |
| | | private String targetWarehouseId; |
| | | |
| | | @ApiModelProperty(value = "建议调出仓,出仓") |
| | | private String sourceWarehouseId; |
| | | public WaitPakinItem() {} |
| | | |
| | | public WaitPakinItem(Long pakinId,String maktx,Long matnrId,String matnrCode,Double anfme,Double workQty,String unit,String fieldsIndex,Double qty,String batch,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getIsptResult$(){ |
| | | if (Cools.isEmpty(this.isptResult)){ |
| | | return null; |
| | | } |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode, DictTypeCode.DICT_INSPECT_RESULT) |
| | | .eq(DictData::getValue, this.isptResult)); |
| | | if (Objects.isNull(dictData)) { |
| | | return null; |
| | | } |
| | | return dictData.getLabel(); |
| | | } |
| | | |
| | | public String getUpdateTime$(){ |
| | | if (Cools.isEmpty(this.updateTime)){ |
| | | return ""; |