package com.jwipc.order.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.order.entity.ShortageHana;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 欠料数据查询同步接口 Mapper 接口
 * </p>
 *
 * @author 邓京术
 * @since 2025-08-08
 */
public interface ShortagePlanHanaMapper extends BaseMapper<ShortageHana> {

    Integer findCount(@Param("version") String version);

    List<ShortageHana> findListForPage(@Param("offset")Integer offset, @Param("rows")Integer rows, @Param("version") String version);

    List<ShortageHana> getDiffVersion();
}
