Commit a4de1a85 by 刘栋

UDI

parent 2bafb3ed
Showing with 0 additions and 31 deletions
...@@ -2,8 +2,6 @@ package com.infynova.udi.enums.task; ...@@ -2,8 +2,6 @@ package com.infynova.udi.enums.task;
import com.infynova.udi.enums.UdiEnum; import com.infynova.udi.enums.UdiEnum;
import java.util.Objects;
/** /**
* 任务状态枚举 * 任务状态枚举
* @author liudong * @author liudong
......
package com.infynova.udi.vo; package com.infynova.udi.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/** /**
* @author liudong * @author liudong
......
package com.infynova.udi.vo; package com.infynova.udi.vo;
import com.infynova.udi.entity.MatchData; import com.infynova.udi.entity.MatchData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
/** /**
......
...@@ -6,7 +6,6 @@ import com.infynova.common.core.exception.SaasException; ...@@ -6,7 +6,6 @@ import com.infynova.common.core.exception.SaasException;
import com.infynova.ucpm.client.OSSServiceClient; import com.infynova.ucpm.client.OSSServiceClient;
import com.infynova.ucpm.vo.request.OSSBatchIdReqVo; import com.infynova.ucpm.vo.request.OSSBatchIdReqVo;
import com.infynova.udi.dto.UdiMatchTaskFileDto; import com.infynova.udi.dto.UdiMatchTaskFileDto;
import com.infynova.udi.exception.UdiCodeException;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.CollectionUtils;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
......
package com.infynova.udi.service; package com.infynova.udi.service;
import com.infynova.udi.dto.ImportItemResp; import com.infynova.udi.dto.ImportItemResp;
import com.infynova.udi.vo.TaskUdiExcelExportVo;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import java.io.IOException; import java.io.IOException;
import java.util.List;
/** /**
* @author liudong * @author liudong
......
...@@ -9,12 +9,9 @@ import org.apache.http.HttpHost; ...@@ -9,12 +9,9 @@ import org.apache.http.HttpHost;
import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest; import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest;
import org.elasticsearch.action.bulk.BulkRequest; import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse; import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.delete.DeleteRequest;
import org.elasticsearch.action.delete.DeleteResponse;
import org.elasticsearch.action.get.GetRequest; import org.elasticsearch.action.get.GetRequest;
import org.elasticsearch.action.get.GetResponse; import org.elasticsearch.action.get.GetResponse;
import org.elasticsearch.action.index.IndexRequest; import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.action.index.IndexResponse;
import org.elasticsearch.action.support.master.AcknowledgedResponse; import org.elasticsearch.action.support.master.AcknowledgedResponse;
import org.elasticsearch.action.update.UpdateRequest; import org.elasticsearch.action.update.UpdateRequest;
import org.elasticsearch.action.update.UpdateResponse; import org.elasticsearch.action.update.UpdateResponse;
...@@ -23,15 +20,12 @@ import org.elasticsearch.client.RestClient; ...@@ -23,15 +20,12 @@ import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClient; import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.client.indices.CreateIndexRequest; import org.elasticsearch.client.indices.CreateIndexRequest;
import org.elasticsearch.client.indices.CreateIndexResponse; import org.elasticsearch.client.indices.CreateIndexResponse;
import org.elasticsearch.client.indices.GetIndexRequest;
import org.elasticsearch.client.indices.GetIndexResponse;
import org.elasticsearch.common.xcontent.XContentType; import org.elasticsearch.common.xcontent.XContentType;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.util.StopWatch; import org.springframework.util.StopWatch;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.infynova.udi.service.helper; package com.infynova.udi.service.helper;
import com.alibaba.fastjson.JSONObject;
import com.infynova.udi.dto.UdiQueryDto;
import com.infynova.udi.vo.UdiVo; import com.infynova.udi.vo.UdiVo;
import io.redisearch.AggregationResult;
import io.redisearch.Document; import io.redisearch.Document;
import io.redisearch.aggregation.AggregationBuilder;
import io.redisearch.aggregation.SortedField;
import io.redisearch.client.Client; import io.redisearch.client.Client;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import io.redisearch.Query; import io.redisearch.Query;
import io.redisearch.SearchResult; import io.redisearch.SearchResult;
import redis.clients.jedis.Jedis;
import javax.annotation.Resource;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
......
package com.infynova.udi.service.helper; package com.infynova.udi.service.helper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.infynova.udi.dto.UdiListQry;
import com.infynova.udi.entity.Udi;
import com.infynova.udi.mapper.UdiMapper; import com.infynova.udi.mapper.UdiMapper;
import com.infynova.udi.service.UdiService;
import com.infynova.udi.vo.UdiVo; import com.infynova.udi.vo.UdiVo;
import io.redisearch.Document; import io.redisearch.Document;
import io.redisearch.Schema; import io.redisearch.Schema;
...@@ -16,7 +12,6 @@ import org.apache.commons.collections4.CollectionUtils; ...@@ -16,7 +12,6 @@ import org.apache.commons.collections4.CollectionUtils;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.util.StopWatch; import org.springframework.util.StopWatch;
import javax.annotation.PostConstruct;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
......
package com.infynova.udi.service.helper; package com.infynova.udi.service.helper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.infynova.udi.entity.Task; import com.infynova.udi.entity.Task;
import com.infynova.udi.entity.TaskRecord; import com.infynova.udi.entity.TaskRecord;
import com.infynova.udi.enums.UdiEnumUtils; import com.infynova.udi.enums.UdiEnumUtils;
...@@ -13,7 +12,6 @@ import com.infynova.udi.mapper.TaskMapper; ...@@ -13,7 +12,6 @@ import com.infynova.udi.mapper.TaskMapper;
import com.infynova.udi.mapper.TaskRecordMapper; import com.infynova.udi.mapper.TaskRecordMapper;
import com.infynova.udi.vo.TaskVo; import com.infynova.udi.vo.TaskVo;
import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
......
...@@ -2,7 +2,6 @@ package com.infynova.udi.service.scheduled; ...@@ -2,7 +2,6 @@ package com.infynova.udi.service.scheduled;
import cn.hutool.core.date.LocalDateTimeUtil; import cn.hutool.core.date.LocalDateTimeUtil;
import com.infynova.udi.service.helper.MatchHelper; import com.infynova.udi.service.helper.MatchHelper;
import com.infynova.udi.service.helper.TaskUploadHelper;
import com.infynova.udi.service.properties.UdiProperties; import com.infynova.udi.service.properties.UdiProperties;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled; import org.springframework.scheduling.annotation.Scheduled;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment