package org.dromara.biz.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.dromara.biz.domain.BizTaskWork;
import org.dromara.biz.domain.vo.BizTaskWorkVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 任务协作单Mapper接口
 *
 * @author chenle
 * @date 2025-05-22
 */
@Mapper
public interface BizTaskWorkMapper extends BaseMapperPlus<BizTaskWork, BizTaskWorkVo> {

    @Select("select * from biz_task_work where task_no = #{instanceId}")
    List<BizTaskWork> selectByTaskNo(String instanceId);
}
