package com.zg.project.inventory.AutoInventory.mapper;

import com.zg.project.inventory.domain.dto.QueryDTO;
import com.zg.project.inventory.domain.entity.Sod;
import com.zg.project.inventory.domain.vo.SodVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SodMapper {
    List<SodVO> selectByPcdeList(@Param("query") QueryDTO query);

    List<Sod> getAll();

    List<Sod> getByFycde1List(List<String> pcdeIds);

    List<Sod> getMissedFycde1s(List<String> pcdeIds);

    boolean existsByFycde1(String id);

}