@@ -1,6 +1,10 @@ | |||||
package com.ningdatech.pmapi.ding.task; | 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.stereotype.Component; | ||||
import org.springframework.transaction.annotation.Transactional; | |||||
/** | /** | ||||
* @author liuxinxin | * @author liuxinxin | ||||
@@ -14,6 +18,14 @@ public class GovBusinessStripsTask { | |||||
private final static Integer GROUP_SIZE = 100; | private final static Integer GROUP_SIZE = 100; | ||||
@Autowired | |||||
private ZwddClient zwddClient; | |||||
private IGovBusinessStripService iGovBusinessStripService; | |||||
@Transactional(rollbackFor = Exception.class) | |||||
public void batchGetGovBusinessStripsTask() { | |||||
} | |||||
} | } |
@@ -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; | |||||
/** | |||||
* <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 + | |||||
"}"; | |||||
} | |||||
} |
@@ -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; | |||||
/** | |||||
* <p> | |||||
* | |||||
* </p> | |||||
* | |||||
* @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; | |||||
} |
@@ -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(); | |||||
} |
@@ -1,16 +0,0 @@ | |||||
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> { | |||||
} |
@@ -1,5 +0,0 @@ | |||||
<?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> |
@@ -1,16 +0,0 @@ | |||||
package com.ningdatech.pmapi.organization.mapper; | |||||
import com.ningdatech.pmapi.organization.entity.OrganizationTag; | |||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; | |||||
/** | |||||
* <p> | |||||
* Mapper 接口 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-03-06 | |||||
*/ | |||||
public interface OrganizationTagMapper extends BaseMapper<OrganizationTag> { | |||||
} |
@@ -1,5 +0,0 @@ | |||||
<?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.OrganizationTagMapper"> | |||||
</mapper> |
@@ -1,16 +0,0 @@ | |||||
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> { | |||||
} |
@@ -1,16 +0,0 @@ | |||||
package com.ningdatech.pmapi.organization.service; | |||||
import com.ningdatech.pmapi.organization.entity.OrganizationTag; | |||||
import com.baomidou.mybatisplus.extension.service.IService; | |||||
/** | |||||
* <p> | |||||
* 服务类 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-03-06 | |||||
*/ | |||||
public interface IOrganizationTagService extends IService<OrganizationTag> { | |||||
} |
@@ -1,20 +0,0 @@ | |||||
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 { | |||||
} |
@@ -1,20 +0,0 @@ | |||||
package com.ningdatech.pmapi.organization.service.impl; | |||||
import com.ningdatech.pmapi.organization.entity.OrganizationTag; | |||||
import com.ningdatech.pmapi.organization.mapper.OrganizationTagMapper; | |||||
import com.ningdatech.pmapi.organization.service.IOrganizationTagService; | |||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | |||||
import org.springframework.stereotype.Service; | |||||
/** | |||||
* <p> | |||||
* 服务实现类 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-03-06 | |||||
*/ | |||||
@Service | |||||
public class OrganizationTagServiceImpl extends ServiceImpl<OrganizationTagMapper, OrganizationTag> implements IOrganizationTagService { | |||||
} |