zhoushihao
2025-11-25 b460ec7a380334516ec478544afe42df409f4c54
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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;
 
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wu
 * @since 2024-06-17
 */
public interface OrdersMapper extends BaseMapper<Orders> {
 
    List<OrderDTO> selectOrderPercent();
 
    HollowOrderDTO queryOrderByFlowCardId(String flowCardId);
 
    List<HollowGlassDetailsDTO> queryFlowCardIdMaxLayerGlassInfo(String flowCardId, int totalLayer);
 
    List<HollowGlassDetailsDTO> queryFlowCardIdLayerGlassInfo(String flowCardId, int totalLayer, int layer);
 
    OrderDetailsDTO queryProductNameByFlowCardId(String flowCardId);
 
    List<ProcessCardReport> queryLackByERP(String flowCardId);
 
    /**
     * 按照流程卡查询是否夹层及层号
     * @param flowCardId
     * @return
     */
    List<InterlayerDTO> queryInterlayerByERP(String flowCardId);
}