DgArchivesDestructionMapper.java 1.37 KB
package com.pashanhoo.destroy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pashanhoo.archive.entity.DgArchivesDO;
import com.pashanhoo.archive.entity.vo.DgArchivesListVO;
import com.pashanhoo.destroy.entity.DgArchivesDestructionDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.pashanhoo.destroy.entity.vo.DgArchivesDestructionListVO;
import com.pashanhoo.destroy.entity.vo.DgArchivesDestructionSearchRequest;

/**
 * <p>
 * 档案销毁 Mapper 接口
 * </p>
 *
 * @author
 * @since 2021-11-05
 */
public interface DgArchivesDestructionMapper extends BaseMapper<DgArchivesDestructionDO> {

    /**
     * 根据销毁清册编号获取左侧档案号菜单
     *
     * @param xhqcbh 销毁清册编号
     * @return
     */
    List<DgArchivesDO> getDestroyLeftMenu(@Param("xhqcbh") String xhqcbh);

    List<DgArchivesDestructionListVO> selectXhResult(DgArchivesDestructionSearchRequest request);

    boolean updateArchivesStatus(@Param("bsm_destruction") String bsm_destruction,@Param("dazt") String dazt);

    List<DgArchivesListVO> queryArchivesInfo(@Param("bsm_destruction") String bsm_destruction);

    boolean updateArchivesStatusBatch(@Param("idList") List<String> idList,@Param("dazt") String dazt);

    boolean updateDestructionArchivesStatus(@Param("bsm_destruction") String bsm_destruction,@Param("dazt") String dazt);

}