能力资源更新infolist
This commit is contained in:
parent
9296dd1ce5
commit
c81eb20845
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue