| | |
| | | */ |
| | | Integer create(Category category); |
| | | |
| | | |
| | | Integer companyCreate(Category category); |
| | | |
| | | /** |
| | | * 主键删除 |
| | | * |
| | |
| | | */ |
| | | void updateById(Category category); |
| | | |
| | | void companyUpdateById(Category category); |
| | | /** |
| | | * 批量主键更新 |
| | | * |
| | |
| | | */ |
| | | List<Category> findList(Category category); |
| | | |
| | | List<Category> findListSaaS(Category category); |
| | | |
| | | List<Category> companyFindList(Category category); |
| | | /** |
| | | * 查询类别 |
| | | * @param goodsId |
| | |
| | | * @return long |
| | | */ |
| | | long count(Category category); |
| | | |
| | | List<Category> findTree(Category category); |
| | | |
| | | List<Category> findChildren(Integer parentId); |
| | | |
| | | Integer createSubCategory(Category category); |
| | | |
| | | void updateSubCategory(Category category); |
| | | |
| | | void deleteSubCategory(Integer id); |
| | | } |