package com.tofly.feesapi.flowdb.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tofly.feesapi.flowdb.entity.WflowPushJson;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlowMapper extends BaseMapper<WflowPushJson> {
    /**
     * 获取业务流程
     */
   @DS("flowDB")
    List<WflowPushJson> getWfFlow(@Param("ids")List<String> ids);

    /**
     * 根据ID修改
     */
    @DS("flowDB")
    boolean updateById(@Param("id") String id, @Param("state") String state);
}
