src/com/shop/dao/OsProductMapper.java

(完整代码) 1KB

package com.shop.dao;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

import com.shop.po.OsOrderProduct;
import com.shop.po.OsProduct;
import com.shop.vo.CategoryVO;
import com.shop.vo.HotCategoryVO;
import org.apache.ibatis.annotations.Param;

public interface OsProductMapper {
    int deleteByPrimaryKey(Long productId);

    int insert(OsProduct record);

    int insertSelective(OsProduct record);

    OsProduct selectByPrimaryKey(Long productId);

    int updateByPrimaryKeySelective(OsProduct record);

    int updateByPrimaryKey(OsProduct record);
    
    List<OsProduct> getHotProduct(CategoryVO vo);
    
    ArrayList<HotCategoryVO> getAllCategory();
    
    OsProduct selectByProductNumber(Long productNumber);

    Long selectProductNumberByProductId(Long productId);

    String selectNameByProductId(Long productId);

    String selectPicImgByProductId(Long productId);

    OsProduct getProductBySpecNumber(Long productSpecNumber);

    List<OsProduct> listByPage(@Param("categoryIds" +
            "") List<String> categoryIds);
    List<OsProduct> selectAll();
}

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

AI 解读 AI

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

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