DgArchivesDestructionService.java 1.31 KB
package com.pashanhoo.destroy.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pashanhoo.destroy.entity.*;
import com.pashanhoo.destroy.entity.vo.AddDgArchivesDestructionRequest;
import com.pashanhoo.destroy.entity.vo.DgArchivesDestructionDetailVO;
import com.pashanhoo.destroy.entity.vo.DgArchivesDestructionSearchRequest;
import com.pashanhoo.destroy.entity.vo.UpdateDgArchivesDestructionRequest;

/**
 * <p>
 * 档案销毁 服务类
 * </p>
 *
 * @author
 * @since 2021-11-05
 */
public interface DgArchivesDestructionService extends IService<DgArchivesDestructionDO> {
     /**
     * 新增记录
     * @param request
     * @return
     */
    boolean insertDgArchivesDestruction(AddDgArchivesDestructionRequest request);

    /**
     * 根据主键查询记录详情
     * @param id
     * @return
     */
    DgArchivesDestructionDetailVO getDgArchivesDestructionDetailById(String id);

    /**
     * 修改单条记录
     * @param request
     * @return
     */
    boolean updateDgArchivesDestruction(UpdateDgArchivesDestructionRequest request);

    /**
     * 根据条件进行列表查询
     * @param request
     * @return
    */
    Page searchDgArchivesDestructionList(DgArchivesDestructionSearchRequest request);
}