能力资源更新infolist

This commit is contained in:
wangliwen 2022-07-13 16:16:58 +08:00
parent 9296dd1ce5
commit c81eb20845
1 changed files with 5 additions and 0 deletions

View File

@ -349,6 +349,11 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
item.setDataResourceId(resourceEntity.getId());
attrDao.insert(item);
});
QueryWrapper<AttrEntity> wrapper = new QueryWrapper<>();
wrapper.eq("data_resource_id", resourceEntity.getId()).eq("del_flag", ResourceEntityDelFlag.NORMAL.getFlag());
attrEntities = attrDao.selectList(wrapper);
resourceEntity.setInfoList(attrEntities);
resourceDao.updateById(resourceEntity);
}
@Override