|
|
|
@ -1,15 +1,14 @@
|
|
|
|
|
package com.glxp.sale.admin.controller.sync;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.alibaba.fastjson.TypeReference;
|
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
|
import com.glxp.sale.admin.constant.*;
|
|
|
|
|
import com.glxp.sale.admin.dto.RelaySyncDto;
|
|
|
|
|
import com.glxp.sale.admin.entity.param.SystemParamConfigEntity;
|
|
|
|
|
import com.glxp.sale.admin.entity.sync.*;
|
|
|
|
|
import com.glxp.sale.admin.entity.sync.BasicExportStatusEntity;
|
|
|
|
|
import com.glxp.sale.admin.entity.sync.BasicUploadStatusEntity;
|
|
|
|
|
import com.glxp.sale.admin.http.SpGetHttp;
|
|
|
|
|
import com.glxp.sale.admin.http.SpPostHttp;
|
|
|
|
|
import com.glxp.sale.admin.idc.utils.UriUtils;
|
|
|
|
@ -257,7 +256,7 @@ public class SpsSyncDataController {
|
|
|
|
|
throw new RuntimeException("系统异常,文件名为空");
|
|
|
|
|
}
|
|
|
|
|
relaySyncResponse = RelaySyncResponse.builder()
|
|
|
|
|
.taskId(one.getId())
|
|
|
|
|
.taskId(one.getTaskId())
|
|
|
|
|
.fileContent(this.readDataFile(one.getCacheFilePath()))
|
|
|
|
|
.build();
|
|
|
|
|
}
|
|
|
|
|