package com.clx.performance.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.clx.performance.mapper.IntegralOrderMapper;
import com.clx.performance.model.IntegralOrder;
import com.clx.performance.param.pc.pageIntegralOrderParam;
import com.clx.performance.vo.pc.IntegralOrderVO;
import com.msl.common.base.Optional;
import com.msl.common.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: aiqinguo
 * @Description: 积分货单
 * @Date: 2023-10-9 11:55:36
 * @Version: 1.0
 */
public interface IntegralOrderDao extends BaseDao<IntegralOrderMapper, IntegralOrder, Integer> {

    boolean existByOrderGoodsNo(@Param("orderGoodsNo")String orderGoodsNo);

    IPage<IntegralOrderVO> pageByParam(pageIntegralOrderParam param);

    List<String> getAllOrderNoList();

    Optional<IntegralOrder> getByOrderGoodsNo(String orderGoodsNo);

}
