返回改为taskId

test^2
wj 2 years ago
parent 6ad32b2933
commit 2314e8076b

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

Loading…
Cancel
Save