数据上传接口调整

pro
wj 2 years ago
parent b0683426dc
commit 7efba33fc0

@ -341,10 +341,10 @@ public class SpsSyncDownloadController {
JSONObject obj = JSONUtil.parseObj(upLoadRequest.getData()); JSONObject obj = JSONUtil.parseObj(upLoadRequest.getData());
switch (upLoadRequest.getExportType()) { switch (upLoadRequest.getExportType()) {
case BASIC_DATA: case BASIC_DATA:
saveUploadBasicData(JSONUtil.toBean(obj, SpsSyncBasicDataResponse.class)); // saveUploadBasicData(JSONUtil.toBean(obj, SpsSyncBasicDataResponse.class));
break; break;
case OTHER_DATA: case OTHER_DATA:
saveUploadOtherData(JSONUtil.toBean(obj, SpsSyncOtherDataResponse.class)); // saveUploadOtherData(JSONUtil.toBean(obj, SpsSyncOtherDataResponse.class));
break; break;
case DOCUMENT_TYPE_DATA: case DOCUMENT_TYPE_DATA:
saveUploadDocumentTypeData(JSONUtil.toBean(obj, SpsSyncBusResponse.class)); saveUploadDocumentTypeData(JSONUtil.toBean(obj, SpsSyncBusResponse.class));

Loading…
Cancel
Save