예제 #1
0
        public virtual List <IBinderValue> GetMyNew(int count, int userId)
        {
            if (count < 0)
            {
                count = 10;
            }
            List <PhotoPost> posts = db.find <PhotoPost>("Creator.Id=" + userId + " and AppId>0 and SaveStatus=" + SaveStatus.Normal).list(count);

            return(SysPhotoService.populatePhoto(posts));
        }
예제 #2
0
 public virtual List <IBinderValue> GetMyNew(int count, int userId)
 {
     return(SysPhotoService.populatePhoto(GetNew(userId, count)));
 }