package com.ga.core.mapper.approval;

import com.ga.core.vo.approval.ApprovalLineStepResp;
import com.ga.core.vo.approval.ApprovalLineStepSearchParam;
import com.ga.core.vo.approval.ApprovalLineStepVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ApprovalLineStepMapper {
    ApprovalLineStepVO selectByLineAndStep(@Param("lineId") Long lineId, @Param("stepNo") int stepNo);
    List<ApprovalLineStepResp> selectByLine(@Param("lineId") Long lineId);
    List<ApprovalLineStepResp> selectList(ApprovalLineStepSearchParam param);
    int insert(ApprovalLineStepVO vo);
    int delete(@Param("stepId") Long stepId);
}
