| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | */ |
| | | @ApiModelProperty(value= "目标库位") |
| | | private String targLoc; |
| | | |
| | | |
| | | /** |
| | | * 源站点 |
| | | */ |
| | | @ApiModelProperty("源站点") |
| | | private String orgSite; |
| | | |
| | | /** |
| | | * 目标站点 |
| | | */ |
| | | @ApiModelProperty("目标站点") |
| | | private String targSite; |
| | | |
| | | /** |
| | | * 托盘码 |
| | |
| | | @ApiModelProperty(value= "添加人员") |
| | | private Long createBy; |
| | | |
| | | @TableField(exist = false) |
| | | private String createBy$; |
| | | |
| | | /** |
| | | * 添加时间 |
| | | */ |
| | |
| | | @ApiModelProperty(value= "修改人员") |
| | | private Long updateBy; |
| | | |
| | | @TableField(exist = false) |
| | | private String updateBy$; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | |
| | | */ |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 路径ID |
| | | */ |
| | | @ApiModelProperty(value= "路径ID") |
| | | private Long deviceSiteId; |
| | | |
| | | /** |
| | | * 步序起点 |
| | | */ |
| | | @ApiModelProperty(value= "步序起点") |
| | | private String souStep; |
| | | |
| | | /** |
| | | * 步序终点 |
| | | */ |
| | | @ApiModelProperty(value= "步序终点") |
| | | private String endStep; |
| | | @TableField(exist = false) |
| | | private String taskStatus$; |
| | | |
| | | @TableField(exist = false) |
| | | private String taskType$; |
| | | |
| | | |
| | | |
| | | public TaskLog() {} |
| | | |
| | |
| | | // ); |
| | | |
| | | public String getTaskStatus$(){ |
| | | if (Cools.isEmpty(this.taskStatus)) { |
| | | return null; |
| | | } |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictDatas = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_TASK_STATUS) |
| | | .eq(DictData::getValue, this.taskStatus)); |
| | | if (Objects.isNull(dictDatas) || Objects.isNull(dictDatas.getLabel())) { |
| | | return null; |
| | | } |
| | | return dictDatas.getLabel(); |
| | | return this.taskStatus$; |
| | | } |
| | | |
| | | public String getTaskType$() { |
| | | if (Cools.isEmpty(this.taskType)) { |
| | | return null; |
| | | } |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictDatas = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_TASK_TYPE) |
| | | .eq(DictData::getValue, this.taskType)); |
| | | if (Cools.isEmpty(dictDatas)) { |
| | | return null; |
| | | } |
| | | return dictDatas.getLabel(); |
| | | return this.taskType$; |
| | | } |
| | | |
| | | public String getStartTime$(){ |
| | |
| | | } |
| | | } |
| | | |
| | | public String getCreateBy$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.getById(this.createBy); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getNickname()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getCreateTime$(){ |
| | | if (Cools.isEmpty(this.createTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime); |
| | | } |
| | | |
| | | public String getUpdateBy$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.getById(this.updateBy); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getNickname()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getUpdateTime$(){ |