| | |
| | | @Override |
| | | public IPage<MallGoodsCategory> getCategoryList(MallGoodsCategory mallGoodsCategory, QueryRequest request) { |
| | | Page<MallGoodsCategory> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | IPage<MallGoodsCategory> mallGoodsCategorys = this.baseMapper.selectCategoryList(page, mallGoodsCategory); |
| | | IPage<MallGoodsCategory> mallGoodsCategorys = this.baseMapper.selectCategoryListInPage(page, mallGoodsCategory); |
| | | return mallGoodsCategorys; |
| | | } |
| | | |
| | |
| | | }else{ |
| | | goodsCategory.setParentIds(mallGoodsCategory.getParentId()+","); |
| | | } |
| | | }else{ |
| | | goodsCategory.setParentId(0L); |
| | | } |
| | | mallGoodsCategoryMapper.insert(goodsCategory); |
| | | return new FebsResponse().success(); |