@@ -56,7 +56,7 @@ public class GeneratorCodeKingbaseConfig { | |||||
} | } | ||||
public static void main(String[] args) { | public static void main(String[] args) { | ||||
generate("Liuxinxin", "expert", PATH_LXX, "expert_sensitive_info_modify_detail_record"); | |||||
generate("Liuxinxin", "expert", PATH_LXX, "expert_gov_business_strip"); | |||||
} | } | ||||
} | } |
@@ -57,7 +57,6 @@ public class EmployeeBatchGetTask { | |||||
@Transactional(rollbackFor = Exception.class) | @Transactional(rollbackFor = Exception.class) | ||||
public void batchGetEmployeeTask() { | public void batchGetEmployeeTask() { | ||||
// 获取所有的组织列表用户获取组织下的 用户信息 | // 获取所有的组织列表用户获取组织下的 用户信息 | ||||
List<DingOrganization> dingOrganizationList = iDingOrganizationService.list(); | List<DingOrganization> dingOrganizationList = iDingOrganizationService.list(); | ||||
if (CollUtil.isNotEmpty(dingOrganizationList)) { | if (CollUtil.isNotEmpty(dingOrganizationList)) { | ||||
@@ -0,0 +1,31 @@ | |||||
package com.ningdatech.pmapi.expert.entity; | |||||
import com.baomidou.mybatisplus.annotation.TableName; | |||||
import io.swagger.annotations.ApiModel; | |||||
import lombok.Data; | |||||
import java.io.Serializable; | |||||
/** | |||||
* <p> | |||||
* | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-04-17 | |||||
*/ | |||||
@TableName("expert_gov_business_strip") | |||||
@Data | |||||
@ApiModel(value = "ExpertGovBusinessStrip对象", description = "") | |||||
public class ExpertGovBusinessStrip implements Serializable { | |||||
private static final long serialVersionUID = 1L; | |||||
private Long id; | |||||
private String businessStripCode; | |||||
private String businessStripName; | |||||
private Long expertUserId; | |||||
} |
@@ -0,0 +1,16 @@ | |||||
package com.ningdatech.pmapi.expert.mapper; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertGovBusinessStrip; | |||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; | |||||
/** | |||||
* <p> | |||||
* Mapper 接口 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-04-17 | |||||
*/ | |||||
public interface ExpertGovBusinessStripMapper extends BaseMapper<ExpertGovBusinessStrip> { | |||||
} |
@@ -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.expert.mapper.ExpertGovBusinessStripMapper"> | |||||
</mapper> |
@@ -0,0 +1,16 @@ | |||||
package com.ningdatech.pmapi.expert.service; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertGovBusinessStrip; | |||||
import com.baomidou.mybatisplus.extension.service.IService; | |||||
/** | |||||
* <p> | |||||
* 服务类 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-04-17 | |||||
*/ | |||||
public interface IExpertGovBusinessStripService extends IService<ExpertGovBusinessStrip> { | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ningdatech.pmapi.expert.service.impl; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertGovBusinessStrip; | |||||
import com.ningdatech.pmapi.expert.mapper.ExpertGovBusinessStripMapper; | |||||
import com.ningdatech.pmapi.expert.service.IExpertGovBusinessStripService; | |||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | |||||
import org.springframework.stereotype.Service; | |||||
/** | |||||
* <p> | |||||
* 服务实现类 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-04-17 | |||||
*/ | |||||
@Service | |||||
public class ExpertGovBusinessStripServiceImpl extends ServiceImpl<ExpertGovBusinessStripMapper, ExpertGovBusinessStrip> implements IExpertGovBusinessStripService { | |||||
} |
@@ -4,8 +4,6 @@ import com.ningdatech.pmapi.AppTests; | |||||
import com.ningdatech.pmapi.ding.task.EmployeeBatchGetTask; | import com.ningdatech.pmapi.ding.task.EmployeeBatchGetTask; | ||||
import com.ningdatech.pmapi.ding.task.GovBusinessStripsTask; | import com.ningdatech.pmapi.ding.task.GovBusinessStripsTask; | ||||
import com.ningdatech.pmapi.ding.task.OrganizationBatchGetTask; | import com.ningdatech.pmapi.ding.task.OrganizationBatchGetTask; | ||||
import com.ningdatech.zwdd.client.ZwddAuthClient; | |||||
import com.ningdatech.zwdd.client.ZwddClient; | |||||
import org.junit.jupiter.api.Test; | import org.junit.jupiter.api.Test; | ||||
import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
@@ -17,12 +15,6 @@ import org.springframework.beans.factory.annotation.Autowired; | |||||
class OrganizationTest extends AppTests { | class OrganizationTest extends AppTests { | ||||
@Autowired | @Autowired | ||||
private ZwddClient zwddClient; | |||||
@Autowired | |||||
private ZwddAuthClient zwddAuthClient; | |||||
@Autowired | |||||
private OrganizationBatchGetTask organizationBatchGetTask; | private OrganizationBatchGetTask organizationBatchGetTask; | ||||
@Autowired | @Autowired | ||||