tangchuanxing_branch
CR7 9 months ago
parent 2476fe3158
commit 3cc3778ef8

@ -0,0 +1,64 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.Category;
import java.util.List;
/**
* MyBatis PlusIService
*
* @author lanhai
*/
public interface CategoryService extends IService<Category> {
/**
* ID0
* @param parentId ID0
* @return
*/
List<Category> listByParentId(Long parentId);
/**
* IDseq
* @param shopId ID
* @return
*/
List<Category> tableCategory(Long shopId);
/**
*
* @param category
*/
void saveCategory(Category category);
/**
*
* @param category
*/
void updateCategory(Category category);
/**
*
* @param categoryId ID
*/
void deleteCategory(Long categoryId);
/**
* ID
* @param shopId ID
* @param grade
* @return
*/
List<Category> treeSelect(Long shopId, int grade);
}
Loading…
Cancel
Save