update
This commit is contained in:
-1
@@ -116,7 +116,6 @@ public class LawsOpinionGatherEOServiceImpl extends ServiceImpl<LawsOpinionGathe
|
|||||||
@Override
|
@Override
|
||||||
public void deleteByIds(List<String> ids,String cut) {
|
public void deleteByIds(List<String> ids,String cut) {
|
||||||
QueryWrapper<LawsOpinionGatherEO> lawsOpinionGatherEOQueryWrapper = new QueryWrapper<>();
|
QueryWrapper<LawsOpinionGatherEO> lawsOpinionGatherEOQueryWrapper = new QueryWrapper<>();
|
||||||
lawsOpinionGatherEOQueryWrapper.lambda().eq(LawsOpinionGatherEO::getGatherResult, GatherResultEnum.UNDERWAY.getValue());
|
|
||||||
lawsOpinionGatherEOQueryWrapper.lambda().in(LawsOpinionGatherEO::getId, ids);
|
lawsOpinionGatherEOQueryWrapper.lambda().in(LawsOpinionGatherEO::getId, ids);
|
||||||
List<LawsOpinionGatherEO> lawsOpinionGatherEOList = this.list(lawsOpinionGatherEOQueryWrapper);
|
List<LawsOpinionGatherEO> lawsOpinionGatherEOList = this.list(lawsOpinionGatherEOQueryWrapper);
|
||||||
|
|
||||||
|
|||||||
+4
-2
@@ -576,13 +576,15 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//如果value中包含英文单、双引号,替换成中文的。 英文的符号影响到法规技术评估流程了。
|
//如果value中包含英文单、双引号,替换成中文的。 英文的符号影响到法规技术评估流程了。
|
||||||
if(StringUtils.contains((String)entry.getValue(),"'") || StringUtils.contains((String)entry.getValue(),"\"")){
|
if(entry.getValue() != null){
|
||||||
|
if(StringUtils.contains(entry.getValue().toString(),"'") || StringUtils.contains(entry.getValue().toString(),"\"")){
|
||||||
String key = entry.getKey();
|
String key = entry.getKey();
|
||||||
String value = ((String) entry.getValue()).replaceAll("'", "‘").replaceAll("\"", "”");
|
String value = entry.getValue().toString().replaceAll("'", "‘").replaceAll("\"", "”");
|
||||||
record1.put(key,value);
|
record1.put(key,value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// 拼接文件名
|
// 拼接文件名
|
||||||
if(fileIdList.size() != 0){
|
if(fileIdList.size() != 0){
|
||||||
List<OSSFile> fileInfos = ossFileService.getFileInfos(StringUtils.join(fileIdList, ","));
|
List<OSSFile> fileInfos = ossFileService.getFileInfos(StringUtils.join(fileIdList, ","));
|
||||||
|
|||||||
Reference in New Issue
Block a user