Files
klp-oa/klp-wms/src/main/java/com/klp/domain/bo/WmsDeliveryWaybillDetailBo.java
Joshi dddd2f3fe6 fix(wms): 修正发货单与明细字段校验逻辑及重量计算方式
- 移除了 WmsDeliveryWaybillBo 中所有字段的非空校验注解
- 移除了 WmsDeliveryWaybillDetailBo 中所有字段的非空校验注解
- 修正了 WmsDeliveryPlanMapper.xml 中 total_weight 的计算方式,
  由 SUM(weight/1000.0) 改为 SUM(weight)
2025-11-25 17:42:01 +08:00

100 lines
1.6 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.bo;
import com.klp.common.core.domain.BaseEntity;
import com.klp.common.core.validate.AddGroup;
import com.klp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;
import java.math.BigDecimal;
/**
* 发货单明细业务对象 wms_delivery_waybill_detail
*
* @author klp
* @date 2025-11-25
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WmsDeliveryWaybillDetailBo extends BaseEntity {
/**
* 明细唯一ID
*/
private Long detailId;
/**
* 关联发货单主表ID
*/
private Long waybillId;
/**
* 关联钢卷表ID钢卷基础信息在钢卷表中
*/
private Long coilId;
/**
* 品名(如:冷硬钢卷、冷轧钢卷)
*/
private String productName;
/**
* 切边(净边/毛边)
*/
private String edgeType;
/**
* 包装(裸包/简包1/精包2等
*/
private String packaging;
/**
* 结算方式(卷重/磅重)
*/
private String settlementType;
/**
* 原料厂家
*/
private String rawMaterialFactory;
/**
* 卷号
*/
private String coilNo;
/**
* 规格
*/
private String specification;
/**
* 材质
*/
private String material;
/**
* 数量(件)
*/
private Long quantity;
/**
* 重量kg
*/
private BigDecimal weight;
/**
* 单价
*/
private BigDecimal unitPrice;
/**
* 备注
*/
private String remark;
}