# data-extraction-tool **Repository Path**: lursxu/data-extraction-tool ## Basic Information - **Project Name**: data-extraction-tool - **Description**: 特征指标提取工具 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-29 - **Last Updated**: 2024-09-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1. 任务配置 | 配置项 | 配置注释 | 备注 | | ---------- | -------------------- | -------------------------------------- | | task_id | 任务ID | | | task_name | 任务名称 | | | task_type | 任务类型 | 暂无功能 | | cron | 任务执行时间 | 采用quartz任务时间格式 | | params | 任务参数 | 目前只支持sql,sql查询结果作为业务参数 | | param_type | 参数类型 | 暂无功能 | | thread_num | 线程数 | 配置任务执行的线程数 | | is_enable | 是否启动 0:否 1:是 | 配置值1任务有效 | params 参数示例:select etps_id as entity_id,company_name as entity_name from company_info 2. 任务子执行器配置 | 配置项 | 配置注释 | 备注 | | ----------- | -------------------- | ----------------------------------------------------- | | task_id | 所属任务 | | | command | 执行命令 | 这里填写执行的sql | | group_name | 任务所属组名 | 这里作为指定指标产出的表名 | | name | 执行器名 | 这里作为指定的字段名 | | return_type | 执行器返回数据类型 | 目前只支持单个数据的结果,可配置Integer,Double,String | | is_enable | 是否有效 0:否 1:是 | 配置值1代表执行器有效 | command 参数示例:select count(1) from tableName where id = #{entity_id} 这里注意配置动态参数格式entity指任务表参数配置项中查询的结果 3. 项目目前没有页面配置任务信息,故采用人工数据库配置,相应的没有任务变动的触发器,所以配置完任务后需要重启下程序