package com.mes.order.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mes.order.entity.*;
import com.mes.order.entity.dto.InterlayerDTO;
import com.mes.order.entity.dto.OrderDTO;
import java.util.List;
/**
*
* Mapper 接口
*
*
* @author wu
* @since 2024-06-17
*/
public interface OrdersMapper extends BaseMapper {
List selectOrderPercent();
HollowOrderDTO queryOrderByFlowCardId(String flowCardId);
List queryFlowCardIdMaxLayerGlassInfo(String flowCardId, int totalLayer);
List queryFlowCardIdLayerGlassInfo(String flowCardId, int totalLayer, int layer);
OrderDetailsDTO queryProductNameByFlowCardId(String flowCardId);
List queryLackByERP(String flowCardId);
/**
* 按照流程卡查询是否夹层及层号
* @param flowCardId
* @return
*/
List queryInterlayerByERP(String flowCardId);
}