package com.microservices.pms.project.mapper;

import com.microservices.pms.project.domain.PmsIssueCompletion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PmsIssueCompletionMapper {

    PmsIssueCompletion selectByGitlinkIssueIdAndUserId(@Param("gitlinkIssueId") String gitlinkIssueId, @Param("gitlinkUserId") String gitlinkUserId);

    int insert(PmsIssueCompletion completion);

    int updateDescription(PmsIssueCompletion completion);

    int deleteByGitlinkIssueIdAndUserId(@Param("gitlinkIssueId") String gitlinkIssueId, @Param("gitlinkUserId") String gitlinkUserId);
}
