diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/ding/task/GovBusinessStripsTask.java b/pmapi/src/main/java/com/ningdatech/pmapi/ding/task/GovBusinessStripsTask.java index 9aa9b05..69050ee 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/ding/task/GovBusinessStripsTask.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/ding/task/GovBusinessStripsTask.java @@ -1,6 +1,10 @@ package com.ningdatech.pmapi.ding.task; +import com.ningdatech.pmapi.organization.service.IGovBusinessStripService; +import com.ningdatech.zwdd.client.ZwddClient; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; /** * @author liuxinxin @@ -14,6 +18,14 @@ public class GovBusinessStripsTask { private final static Integer GROUP_SIZE = 100; + @Autowired + private ZwddClient zwddClient; + private IGovBusinessStripService iGovBusinessStripService; + + @Transactional(rollbackFor = Exception.class) + public void batchGetGovBusinessStripsTask() { + + } } diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/MetaOrganizationLineTag.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/MetaOrganizationLineTag.java deleted file mode 100644 index a98efe0..0000000 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/MetaOrganizationLineTag.java +++ /dev/null @@ -1,109 +0,0 @@ -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; - -/** - *
- * - *
- * - * @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 + - "}"; - } -} diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/OrganizationTag.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/OrganizationTag.java deleted file mode 100644 index 17c9dc5..0000000 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/entity/OrganizationTag.java +++ /dev/null @@ -1,38 +0,0 @@ -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; - -/** - *- * - *
- * - * @author Liuxinxin - * @since 2023-03-06 - */ -@TableName("organization_tag") -@Data -@ApiModel(value = "OrganizationTag对象", description = "") -public class OrganizationTag 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 organizationCode; - - private String tagCode; -} diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/helper/LineOrganizationHelper.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/helper/LineOrganizationHelper.java deleted file mode 100644 index f129136..0000000 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/helper/LineOrganizationHelper.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.ningdatech.pmapi.organization.helper; - -/** - * @author liuxinxin - * @date 2023/3/8 上午9:53 - */ - -public interface LineOrganizationHelper { - - void getLineOrganization(); - - /** - * 获取上级条线主管单位 - */ - void getSuperLineOrganization(); -} diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/MetaOrganizationLineTagMapper.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/MetaOrganizationLineTagMapper.java deleted file mode 100644 index 2006b3c..0000000 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/mapper/MetaOrganizationLineTagMapper.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.ningdatech.pmapi.organization.mapper; - -import com.ningdatech.pmapi.organization.entity.MetaOrganizationLineTag; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; - -/** - *- * Mapper 接口 - *
- * - * @author Liuxinxin - * @since 2023-03-08 - */ -public interface MetaOrganizationLineTagMapper extends BaseMapper- * Mapper 接口 - *
- * - * @author Liuxinxin - * @since 2023-03-06 - */ -public interface OrganizationTagMapper extends BaseMapper- * 服务类 - *
- * - * @author Liuxinxin - * @since 2023-03-08 - */ -public interface IMetaOrganizationLineTagService extends IService- * 服务类 - *
- * - * @author Liuxinxin - * @since 2023-03-06 - */ -public interface IOrganizationTagService extends IService- * 服务实现类 - *
- * - * @author Liuxinxin - * @since 2023-03-08 - */ -@Service -public class MetaOrganizationLineTagServiceImpl extends ServiceImpl- * 服务实现类 - *
- * - * @author Liuxinxin - * @since 2023-03-06 - */ -@Service -public class OrganizationTagServiceImpl extends ServiceImpl