package com.yeejoin.amos.supervision.business.dao.mapper;

import com.yeejoin.amos.supervision.business.dto.CheckInputDto;
import com.yeejoin.amos.supervision.business.dto.InputCheckDto;
import org.apache.ibatis.annotations.Param;

public interface CheckInputMapper extends BaseMapper {

    InputCheckDto getByCheckIdAndItemId(@Param(value = "checkId") Long checkId, @Param(value = "itemId") Long itemId);

    InputCheckDto getByCheckIdAndItemIdAndRoutePointItemId(@Param(value = "checkId") Long checkId, @Param(value =
            "itemId") Long itemId, @Param(value = "routePointItemId") Long routePointItemId, @Param(value = "checkInputId") Long checkInputId);

    void updateCheckInput(@Param(value = "dto") CheckInputDto checkInputDto);
}
