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);
|
||||||
|
|
||||||
|
|||||||
+6
-4
@@ -576,10 +576,12 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//如果value中包含英文单、双引号,替换成中文的。 英文的符号影响到法规技术评估流程了。
|
//如果value中包含英文单、双引号,替换成中文的。 英文的符号影响到法规技术评估流程了。
|
||||||
if(StringUtils.contains((String)entry.getValue(),"'") || StringUtils.contains((String)entry.getValue(),"\"")){
|
if(entry.getValue() != null){
|
||||||
String key = entry.getKey();
|
if(StringUtils.contains(entry.getValue().toString(),"'") || StringUtils.contains(entry.getValue().toString(),"\"")){
|
||||||
String value = ((String) entry.getValue()).replaceAll("'", "‘").replaceAll("\"", "”");
|
String key = entry.getKey();
|
||||||
record1.put(key,value);
|
String value = entry.getValue().toString().replaceAll("'", "‘").replaceAll("\"", "”");
|
||||||
|
record1.put(key,value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user