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.PcdeCntVO;
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);

}