【工艺路线】列表、详情
This commit is contained in:
parent
7e75008d88
commit
b223472f4f
|
|
@ -42,7 +42,7 @@ public class ProcessRouteTaskApi extends BaseApi {
|
|||
* @param rowId
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("detail/{rowId}")
|
||||
@GetMapping("detail/{rowId}")
|
||||
public ResultVO<ProcessRouteTaskVO> detail(@PathVariable Long rowId) {
|
||||
return ResultVO.success(processRouteTaskService.detail(rowId));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,113 @@
|
|||
package com.nflg.product.technology.pojo.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 物料分类信息表(MaterialCategory)$desc
|
||||
*
|
||||
* @author 大米
|
||||
* @since 2022-08-06 14:36:00
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@ApiModel(value = "com-nflg-product-material-pojo-entity-MaterialCategoryEntity")
|
||||
@TableName(value = "t_material_category")
|
||||
public class MaterialCategoryEntity implements Serializable {
|
||||
|
||||
/**
|
||||
* 行ID 雪花
|
||||
*/
|
||||
@TableId(value = "row_id", type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "行ID 雪花")
|
||||
private Long rowId;
|
||||
|
||||
/**
|
||||
* 分类编码
|
||||
*/
|
||||
@TableField(value = "category_code")
|
||||
@ApiModelProperty(value = "分类编码")
|
||||
private String categoryCode;
|
||||
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
@TableField(value = "category_name")
|
||||
@ApiModelProperty(value = "分类名称")
|
||||
private String categoryName;
|
||||
|
||||
/**
|
||||
* 父级分类
|
||||
*/
|
||||
@TableField(value = "parent_category_row_id")
|
||||
@ApiModelProperty(value = "父级分类")
|
||||
private Long parentCategoryRowId;
|
||||
|
||||
/**
|
||||
* 分类层级树
|
||||
*/
|
||||
@TableField(value = "parent_tree")
|
||||
@ApiModelProperty(value = "分类层级树")
|
||||
private String parentTree;
|
||||
|
||||
/**
|
||||
* 状态 0:不启用1:启用
|
||||
*/
|
||||
@TableField(value = "enable_state")
|
||||
@ApiModelProperty(value = "状态 0:不启用1:启用")
|
||||
private Integer enableState;
|
||||
|
||||
@ApiModelProperty("分类名称拼音首字母")
|
||||
private String categoryNamePinyin;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@TableField(value = "created_by", fill = FieldFill.INSERT)
|
||||
@ApiModelProperty(value = "创建人")
|
||||
private String createdBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField(value = "created_time", fill = FieldFill.INSERT)
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime createdTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
@TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)
|
||||
@ApiModelProperty(value = "更新人")
|
||||
private String updatedBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private LocalDateTime updatedTime;
|
||||
|
||||
|
||||
/**
|
||||
* 对应的物料大类
|
||||
*/
|
||||
@TableField(value = "rel_category_code")
|
||||
@ApiModelProperty(value = "对应的物料大类")
|
||||
private String relCategoryCode;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue