package com.oqpo.api.mapper.sttlmng;


import com.oqpo.api.entity.settmng.StlMgntBaseInfoEntity;
import com.oqpo.api.web.dto.request.GridRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SttlStateMapper {

    List<StlMgntBaseInfoEntity> selectSttlStateGridList(@Param("sGubun") String sGubun, @Param("sBrandId") String sBrandId, @Param("sStoreId") String sStoreId,
                                                        @Param("sSpplyId") String sSpplyId, @Param("sItemNm") String sItemNm,
                                                        @Param("sSttlStCd") String sSttlStCd, @Param("fromDt") String fromDt, @Param("toDt") String toDt, GridRequest gridRequest) throws Exception;

    int selectSttlStateGridCnt(@Param("sGubun") String sGubun, @Param("sBrandId") String sBrandId, @Param("sStoreId") String sStoreId,
                               @Param("sSpplyId") String sSpplyId, @Param("sItemNm") String sItemNm,
                               @Param("sSttlStCd") String sSttlStCd, @Param("fromDt") String fromDt, @Param("toDt") String toDt) throws Exception;

}
