package com.casic.missiles.mapper.equipment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.casic.missiles.dto.equipment.StandardEquipmentApplyRequest;
import com.casic.missiles.model.equipment.EquipmentStandardApply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xiezhuangz
 * @date 2022/12/19
 **/
public interface EquipmentStandardApplyMapper extends BaseMapper<EquipmentStandardApply> {

    Page<EquipmentStandardApply> standardEquipmentList(Page<EquipmentStandardApply> page, @Param("request") StandardEquipmentApplyRequest request);

    List<EquipmentStandardApply> standardEquipmentList(@Param("request") StandardEquipmentApplyRequest request);

    Long selectMaxNo();

    EquipmentStandardApply selectApplyInfo(@Param("id") Long id);
}
