Merge remote-tracking branch 'origin/master'

master
anthonywj 2 years ago
commit e0a7fb9e87

@ -356,23 +356,6 @@ public class SpsSyncDataController {
basicUploadService.insertDownloadStatus(basicUploadStatusEntity);
}
@Async
public void writeDownloadLog(String taskId, String content, BasicExportTypeEnum exportType) {
String key = gennerOrderUtils.getOrders();
BasicExportStatusEntity myEntity = new BasicExportStatusEntity();
myEntity.setId(key);
myEntity.setUpdateTime(new Date());
myEntity.setType(exportType.getRemark());
myEntity.setIdDatas(exportType.getKey());
myEntity.setStartTime(DateUtil.getDateTime());
myEntity.setTaskId(taskId);
myEntity.setStatus(Constant.SYNC_STATUS_WAIT);
basicExportService.insertExportStatus(myEntity);
FileUtils.makeDirectory(filePath + "download/");
String fileName = filePath + "/download/" + BasicProcessStatus.NEW_ALL_ORDER + "-" + taskId + ".udi";
FileUtils.SaveFileAs(content, fileName);
}
public String changeUri(String uri) {
String isTopService = systemParamConfigService.selectValueByParamKey("is_top_service");
if (StrUtil.isNotEmpty(isTopService) && isTopService.equals("1")) {

Loading…
Cancel
Save