刘光辉
119 分钟以前 06f314545ac3514d7ce28939920866ae8188d31c
1
2
3
4
5
6
7
8
9
10
11
12
13
package jnpf.flowable.mapper;
 
import jnpf.flowable.model.filepermission.FilePermissionTaskState;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
/** 复用平台租户数据源隔离;只能按真实业务任务 ID 查询,不按引擎 ID 查询。 */
@Mapper
public interface FilePermissionSnapshotMapper {
    FilePermissionTaskState find(@Param("taskId") String taskId);
    int compareAndSetSnapshot(@Param("taskId") String taskId, @Param("expected") String expected,
                              @Param("updated") String updated);
}