From b223472f4fc9fb89c675649864a5bcf983fffd4d Mon Sep 17 00:00:00 2001 From: 10001392 <1055202292@qq.com> Date: Mon, 25 Nov 2024 10:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=B7=A5=E8=89=BA=E8=B7=AF=E7=BA=BF?= =?UTF-8?q?=E3=80=91=E5=88=97=E8=A1=A8=E3=80=81=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../technology/api/ProcessRouteTaskApi.java | 2 +- .../pojo/entity/MaterialCategoryEntity.java | 113 ++++++++++++++++++ 2 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 nflg_project_dev/nflg-technology/src/main/java/com/nflg/product/technology/pojo/entity/MaterialCategoryEntity.java diff --git a/nflg_project_dev/nflg-technology/src/main/java/com/nflg/product/technology/api/ProcessRouteTaskApi.java b/nflg_project_dev/nflg-technology/src/main/java/com/nflg/product/technology/api/ProcessRouteTaskApi.java index 4fb53041..5aec4e47 100644 --- a/nflg_project_dev/nflg-technology/src/main/java/com/nflg/product/technology/api/ProcessRouteTaskApi.java +++ b/nflg_project_dev/nflg-technology/src/main/java/com/nflg/product/technology/api/ProcessRouteTaskApi.java @@ -42,7 +42,7 @@ public class ProcessRouteTaskApi extends BaseApi { * @param rowId * @return */ - @PostMapping("detail/{rowId}") + @GetMapping("detail/{rowId}") public ResultVO detail(@PathVariable Long rowId) { return ResultVO.success(processRouteTaskService.detail(rowId)); } diff --git a/nflg_project_dev/nflg-technology/src/main/java/com/nflg/product/technology/pojo/entity/MaterialCategoryEntity.java b/nflg_project_dev/nflg-technology/src/main/java/com/nflg/product/technology/pojo/entity/MaterialCategoryEntity.java new file mode 100644 index 00000000..976b65a5 --- /dev/null +++ b/nflg_project_dev/nflg-technology/src/main/java/com/nflg/product/technology/pojo/entity/MaterialCategoryEntity.java @@ -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; + +}