parent
cd016429b7
commit
a9d88bc1ad
@ -863,8 +863,8 @@ public class CommonServiceImpl implements CommonService {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Attachment,插入更新时把Name中的/替换为-
|
||||
if ("Attachment".equals(one.getName()) && "Name".equals(key)){
|
||||
// Document,Attachment,插入更新时把Name中的/替换为-
|
||||
if (("Document".equals(one.getName()) || "Attachment".equals(one.getName())) && "Name".equals(key)){
|
||||
String name = StringUtils.replace(String.valueOf(jsonObject.get("Name")), "/", "-");
|
||||
Map<String, Object> paramMap = Maps.newHashMap();
|
||||
paramMap.put("key", "Name");
|
||||
|
||||
@ -1064,7 +1064,7 @@ public class DataImportBatchServiceImpl implements DataImportBatchService {
|
||||
TimeUnit.MILLISECONDS.sleep(1);
|
||||
QueryWrapper<DataObject> obQw = new QueryWrapper<>();
|
||||
dbQw.eq("api", api);
|
||||
DataObject dataObject = dataObjectService.getOne(obQw);
|
||||
DataObject dataObject = dataObjectService.list(obQw).get(0);
|
||||
|
||||
String beginDateStr = null;
|
||||
String endDateStr = null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user