package cn.iocoder.yudao.module.bpm.dal.mysql.oa;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.bpm.dal.dataobject.oa.BpmOAShiftjobsDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 调岗申请 Mapper
 *
 * @author 符溶馨
 */
@Mapper
public interface BpmOAShiftjobsMapper extends BaseMapperX<BpmOAShiftjobsDO> {

    default BpmOAShiftjobsDO selectByProcessInstanceId(String processInstanceId) {
        return selectOne(BpmOAShiftjobsDO::getProcessInstanceId, processInstanceId);
    }
}
