OutboundExecuteTaskMapper.java 1007 Bytes
package cn.com.glsx.entmicro.mapper;

import cn.com.glsx.entmicro.entity.outbound.OutboundExecuteTask;
import cn.com.glsx.entmicro.model.response.ActivityResponse;
import cn.com.glsx.entmicro.model.response.outbound.OutBoundExecuteTaskResponse;
import cn.com.glsx.entmicro.model.request.outbound.OutBoundExecuteTaskRpcRequest;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OutboundExecuteTaskMapper extends CommonBaseMapper<OutboundExecuteTask> {

    List<OutBoundExecuteTaskResponse> findExecuteTaskListByCondition(@Param("request") OutBoundExecuteTaskRpcRequest outBoundExecuteTaskRpcRequest);

    /**
     * 获取最新子任务
     * @param outboundTaskId
     * @return
     */
    OutboundExecuteTask findNewestTask(@Param("outboundTaskId") Integer outboundTaskId);

    Integer selectIdByExecuteTaskId(@Param("executeTaskId")String executeTaskId);
}