瀏覽代碼

浙政钉条线组织管理

master
niohe·erbao 1 年之前
父節點
當前提交
f1a6cad945
共有 19 個檔案被更改,包括 340 行新增73 行删除
  1. +1
    -1
      ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java
  2. +19
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/ding/task/GovBusinessStripsTask.java
  3. +0
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/expert/assembler/ExpertInfoCmdAssembler.java
  4. +0
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/DingOrganizationController.java
  5. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/GovBusinessStripController.java
  6. +19
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/MetaOrganizationLineTagController.java
  7. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationTagController.java
  8. +38
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/GovBusinessStrip.java
  9. +109
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/MetaOrganizationLineTag.java
  10. +2
    -69
      pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/OrganizationTag.java
  11. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/helper/LineOrganizationHelper.java
  12. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/GovBusinessStripMapper.java
  13. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/GovBusinessStripMapper.xml
  14. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/MetaOrganizationLineTagMapper.java
  15. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/MetaOrganizationLineTagMapper.xml
  16. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IGovBusinessStripService.java
  17. +16
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IMetaOrganizationLineTagService.java
  18. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/GovBusinessStripServiceImpl.java
  19. +20
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/MetaOrganizationLineTagServiceImpl.java

+ 1
- 1
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", "organization", PATH_LXX, "organization_tag");
generate("Liuxinxin", "organization", PATH_LXX, "gov_business_strip");
}

}

+ 19
- 0
pmapi/src/main/java/com/ningdatech/pmapi/ding/task/GovBusinessStripsTask.java 查看文件

@@ -0,0 +1,19 @@
package com.ningdatech.pmapi.ding.task;

import org.springframework.stereotype.Component;

/**
* @author liuxinxin
* @date 2023/3/8 下午2:55
*/

@Component
public class GovBusinessStripsTask {

private final static Integer PAGE_SIZE = 20;

private final static Integer GROUP_SIZE = 100;



}

+ 0
- 2
pmapi/src/main/java/com/ningdatech/pmapi/expert/assembler/ExpertInfoCmdAssembler.java 查看文件

@@ -46,8 +46,6 @@ public class ExpertInfoCmdAssembler {
}




private static List<ExpertAvoidCompanyDTO> buildExpertAvoidCompanyList(ExpertProfessionalInfo professionalInfo) {
List<ExpertAvoidCompanyDTO> expertAvoidCompanyList = new ArrayList<>();
List<ExpertAvoidCompanyInfo> avoidCompanyList = professionalInfo.getAvoidCompanyList();


+ 0
- 1
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/DingOrganizationController.java 查看文件

@@ -47,5 +47,4 @@ public class DingOrganizationController {
public List<OrganizationTreeVO> getChildOrganizationList(@RequestParam(value = "parentCode", required = false) String parentCode) {
return organizationManage.getChildOrganizationList(parentCode);
}

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/GovBusinessStripController.java 查看文件

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


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

import org.springframework.stereotype.Controller;

/**
* <p>
* 前端控制器
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
@Controller
@RequestMapping("/pmapi.organization/gov-business-strip")
public class GovBusinessStripController {

}

+ 19
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/MetaOrganizationLineTagController.java 查看文件

@@ -0,0 +1,19 @@
package com.ningdatech.pmapi.organization.controller;


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

/**
* <p>
* 前端控制器
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
@Controller
@RequestMapping("/pmapi.organization/meta-organization-line-tag")
public class MetaOrganizationLineTagController {

}

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationTagController.java 查看文件

@@ -18,5 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/api/v1/organization-tag")
public class OrganizationTagController {

// @PostMapping("条线单位")
// private

}

+ 38
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/GovBusinessStrip.java 查看文件

@@ -0,0 +1,38 @@
package com.ningdatech.pmapi.organization.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-03-08
*/
@TableName("gov_business_strip")
@Data
@ApiModel(value = "GovBusinessStrip对象", description = "")
public class GovBusinessStrip implements Serializable {

private static final long serialVersionUID = 1L;

private Long id;

private LocalDateTime createOn;

private LocalDateTime updateOn;

private Long createBy;

private Long updateBy;

private String businessStripCode;

private String businessStripName;
}

+ 109
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/MetaOrganizationLineTag.java 查看文件

@@ -0,0 +1,109 @@
package com.ningdatech.pmapi.organization.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;

/**
* <p>
*
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
@TableName("meta_organization_line_tag")
@ApiModel(value = "MetaOrganizationLineTag对象", description = "")
public class MetaOrganizationLineTag implements Serializable {

private static final long serialVersionUID = 1L;

private Long id;

private LocalDateTime createOn;

private LocalDateTime updateOn;

private Long createBy;

private Long updateBy;

private String lineTagName;

private Long lineTagLevel;

private String lineTagCode;

public Long getId() {
return id;
}

public void setId(Long id) {
this.id = id;
}
public LocalDateTime getCreateOn() {
return createOn;
}

public void setCreateOn(LocalDateTime createOn) {
this.createOn = createOn;
}
public LocalDateTime getUpdateOn() {
return updateOn;
}

public void setUpdateOn(LocalDateTime updateOn) {
this.updateOn = updateOn;
}
public Long getCreateBy() {
return createBy;
}

public void setCreateBy(Long createBy) {
this.createBy = createBy;
}
public Long getUpdateBy() {
return updateBy;
}

public void setUpdateBy(Long updateBy) {
this.updateBy = updateBy;
}
public String getLineTagName() {
return lineTagName;
}

public void setLineTagName(String lineTagName) {
this.lineTagName = lineTagName;
}
public Long getLineTagLevel() {
return lineTagLevel;
}

public void setLineTagLevel(Long lineTagLevel) {
this.lineTagLevel = lineTagLevel;
}
public String getLineTagCode() {
return lineTagCode;
}

public void setLineTagCode(String lineTagCode) {
this.lineTagCode = lineTagCode;
}

@Override
public String toString() {
return "MetaOrganizationLineTag{" +
"id=" + id +
", createOn=" + createOn +
", updateOn=" + updateOn +
", createBy=" + createBy +
", updateBy=" + updateBy +
", lineTagName=" + lineTagName +
", lineTagLevel=" + lineTagLevel +
", lineTagCode=" + lineTagCode +
"}";
}
}

+ 2
- 69
pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/OrganizationTag.java 查看文件

@@ -2,6 +2,7 @@ package com.ningdatech.pmapi.organization.entity;

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

import java.io.Serializable;
import java.time.LocalDateTime;
@@ -15,6 +16,7 @@ import java.time.LocalDateTime;
* @since 2023-03-06
*/
@TableName("organization_tag")
@Data
@ApiModel(value = "OrganizationTag对象", description = "")
public class OrganizationTag implements Serializable {

@@ -33,73 +35,4 @@ public class OrganizationTag implements Serializable {
private String organizationCode;

private String tagCode;

public Long getId() {
return id;
}

public void setId(Long id) {
this.id = id;
}

public LocalDateTime getCreateOn() {
return createOn;
}

public void setCreateOn(LocalDateTime createOn) {
this.createOn = createOn;
}

public LocalDateTime getUpdateOn() {
return updateOn;
}

public void setUpdateOn(LocalDateTime updateOn) {
this.updateOn = updateOn;
}

public Long getCreateBy() {
return createBy;
}

public void setCreateBy(Long createBy) {
this.createBy = createBy;
}

public Long getUpdateBy() {
return updateBy;
}

public void setUpdateBy(Long updateBy) {
this.updateBy = updateBy;
}

public String getOrganizationCode() {
return organizationCode;
}

public void setOrganizationCode(String organizationCode) {
this.organizationCode = organizationCode;
}

public String getTagCode() {
return tagCode;
}

public void setTagCode(String tagCode) {
this.tagCode = tagCode;
}

@Override
public String toString() {
return "OrganizationTag{" +
"id=" + id +
", createOn=" + createOn +
", updateOn=" + updateOn +
", createBy=" + createBy +
", updateBy=" + updateBy +
", organizationCode=" + organizationCode +
", tagCode=" + tagCode +
"}";
}
}

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/helper/LineOrganizationHelper.java 查看文件

@@ -0,0 +1,16 @@
package com.ningdatech.pmapi.organization.helper;

/**
* @author liuxinxin
* @date 2023/3/8 上午9:53
*/

public interface LineOrganizationHelper {

void getLineOrganization();

/**
* 获取上级条线主管单位
*/
void getSuperLineOrganization();
}

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/GovBusinessStripMapper.java 查看文件

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

import com.ningdatech.pmapi.organization.entity.GovBusinessStrip;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* <p>
* Mapper 接口
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
public interface GovBusinessStripMapper extends BaseMapper<GovBusinessStrip> {

}

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/GovBusinessStripMapper.xml 查看文件

@@ -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.organization.mapper.GovBusinessStripMapper">

</mapper>

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/MetaOrganizationLineTagMapper.java 查看文件

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

import com.ningdatech.pmapi.organization.entity.MetaOrganizationLineTag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* <p>
* Mapper 接口
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
public interface MetaOrganizationLineTagMapper extends BaseMapper<MetaOrganizationLineTag> {

}

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/MetaOrganizationLineTagMapper.xml 查看文件

@@ -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.organization.mapper.MetaOrganizationLineTagMapper">

</mapper>

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IGovBusinessStripService.java 查看文件

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

import com.ningdatech.pmapi.organization.entity.GovBusinessStrip;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* <p>
* 服务类
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
public interface IGovBusinessStripService extends IService<GovBusinessStrip> {

}

+ 16
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/service/IMetaOrganizationLineTagService.java 查看文件

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

import com.ningdatech.pmapi.organization.entity.MetaOrganizationLineTag;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* <p>
* 服务类
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
public interface IMetaOrganizationLineTagService extends IService<MetaOrganizationLineTag> {

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/GovBusinessStripServiceImpl.java 查看文件

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

import com.ningdatech.pmapi.organization.entity.GovBusinessStrip;
import com.ningdatech.pmapi.organization.mapper.GovBusinessStripMapper;
import com.ningdatech.pmapi.organization.service.IGovBusinessStripService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
* <p>
* 服务实现类
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
@Service
public class GovBusinessStripServiceImpl extends ServiceImpl<GovBusinessStripMapper, GovBusinessStrip> implements IGovBusinessStripService {

}

+ 20
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/service/impl/MetaOrganizationLineTagServiceImpl.java 查看文件

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

import com.ningdatech.pmapi.organization.entity.MetaOrganizationLineTag;
import com.ningdatech.pmapi.organization.mapper.MetaOrganizationLineTagMapper;
import com.ningdatech.pmapi.organization.service.IMetaOrganizationLineTagService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
* <p>
* 服务实现类
* </p>
*
* @author Liuxinxin
* @since 2023-03-08
*/
@Service
public class MetaOrganizationLineTagServiceImpl extends ServiceImpl<MetaOrganizationLineTagMapper, MetaOrganizationLineTag> implements IMetaOrganizationLineTagService {

}

Loading…
取消
儲存