Bläddra i källkod

meta_tag

tags/24080901
liuxinxin 1 år sedan
förälder
incheckning
286eaf40dc
8 ändrade filer med 119 tillägg och 2 borttagningar
  1. +1
    -1
      ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java
  2. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/controller/MetaTagController.java
  3. +41
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/entity/MetaTag.java
  4. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.java
  5. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.xml
  6. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/service/IMetaTagService.java
  7. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/service/impl/MetaTagServiceImpl.java
  8. +0
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java

+ 1
- 1
ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java Visa fil

@@ -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");
}

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/controller/MetaTagController.java Visa fil

@@ -0,0 +1,20 @@
package com.ningdatech.pmapi.tag.controller;


import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
* <p>
* 前端控制器
* </p>
*
* @author Liuxinxin
* @since 2023-02-22
*/
@Controller
@RequestMapping("/pmapi.tag/meta-tag")
public class MetaTagController {

}

+ 41
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/entity/MetaTag.java Visa fil

@@ -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;

/**
* <p>
*
* </p>
*
* @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;

}

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.java Visa fil

@@ -0,0 +1,16 @@
package com.ningdatech.pmapi.tag.mapper;

import com.ningdatech.pmapi.tag.entity.MetaTag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* <p>
* Mapper 接口
* </p>
*
* @author Liuxinxin
* @since 2023-02-22
*/
public interface MetaTagMapper extends BaseMapper<MetaTag> {

}

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/MetaTagMapper.xml Visa fil

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ningdatech.pmapi.tag.mapper.MetaTagMapper">

</mapper>

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/service/IMetaTagService.java Visa fil

@@ -0,0 +1,16 @@
package com.ningdatech.pmapi.tag.service;

import com.ningdatech.pmapi.tag.entity.MetaTag;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* <p>
* 服务类
* </p>
*
* @author Liuxinxin
* @since 2023-02-22
*/
public interface IMetaTagService extends IService<MetaTag> {

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/service/impl/MetaTagServiceImpl.java Visa fil

@@ -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;

/**
* <p>
* 服务实现类
* </p>
*
* @author Liuxinxin
* @since 2023-02-22
*/
@Service
public class MetaTagServiceImpl extends ServiceImpl<MetaTagMapper, MetaTag> implements IMetaTagService {

}

+ 0
- 1
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java Visa fil

@@ -86,7 +86,6 @@ public class UserInfoManage {
resListVO.setOrgName(r.getOrganizationCode());
resListVO.setOrgCode(r.getOrganizationCode());
// TODO 从用户信息中获取

// 从所属组织中获取
// resListVO.setRegionId();



Laddar…
Avbryt
Spara