|
|
@@ -119,13 +119,10 @@
|
|
|
if (fetchedNoticeList && fetchedNoticeList.noticeList &&
|
|
|
fetchedNoticeList.noticeList.count) { //API 성공 ,
|
|
|
|
|
|
- NSLog(@"_pagingType : %@", _pagingType);
|
|
|
- NSLog(@"_pagingId : %@",_pagingId);
|
|
|
- NSLog(@"_paging noticeReadTime : %@ ",[JDFacade facade].loginUser.noticeReadTime);
|
|
|
- NSIndexSet *indexSet = [NSIndexSet indexSetWithIndex:0];
|
|
|
+// NSIndexSet *indexSet = [NSIndexSet indexSetWithIndex:0];
|
|
|
|
|
|
if (_pagingType && [_pagingType isEqualToString:ksListPagingTypeUpward]) {
|
|
|
- [_noticeList insertObjects:fetchedNoticeList.noticeList atIndexes:indexSet];
|
|
|
+// [_noticeList insertObjects:fetchedNoticeList.noticeList atIndexes:indexSet];
|
|
|
} else {
|
|
|
[_noticeList addObjectsFromArray:fetchedNoticeList.noticeList];
|
|
|
|
|
|
@@ -216,8 +213,7 @@
|
|
|
cell.imgvStatus.image = isNew ? [UIImage imageNamed:@"common_bg_list_03"] : [UIImage imageNamed:@"common_bg_list_01"];
|
|
|
|
|
|
cell.lblCount.text = [NSString stringWithFormat:@"%lu%@",(_noticeList.count - indexPath.row),@"."];
|
|
|
- // cell.lblContent.text = notice.content;
|
|
|
- cell.lblContent.text = [NSString stringWithFormat:@"%@%@",notice.content,@"공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항공지사항" ];
|
|
|
+ cell.lblContent.text = notice.content;
|
|
|
cell.lblCreateDatetime.text = [CommonUtil formattedDate4:notice.createDatetime];
|
|
|
|
|
|
return cell;
|