搜索--查询条件
This commit is contained in:
+2
-2
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//删除英文标题
|
//删除英文标题
|
||||||
|
|||||||
Reference in New Issue
Block a user