lyh
2025-06-27 f472efc9ad1f9bda645dd39b40607c5eabb73b47
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package org.jeecg.modules.flowable.apithird.business.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.flowable.apithird.business.dto.FlowMyBusinessDto;
import org.jeecg.modules.flowable.apithird.business.entity.FlowMyBusiness;
import org.jeecg.modules.flowable.domain.dto.FlowTaskDto;
 
import java.util.List;
 
/**
 * @Description: 流程业务扩展表
 * @Author: jeecg-boot
 * @Date:   2021-11-25
 * @Version: V1.0
 */
public interface FlowMyBusinessMapper extends BaseMapper<FlowMyBusiness> {
    /**
     * 流程-我的已办
     * @param dto
     * @return
     */
    List<FlowTaskDto> ListMyBusiness(@Param("dto") FlowMyBusinessDto dto);
 
    /**
     * 流程总台账
     * @param flowMyBusinessDto
     * @return
     */
    IPage<FlowMyBusinessDto> PageList(@Param("page") Page page, @Param("flowMyBusinessDto") FlowMyBusinessDto flowMyBusinessDto);
 
    @Select("SELECT * FROM flow_my_business WITH (INDEX(idx_data_id)) \n" +
            "WHERE data_id = #{dataId}")
    FlowMyBusiness selectByDataId(String dataId);
}