package org.dromara.zjk.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.annotation.DataColumn;
import org.dromara.common.mybatis.annotation.DataPermission;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.zjk.domain.ZjkItemExtreation;
import org.dromara.zjk.domain.bo.ZjkItemExtreationBo;
import org.dromara.zjk.domain.vo.ZjkItemExtreationVo;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author ygh
 * @date 2024-10-29
 */
public interface ZjkItemExtreationMapper extends BaseMapperPlus<ZjkItemExtreation, ZjkItemExtreationVo> {

    void updateItem(Long reviewId);

    @DataPermission({
        @DataColumn(key = "xmUserName", value = "zie.create_by"),
        @DataColumn(key = "deptName", value = "zie.create_dept"),
    })
    IPage<ZjkItemExtreationVo> selectExtreationList(@Param("bo")ZjkItemExtreationBo bo, Page<ZjkItemExtreation> build);
}
