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 { + +} diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.xml b/pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.xml new file mode 100644 index 0000000..2b3f916 --- /dev/null +++ b/pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/tag/service/IMetaTagService.java b/pmapi/src/main/java/com/ningdatech/pmapi/tag/service/IMetaTagService.java new file mode 100644 index 0000000..ce9005b --- /dev/null +++ b/pmapi/src/main/java/com/ningdatech/pmapi/tag/service/IMetaTagService.java @@ -0,0 +1,16 @@ +package com.ningdatech.pmapi.tag.service; + +import com.ningdatech.pmapi.tag.entity.MetaTag; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + *

+ * 服务类 + *

+ * + * @author Liuxinxin + * @since 2023-02-22 + */ +public interface IMetaTagService extends IService { + +} diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/tag/service/impl/MetaTagServiceImpl.java b/pmapi/src/main/java/com/ningdatech/pmapi/tag/service/impl/MetaTagServiceImpl.java new file mode 100644 index 0000000..458b843 --- /dev/null +++ b/pmapi/src/main/java/com/ningdatech/pmapi/tag/service/impl/MetaTagServiceImpl.java @@ -0,0 +1,20 @@ +package com.ningdatech.pmapi.tag.service.impl; + +import com.ningdatech.pmapi.tag.entity.MetaTag; +import com.ningdatech.pmapi.tag.mapper.MetaTagMapper; +import com.ningdatech.pmapi.tag.service.IMetaTagService; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; + +/** + *

+ * 服务实现类 + *

+ * + * @author Liuxinxin + * @since 2023-02-22 + */ +@Service +public class MetaTagServiceImpl extends ServiceImpl implements IMetaTagService { + +} diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java index d74ae3f..cbb1376 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java @@ -86,7 +86,6 @@ public class UserInfoManage { resListVO.setOrgName(r.getOrganizationCode()); resListVO.setOrgCode(r.getOrganizationCode()); // TODO 从用户信息中获取 - // 从所属组织中获取 // resListVO.setRegionId();