7 小时以前 7bf754a7835d06f26240c4ca15bc5f83650de377
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package com.ruoyi.sales.dto;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.basic.dto.StorageBlobDTO;
import com.ruoyi.basic.dto.StorageBlobVO;
import com.ruoyi.sales.pojo.CommonFile;
import com.ruoyi.sales.pojo.ShippingInfo;
import com.ruoyi.sales.pojo.ShippingProductDetail;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * @author :yys
 * @date : 2026/1/23 16:35
 */
@Data
public class ShippingInfoDto extends ShippingInfo {
 
    /**
     * 审批人id列表
     */
    // 审批人
    private String approveUserIds;
 
    private String type; // 发货类型
 
    @TableField(exist = false)
    private List<String> tempFileIds;
    @TableField(exist = false)
    private List<CommonFile> commonFileList;
 
    private String  specificationModel;
 
    private String productName;
 
    private List<StorageBlobDTO> storageBlobDTOs;
    private List<StorageBlobVO> storageBlobVOs;
 
    private List<Long> batchNo;
    private List<ShippingProductDetail> batchNoDetailList;
 
    //关联的出库单号
    private String outboundBatches;
 
    //发货数量
    private BigDecimal totalQuantity;
 
    private Long templateId;
 
    private String templateName;
 
    /**
     * 行来源:shipping=发货单,oilOut=销售类油品出库。
     * 前端必须按此字段判别,oilOut 行的 id 与 shipping_info.id 同域会撞号,不可用于发货/删除/退货接口
     */
    private String source;
 
    /**
     * 油品出库记录id(仅 source=oilOut 有值)
     */
    private Long stockOutRecordId;
 
    /**
     * 出库侧展示字段(仅 source=oilOut 有值)
     */
    private String outCategory;
    private String tankNo;
    private String oilProduct;
    private String oilDepotName;
    private String driverName;
    private String contactPerson;
    private String contactPhone;
 
    /**
     * 油品出库的批号(仅 source=oilOut 有值,取自 stock_out_record.batch_no)。
     * 注意与 outboundBatches 区分:后者是 CK 出库单号,此字段是批次号
     */
    private String outBatchNo;
 
    /**
     * 批号明细(仅 source=oilOut 有值):一条油品出库对应一个批号,
     * 供发货台账详情弹框的「批号」明细表展示
     */
    @TableField(exist = false)
    private List<ShippingProductDetailDto> batchNoList;
 
    /**
     * 到货记录子行(仅 source=oilOut 有值):一次发货可以分多趟到货,
     * 父行是油品出库单,子行就是它下面的到货记录
     */
    @TableField(exist = false)
    private List<SalesLedgerArrivalDto> children;
 
}