cn.herodotus.stirrup.logic.bpmn.camunda.mapper.ExtendedTaskMapper Maven / Gradle / Ivy
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2020-2030 郑庚伟 ZHENGGENGWEI (码匠君), Licensed under the AGPL License
*
* This file is part of Herodotus Stirrup.
*
* Herodotus Stirrup is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Herodotus Stirrup is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package cn.herodotus.stirrup.logic.bpmn.camunda.mapper;
import cn.herodotus.stirrup.logic.bpmn.camunda.entity.ExtendedTask;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
* Description: Camunda 自定义查询
*
* @author : gengwei.zheng
* @date : 2023/1/14 16:59
*/
@Repository
public interface ExtendedTaskMapper {
/**
* 根据 EmployeeId 查询待办任务列表
*
* @param page {@link IPage}
* @param employeeId 员工ID
* @return 待办任务列表
*/
IPage getToDoTasksByPage(IPage page, @Param("employeeId") String employeeId);
/**
* 根据 EmployeeId 查询已办任务列表
*
* @param page {@link IPage}
* @param employeeId 员工ID
* @return 已办任务列表
*/
IPage getCompletedTasksByPage(IPage page, @Param("employeeId") String employeeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy