| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | 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 com.vincent.rsf.server.system.entity.User; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.Objects; |
| | | |
| | | @Data |
| | | @Accessors(chain = true) |
| | | @TableName("man_task_item") |
| | | @ApiModel(value = "TaskItem", description = "任务档明细") |
| | | public class TaskItem implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * ID |
| | | */ |
| | |
| | | @ApiModelProperty(value= "物料名称") |
| | | private String maktx; |
| | | |
| | | |
| | | @ApiModelProperty("源编码") |
| | | private String sourceCode; |
| | | private Long source; |
| | | |
| | | @ApiModelProperty("单据ID") |
| | | private Long orderId; |
| | |
| | | |
| | | @ApiModelProperty("单据明细ID") |
| | | private Long orderItemId; |
| | | /** |
| | | * 物料跟踪码 |
| | | */ |
| | | @ApiModelProperty("物料跟踪码") |
| | | private String trackCode; |
| | | /** |
| | | * 物料编码 |
| | | */ |
| | |
| | | * 是否删除 1: 是 0: 否 |
| | | */ |
| | | @ApiModelProperty(value= "是否删除 1: 是 0: 否 ") |
| | | @TableLogic |
| | | private Integer deleted; |
| | | |
| | | /** |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | public String getOrderType$(){ |
| | | if (null == this.orderType) {return null;} |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictDatas = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_ORDER_TYPE) |
| | | .eq(DictData::getValue, this.orderType)); |
| | | if (Objects.isNull(dictDatas) || Objects.isNull(dictDatas.getLabel())) { |
| | | return null; |
| | | } |
| | | return dictDatas.getLabel(); |
| | | } |
| | | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |