소스 검색

店铺端商品类型查询条件优化

yjwang 2 주 전
부모
커밋
55f987c97e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      fs-store/src/main/java/com/fs/hisStore/controller/store/FsStoreProductCategoryScrmController.java

+ 3 - 3
fs-store/src/main/java/com/fs/hisStore/controller/store/FsStoreProductCategoryScrmController.java

@@ -127,9 +127,9 @@ public class FsStoreProductCategoryScrmController extends BaseController
     @GetMapping("/getAllList")
     public R getAllList(FsStoreProductCategoryScrm fsStoreProductCategory)
     {
-        StoreLoginUserScrm loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
-        Long storeId = loginUser.getFsStore().getStoreId();
-        List<FsStoreProductCategorysVO> list = fsStoreProductCategoryService.selectFsStoreProductCategorysVOList(storeId);
+        fsStoreProductCategory.setIsShow(1);
+        fsStoreProductCategory.setIsDel(0);
+        List<FsStoreProductCategoryScrm> list = fsStoreProductCategoryService.selectFsStoreProductCategoryList(fsStoreProductCategory);
         return R.ok().put("data", list);
     }