Browse Source

meta tag dictionary

expert_dictionary
expert_tag
master
liuxinxin 1 year ago
parent
commit
954fe784c8
19 changed files with 351 additions and 1 deletions
  1. +1
    -1
      ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java
  2. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/controller/ExpertDictionaryController.java
  3. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/controller/MetaDictionaryController.java
  4. +36
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/entity/ExpertDictionary.java
  5. +47
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/entity/MetaDictionary.java
  6. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/mapper/ExpertDictionaryMapper.java
  7. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/mapper/ExpertDictionaryMapper.xml
  8. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/mapper/MetaDictionaryMapper.java
  9. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/mapper/MetaDictionaryMapper.xml
  10. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/service/IExpertDictionaryService.java
  11. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/service/IMetaDictionaryService.java
  12. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/service/impl/ExpertDictionaryServiceImpl.java
  13. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dictionary/service/impl/MetaDictionaryServiceImpl.java
  14. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/controller/ExpertTagController.java
  15. +36
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/entity/ExpertTag.java
  16. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/ExpertTagMapper.java
  17. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/ExpertTagMapper.xml
  18. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/service/IExpertTagService.java
  19. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/tag/service/impl/ExpertTagServiceImpl.java

+ 1
- 1
ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java View File

@@ -56,7 +56,7 @@ public class GeneratorCodeKingbaseConfig {
} }


public static void main(String[] args) { public static void main(String[] args) {
generate("Liuxinxin", "tag", PATH_LXX, "meta_tag");
generate("Liuxinxin", "tag", PATH_LXX, "expert_tag");
} }


} }

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/controller/ExpertDictionaryController.java View File

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


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

import org.springframework.stereotype.Controller;

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

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/controller/MetaDictionaryController.java View File

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


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

import org.springframework.stereotype.Controller;

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

}

+ 36
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/entity/ExpertDictionary.java View File

@@ -0,0 +1,36 @@
package com.ningdatech.pmapi.dictionary.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("expert_dictionary")
@ApiModel(value = "ExpertDictionary对象", description = "")
public class ExpertDictionary implements Serializable {

private static final long serialVersionUID = 1L;

private Long id;

private LocalDateTime createOn;

private LocalDateTime updateOn;

private String dictionaryCode;

private String expertInfoField;

private Long userId;
}

+ 47
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/entity/MetaDictionary.java View File

@@ -0,0 +1,47 @@
package com.ningdatech.pmapi.dictionary.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
*
* </p>
*
* @author Liuxinxin
* @since 2023-02-22
*/
@Data
@TableName("meta_dictionary")
@ApiModel(value = "MetaDictionary对象", description = "")
public class MetaDictionary implements Serializable {

private static final long serialVersionUID = 1L;

private Long id;

private LocalDateTime createOn;

private LocalDateTime updateOn;

private String dictionaryType;

private String dictionaryCode;

private String dictionaryName;

private String dictionaryDescribe;

private Integer sortValue;

private Long createBy;

private String readonly;

private Long updateBy;

}

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/mapper/ExpertDictionaryMapper.java View File

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

import com.ningdatech.pmapi.dictionary.entity.ExpertDictionary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

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

}

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/mapper/ExpertDictionaryMapper.xml View File

@@ -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.dictionary.mapper.ExpertDictionaryMapper">

</mapper>

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/mapper/MetaDictionaryMapper.java View File

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

import com.ningdatech.pmapi.dictionary.entity.MetaDictionary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

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

}

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/mapper/MetaDictionaryMapper.xml View File

@@ -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.dictionary.mapper.MetaDictionaryMapper">

</mapper>

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/service/IExpertDictionaryService.java View File

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

import com.ningdatech.pmapi.dictionary.entity.ExpertDictionary;
import com.baomidou.mybatisplus.extension.service.IService;

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

}

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/service/IMetaDictionaryService.java View File

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

import com.ningdatech.pmapi.dictionary.entity.MetaDictionary;
import com.baomidou.mybatisplus.extension.service.IService;

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

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/service/impl/ExpertDictionaryServiceImpl.java View File

@@ -0,0 +1,20 @@
package com.ningdatech.pmapi.dictionary.service.impl;

import com.ningdatech.pmapi.dictionary.entity.ExpertDictionary;
import com.ningdatech.pmapi.dictionary.mapper.ExpertDictionaryMapper;
import com.ningdatech.pmapi.dictionary.service.IExpertDictionaryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
* <p>
* 服务实现类
* </p>
*
* @author Liuxinxin
* @since 2023-02-22
*/
@Service
public class ExpertDictionaryServiceImpl extends ServiceImpl<ExpertDictionaryMapper, ExpertDictionary> implements IExpertDictionaryService {

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dictionary/service/impl/MetaDictionaryServiceImpl.java View File

@@ -0,0 +1,20 @@
package com.ningdatech.pmapi.dictionary.service.impl;

import com.ningdatech.pmapi.dictionary.entity.MetaDictionary;
import com.ningdatech.pmapi.dictionary.mapper.MetaDictionaryMapper;
import com.ningdatech.pmapi.dictionary.service.IMetaDictionaryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
* <p>
* 服务实现类
* </p>
*
* @author Liuxinxin
* @since 2023-02-22
*/
@Service
public class MetaDictionaryServiceImpl extends ServiceImpl<MetaDictionaryMapper, MetaDictionary> implements IMetaDictionaryService {

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/controller/ExpertTagController.java View File

@@ -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/expert-tag")
public class ExpertTagController {

}

+ 36
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/entity/ExpertTag.java View File

@@ -0,0 +1,36 @@
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
*/
@TableName("expert_tag")
@Data
@ApiModel(value = "ExpertTag对象", description = "")
public class ExpertTag implements Serializable {

private static final long serialVersionUID = 1L;

private Long id;

private LocalDateTime createOn;

private LocalDateTime updateOn;

private Long userId;

private String tagCode;

private String expertInfoField;
}

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/ExpertTagMapper.java View File

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

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

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

}

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/mapper/ExpertTagMapper.xml View File

@@ -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.ExpertTagMapper">

</mapper>

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/service/IExpertTagService.java View File

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

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

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

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/tag/service/impl/ExpertTagServiceImpl.java View File

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

import com.ningdatech.pmapi.tag.entity.ExpertTag;
import com.ningdatech.pmapi.tag.mapper.ExpertTagMapper;
import com.ningdatech.pmapi.tag.service.IExpertTagService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
* <p>
* 服务实现类
* </p>
*
* @author Liuxinxin
* @since 2023-02-22
*/
@Service
public class ExpertTagServiceImpl extends ServiceImpl<ExpertTagMapper, ExpertTag> implements IExpertTagService {

}

Loading…
Cancel
Save