@Override
 public Integer deleteResourceById(Integer id) {
   return resourceMapper.deleteByPrimaryKey(id);
 }