package com.kxs.store.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kxs.store.api.model.KxsMachineApplyDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 客小爽机具申请详情表(KxsMachineApplyDetail)表数据库访问层
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
@Mapper
public interface KxsMachineApplyDetailMapper extends BaseMapper<KxsMachineApplyDetail> {

    /**
     * 列表日期查询
     *
     * @param warehouseId 仓库 ID
     * @param brandId     品牌 ID
     * @param startTime   开始时间
     * @param endTime     结束时间
     * @return {@link List}<{@link String}>
     */
    List<String> listDateQueries(@Param("warehouseId") Integer warehouseId
            , @Param("brandId") Integer brandId
            , @Param("startTime") LocalDateTime startTime
            , @Param("endTime") LocalDateTime endTime);
}

