|
|
@@ -2,8 +2,11 @@ package com.style24.admin.biz.web;
|
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
|
+import com.gagaframework.web.parameter.GagaMap;
|
|
|
import com.gagaframework.web.util.GagaDateUtil;
|
|
|
-import com.style24.persistence.domain.Brand;
|
|
|
+import com.style24.admin.support.security.session.TsaSession;
|
|
|
+import com.style24.persistence.TscPageRequest;
|
|
|
+import com.style24.persistence.domain.*;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
@@ -18,8 +21,6 @@ import com.style24.admin.biz.service.TsaDisplayService;
|
|
|
import com.style24.admin.biz.service.TsaRendererService;
|
|
|
import com.style24.admin.support.controller.TsaBaseController;
|
|
|
import com.style24.core.support.message.TscMessageByLocale;
|
|
|
-import com.style24.persistence.domain.Category;
|
|
|
-import com.style24.persistence.domain.ItemkindCategory;
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
@@ -241,4 +242,26 @@ public class TsaDisplayController extends TsaBaseController {
|
|
|
return mav;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 상품별카테고리전시관리 조회
|
|
|
+ * @return
|
|
|
+ * @author bin2107
|
|
|
+ * @since 2021. 1. 15
|
|
|
+ */
|
|
|
+ @PostMapping("/goods/category/list")
|
|
|
+ @ResponseBody
|
|
|
+ public GagaMap getGoodsCategoryList(@RequestBody GoodsCategory goodsCategory) {
|
|
|
+ GagaMap result = new GagaMap();
|
|
|
+ log.info("[getGoodsCategoryList GoodsCategory]{}",goodsCategory);
|
|
|
+
|
|
|
+ goodsCategory.setRegNo(TsaSession.getInfo().getUserNo()); // 엑셀조회시 로그인 사용자의 엑셀 상품조회시 사용
|
|
|
+ goodsCategory.setPageable(new TscPageRequest(goodsCategory.getPageNo() - 1, goodsCategory.getPageSize()));
|
|
|
+ goodsCategory.getPageable().setTotalCount(displayService.getGoodsCategoryListCount(goodsCategory));
|
|
|
+
|
|
|
+ result.set("pageing", goodsCategory);
|
|
|
+ //result.set("goodsList", goodsService.getGoodsList(goodsSearch));
|
|
|
+
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
}
|