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

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

import java.util.List;

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

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

    int logicDeleteByEquipIdList(@Param("equipIdList") List<Long> idList);
}
