// 模糊搜索剧情文本 @PostMapping(value="/search/") public Result searchPlotText(@RequestParam Map searchForm) { String searchText = (String)searchForm.get("searchText"); Long categoryId = new Long((String)searchForm.get("categoryId")); List plots = plotDao.getAllPlotByCategoryId(categoryId); List plotFirstVos = new ArrayList(); for(int i=0; i plotBranchRelates = plotBranchRelateDao.getAllPlotBranchRelateByBranchId(id); for(int z=0; z plotBranchs = plotBranchDao.getAllBranchByPlotId(plotId); for(int j=0; j plotBranchRelates = plotBranchRelateDao.getAllUpdatePlace(placeId.toString()); for(int i=0; i goodsInstances = goodsInstanceDao.getAllByClassId(id); for(int i=0; i goodsInstanceAttrs = goodsInstanceAttrDao.getAllByClassAttrId(classAttrId); for(int i=0;i goodsInstanceAttrs = goodsInstanceAttrDao.getAllByClassAttrId(goodsClassId); for(int j=0; j goodsInstances = goodsInstanceDao.getAllByClassId(classId); for(int j=0; j plotBranchRelates = plotBranchRelateDao.getAllByInstanceId(goodsInstanceId, new Integer(0)); for(int i=0; i plotBranchRelates = plotBranchRelateDao.getAllByInstanceId(goodsInstanceId, new Integer(1)); for(int i=0; i npcInstances = npcInstanceDao.getAllByNpcClassId(npcClassId); for(int i=0; i npcInstanceAttrs = npcInstanceAttrDao.getAllByClassAttrId(classAttrId); for(int i=0; i npcInstanceAttrs = npcInstanceAttrDao.getAllByClassAttrId(npcClassId); for(int j=0; j npcInstances = npcInstanceDao.getAllByNpcClassId(classId); for(int j=0; j npcClassAttrVos) { // 获取npc class attr 数据 List npcClassAttrs = npcClassAttrDao.getAllByNpcClassId(classId); // 整理数据为collection数据 List npcClassAttrIds = new ArrayList(); for(int i=0; i npcClassAttrVoIds = new ArrayList(); for(int i=0; i plotBranchRelates = plotBranchRelateDao.getAllByInstanceId(npcInstanceId, new Integer(1)); for(int i=0; i plotBranchRelates = plotBranchRelateDao.getAllByInstanceId(npcInstanceId, new Integer(1)); for(int i=0; i plotBranchRelates = plotBranchRelateDao.getAllPlotBranchRelateByBranchId(id); for(int z=0; z goodsClasss = goodsClassDao.getAllByProjectId(id); for(int i=0; i NpcClasss = npcClassDao.getAllByProjectId(id); for(int i=0; i plotCategorys = plotCategoryDao.getAllByGameProjectId(id); for(int i=0; i goodsClasss = goodsClassDao.getAllByProjectId(id); for(int i=0; i NpcClasss = npcClassDao.getAllByProjectId(id); for(int i=0; i plotCategorys = plotCategoryDao.getAllByGameProjectId(id); for(int i=0; i