...
This commit is contained in:
parent
c81eb20845
commit
91355094ee
|
@ -338,6 +338,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
public void updateWithAttrs(ResourceDTO dto) {
|
||||
ResourceEntity resourceEntity = new ResourceEntity();
|
||||
BeanUtils.copyProperties(dto, resourceEntity);
|
||||
resourceEntity.setUpdateDate(new Date());
|
||||
resourceDao.updateById(resourceEntity);
|
||||
ArrayList<Long> list = new ArrayList<>();
|
||||
list.add(resourceEntity.getId());
|
||||
|
|
Loading…
Reference in New Issue