Commit 028e0483 by 朱亚洁

feat:[1006339]图书标准服务

parent a3f608cf
......@@ -3155,7 +3155,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
}
//删除图书标准服务中的配置
List<String> typeCodes = ResourcePageConstants.APPLET_DEFAULT_TYPECODES;
resourcePageModelDao.deleteByPageIdAndTypeCode(resourcePageId,typeCodes);
// resourcePageModelDao.deleteByPageIdAndTypeCode(resourcePageId,typeCodes);
}
/**
......@@ -3170,7 +3170,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
return;
}
//书友互助、阅读打卡
/*List<Integer> types = ResourcePageConstants.APPLET_DEFAULT_NAVIGATIONS;
List<Integer> types = ResourcePageConstants.APPLET_DEFAULT_NAVIGATIONS;
Integer maxSeq = resourcePageNavigationDao.getMaxSeq(resourcePageId);
Integer addSeq = 0;
List<ResourcePageNavigation> navigations = new ArrayList<>();
......@@ -3190,9 +3190,9 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
}
if (!ListUtils.isEmpty(navigations)) {
resourcePageNavigationDao.insert(navigations);
}*/
}
//改为在图书标准服务中添加
ThreadPoolUtils.RESOURCE_POOL.execute(()->{
/* ThreadPoolUtils.RESOURCE_POOL.execute(()->{
List<String> typeCodes = ResourcePageConstants.APPLET_DEFAULT_TYPECODES;
List<ResourcePageModel> modelList = new ArrayList<>();
Map<String, AppRaysDTO> raysDTOMap = appConsr.mapRaysAppByType(typeCodes);
......@@ -3213,7 +3213,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
modelList.add(model);
}
resourcePageModelDao.insert(modelList);
});
});*/
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment