Files
klp-oa/klp-wms/src/main/java/com/klp/domain/bo/WmsDeliveryWaybillBo.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

96 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.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
* 发货单主业务对象 wms_delivery_waybill
*
* @author klp
* @date 2025-11-25
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WmsDeliveryWaybillBo extends BaseEntity {
/**
* 发货单唯一ID
*/
private Long waybillId;
/**
* 发货单编号格式WB-YYYYMMDD-XXXX如WB-20251125-0001
*/
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 remark;
}