399400401402403404405406407408409
int deep = 0; do{ if(parent == null) break; deep ++; parent.incPhotoCount(-1); parent = parent.getParent(); }while(deep < 10);//������ʮ���ಾ //ɾ����ǩ TagDAO.deleteTagByRefId(photo.getId(), TagBean.TYPE_PHOTO);
460461462463464465466467468469470
int deep = 0; do{ if(parent == null) break; deep ++; parent.incPhotoCount(1); parent = parent.getParent(); }while(deep < 10);//������ʮ���ಾ //�ľ��ಾ����Ƭ������һ�� parent = photo.getAlbum();
471472473474475476477478479480481
deep = 0; do{ if(parent == null) break; deep ++; parent.incPhotoCount(-1); parent = parent.getParent(); }while(deep < 10);//������ʮ���ಾ photo.setAlbum(new_album); }
562563564565566567568569570571572
int deep = 0; do{ if(parent == null) break; deep ++; parent.incPhotoCount(1); parent = parent.getParent(); }while(deep < 10);//������ʮ���ಾ photo.getUser().getCount().incPhotoCount(1);