搜索--查询条件

This commit is contained in:
zhn
2022-04-26 14:49:46 +08:00
parent 53256ddd4e
commit d38e6b0a39
@@ -72,14 +72,14 @@ public class DocumentSearchServiceImpl implements IDocumentSearchService {
List<Map<String, Object>> mapList = iBussDocumentLibraryEOService.queryCondition(flag, cut, searchFlag); List<Map<String, Object>> mapList = iBussDocumentLibraryEOService.queryCondition(flag, cut, searchFlag);
//搜索条件手动添加正文 //搜索条件手动添加正文
if ("1".equals(searchFlag)) { if ("1".equals(searchFlag)) {
int index = -2; int index = -1;
for (Map<String, Object> objectMap : mapList) { for (Map<String, Object> objectMap : mapList) {
index++; index++;
if ("中文标题".equals(objectMap.get("db_field_txt"))) { if ("中文标题".equals(objectMap.get("db_field_txt"))) {
objectMap.put("db_field_txt", "标题"); objectMap.put("db_field_txt", "标题");
} }
if ("title_en".equals(objectMap.get("db_field_name"))) { if ("title_en".equals(objectMap.get("db_field_name"))) {
index++; break;
} }
} }
//删除英文标题 //删除英文标题