package com.sckw.mine.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.mine.entity.KwBusinessWorkFlow;
import com.sckw.mine.entity.req.WorkFlowPageListParam;
import com.sckw.mine.entity.res.WorkFlowPageListRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@DS("mine")
public interface WorkFlowMapper extends BaseMapper<KwBusinessWorkFlow> {

    List<WorkFlowPageListRes> pageList(@Param("param") WorkFlowPageListParam param);

    int statusAction(@Param("id") String id, @Param("status") Integer status);
}
