diff --git a/ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java b/ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java index 83a5a4c..8ad79cd 100644 --- a/ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java +++ b/ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java @@ -56,7 +56,7 @@ public class GeneratorCodeKingbaseConfig { } public static void main(String[] args) { - generate("Liuxinxin", "expert", PATH_LXX, "nd_expert_user_full_info"); + generate("Liuxinxin", "tag", PATH_LXX, "meta_tag"); } } diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/tag/controller/MetaTagController.java b/pmapi/src/main/java/com/ningdatech/pmapi/tag/controller/MetaTagController.java new file mode 100644 index 0000000..84fd5d1 --- /dev/null +++ b/pmapi/src/main/java/com/ningdatech/pmapi/tag/controller/MetaTagController.java @@ -0,0 +1,20 @@ +package com.ningdatech.pmapi.tag.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.stereotype.Controller; + +/** + *
+ * 前端控制器 + *
+ * + * @author Liuxinxin + * @since 2023-02-22 + */ +@Controller +@RequestMapping("/pmapi.tag/meta-tag") +public class MetaTagController { + +} diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/tag/entity/MetaTag.java b/pmapi/src/main/java/com/ningdatech/pmapi/tag/entity/MetaTag.java new file mode 100644 index 0000000..261d81b --- /dev/null +++ b/pmapi/src/main/java/com/ningdatech/pmapi/tag/entity/MetaTag.java @@ -0,0 +1,41 @@ +package com.ningdatech.pmapi.tag.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.time.LocalDateTime; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + *+ * + *
+ * + * @author Liuxinxin + * @since 2023-02-22 + */ +@Data +@TableName("meta_tag") +@ApiModel(value = "MetaTag对象", description = "") +public class MetaTag implements Serializable { + + private static final long serialVersionUID = 1L; + + private Long id; + + private LocalDateTime createOn; + + private LocalDateTime updateOn; + + private String tagName; + + private Long tagLevel; + + private String parentCode; + + private String tagType; + + private String tagCode; + +} diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.java b/pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.java new file mode 100644 index 0000000..3e7a783 --- /dev/null +++ b/pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.java @@ -0,0 +1,16 @@ +package com.ningdatech.pmapi.tag.mapper; + +import com.ningdatech.pmapi.tag.entity.MetaTag; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + *+ * Mapper 接口 + *
+ * + * @author Liuxinxin + * @since 2023-02-22 + */ +public interface MetaTagMapper extends BaseMapper+ * 服务类 + *
+ * + * @author Liuxinxin + * @since 2023-02-22 + */ +public interface IMetaTagService extends IService+ * 服务实现类 + *
+ * + * @author Liuxinxin + * @since 2023-02-22 + */ +@Service +public class MetaTagServiceImpl extends ServiceImpl