Files
xgy-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsDeliveryCoilRelationVo.java
Joshi b840574286 feat(wms): 添加根据钢卷ID查询发货关联信息功能
- 在 IWmsDeliveryWaybillDetailService 中新增 queryRelationByCoilId 方法
- 在 WmsDeliveryWaybillDetailController 中新增 /coilRelation/{coilId} 接口
- 在 WmsDeliveryWaybillDetailServiceImpl 中实现完整的关联查询逻辑
- 创建 WmsDeliveryCoilRelationVo 数据传输对象
- 支持查询发货单明细、发货单、发货计划和钢卷的完整关联信息
2026-04-23 09:54:22 +08:00

184 lines
2.9 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.domain.vo;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
/**
* 根据钢卷ID查询发货关联信息VO
*
* @author klp
* @date 2025-11-25
*/
@Data
public class WmsDeliveryCoilRelationVo implements Serializable {
private static final long serialVersionUID = 1L;
// ==================== 发货单明细信息 ====================
/**
* 明细唯一ID
*/
private Long detailId;
/**
* 关联发货单主表ID
*/
private Long waybillId;
/**
* 关联钢卷表ID
*/
private Long coilId;
private String productName;
private String edgeType;
private String packaging;
private String settlementType;
private String rawMaterialFactory;
private String coilNo;
private String specification;
private String material;
private Long quantity;
private BigDecimal weight;
private BigDecimal unitPrice;
private String remark;
// ==================== 发货单信息 ====================
/**
* 发货单唯一ID
*/
private Long waybillId2;
/**
* 发货单编号
*/
private String waybillNo;
/**
* 发货单名称
*/
private String waybillName;
/**
* 关联发货计划ID
*/
private Long planId;
/**
* 车牌
*/
private String licensePlate;
/**
* 收货单位
*/
private String consigneeUnit;
/**
* 发货单位
*/
private String senderUnit;
/**
* 发货时间
*/
private Date deliveryTime;
/**
* 磅房
*/
private String weighbridge;
/**
* 销售
*/
private String salesPerson;
/**
* 负责人
*/
private String principal;
/**
* 负责人电话
*/
private String principalPhone;
/**
* 完成状态0=待发货1=已发货2=已完成3=取消)
*/
private Long status;
/**
* 发货单备注
*/
private String waybillRemark;
// ==================== 发货计划信息 ====================
/**
* 计划唯一ID
*/
private Long planId2;
/**
* 发货计划名称
*/
private String planName;
/**
* 计划日期
*/
private Date planDate;
/**
* 计划类型: 发货0收货1
*/
private Integer planType;
/**
* 计划备注
*/
private String planRemark;
/**
* 审核状态
*/
private Integer auditStatus;
/**
* 审核人
*/
private String auditBy;
/**
* 审核时间
*/
private Date auditTime;
// ==================== 钢卷信息 ====================
/**
* 入场钢卷号
*/
private String enterCoilNo;
/**
* 当前钢卷号
*/
private String currentCoilNo;
}