package com.yeejoin.amos.fas.business.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <h1><h1>
 *
 * @author tiantao
 * @date 2021/1/15 10:52
 */
@Repository
public interface PlanDocMapper {

    /**
     * 更新删除状态
     * @param idList id
     * @param isDelete 是否删除
     * @return
     */
    int updateIsDeleteByPlanIdList(@Param("planIdList") List<Long> idList, @Param("isDelete") Boolean isDelete);

    int logicDeleteByDocIdList(@Param("docIdList") List<Long> idList);
}
