src/com/shop/dao/OsCategoryMapper.java

(完整代码) 747B

package com.shop.dao;

import java.util.List;

import com.shop.po.OsCategory;
import com.shop.vo.CategoryVO;

public interface OsCategoryMapper {
    int deleteByPrimaryKey(Long categoryId);

    int insert(OsCategory record);

    int insertSelective(OsCategory record);

    OsCategory selectByPrimaryKey(Long categoryId);

    int updateByPrimaryKeySelective(OsCategory record);

    int updateByPrimaryKey(OsCategory record);
    
    List<CategoryVO> selectIndexCategory();

    OsCategory selectParentCategoryByProductId(Long productId);

    // 根据类目ID查找子类目
    List<OsCategory> listLowerCategories(Long categoryId);
    // 根据类目ID查找上级类目列表
    List<OsCategory> listUpperCategories(Long categoryId);
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。