parent
8628a34b1e
commit
8b51c0f378
|
@ -27,6 +27,7 @@ import io.renren.modules.resource.service.impl.ResourceServiceImpl;
|
|||
import io.renren.modules.resourceCollection.dao.ResourceCollectionDao;
|
||||
import io.renren.modules.security.user.SecurityUser;
|
||||
import io.renren.modules.sys.service.SysDeptService;
|
||||
import org.apache.commons.lang3.ObjectUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
|
@ -179,7 +180,7 @@ public class TbFuseServiceImpl extends CrudServiceImpl<TbFuseDao, TbFuseEntity,
|
|||
QueryWrapper wrapper = new QueryWrapper();
|
||||
wrapper.eq("fuse_id", fuseId);
|
||||
List<TbFuseResourceEntity> list = fuseResourceDao.selectList(wrapper);
|
||||
list.stream().collect(Collectors.groupingBy(TbFuseResourceEntity::getType)).forEach((type, value) -> {
|
||||
list.stream().filter(index -> index.getType() != null).collect(Collectors.groupingBy(TbFuseResourceEntity::getType)).forEach((type, value) -> {
|
||||
if ("组件服务".equals(type)) {
|
||||
result.addAll(value.stream().map(attr -> {
|
||||
TbFuseResourceDTO dto = new TbFuseResourceDTO();
|
||||
|
|
|
@ -61,7 +61,7 @@ spring:
|
|||
out-of-order: true
|
||||
#上传的静态资源配置
|
||||
resource:
|
||||
root_url: 15.2.21.238
|
||||
root_url: 192.168.124.236
|
||||
pic-host: http://${resource.root_url}:${server.port}${server.servlet.context-path}
|
||||
path: /home/yth/files/
|
||||
devModelFilePath: /home/yth/files/devModelFile
|
||||
|
|
|
@ -52,7 +52,7 @@ spring:
|
|||
|
||||
#上传的静态资源配置
|
||||
resource:
|
||||
root_url: 15.2.21.238
|
||||
root_url: 192.168.124.236
|
||||
path: /home/yth/files/
|
||||
devModelFilePath: /home/yth/files/devModelFile
|
||||
# 大数据部门相关配置
|
||||
|
|
|
@ -37,7 +37,7 @@ spring:
|
|||
|
||||
#上传的静态资源配置
|
||||
resource:
|
||||
root_url: 15.2.21.238
|
||||
root_url: 192.168.124.243
|
||||
path: /home/yth/files/
|
||||
devModelFilePath: /home/yth/files/devModelFile
|
||||
# 大数据部门相关配置
|
||||
|
|
Loading…
Reference in New Issue