티스토리 뷰
IList<DiscountCategoryEntity> IDiscountMall.DiscountCategoryList(string area)
{
Dictionary<string, string> param = new Dictionary<string, string>();
param.Add("area", area);
List<DiscountCategoryEntity> discountCategory = new List<DiscountCategoryEntity>();
IList<DiscountCategoryEntityL> discountCategoryList = this.totooutdoor.QueryForList<DiscountCategoryEntityL>("up_st_tto_t_goods_recom_discountCategoryList_select", param);
foreach (DiscountCategoryEntityL item in discountCategoryList)
{
int categoryIndex = discountCategory.FindIndex(
delegate(DiscountCategoryEntity discountCategoryEntity) { if (discountCategoryEntity.CategoryNameDepth1 == item.top_name) { return true; } else { return false; } }
);
if (categoryIndex == -1)
{
discountCategory.Add(
new DiscountCategoryEntity() { CategoryNameDepth1 = item.top_name }
);
}
categoryIndex = discountCategory.FindIndex(
delegate(DiscountCategoryEntity discountCategoryEntity) { if (discountCategoryEntity.CategoryNameDepth1 == item.top_name) { return true; } else { return false; } }
);
if (categoryIndex != -1)
{
List<DiscountCategoryDetailEntityR> temp = discountCategory[categoryIndex].DicountCategoryDetail;
if (temp == null) { temp = new List<DiscountCategoryDetailEntityR>(); }
temp.Add(new DiscountCategoryDetailEntityR() { CategoryName = item.catecode_name, CategoryCodeDepth2 = item.catecode });
discountCategory[categoryIndex].DicountCategoryDetail = temp;
}
}
return discountCategory;
}
- Total
- Today
- Yesterday
- docker
- In App Purchase
- 표현 언어(expression language)
- java web-mvc
- 문자 자르기
- error-java
- await
- jstl(java standard tag library)-core
- 메이븐(maven)
- 스프링 프레임워크(spring framework)
- java 키워드 정리
- .submit()
- REST API
- React
- 스프링 시큐리티(spring security)-http basic 인증
- nl2br
- system.io
- System.Diagnostics
- MainActor
- 람다식(lambda expression)
- jsp 오픈 소스
- java-개발 환경 설정하기
- 스프링 프레임워크(spring framewordk)
- 스프링 시큐리티(spring security)
- 진수 변환
- 인텔리제이(intellij)
- jstl(java standard tag library)
- 특정 문자를 기준으로 자르기
- 제품 등록
- java.sql
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |