fix(wms): 修正发货单与明细字段校验逻辑及重量计算方式

- 移除了 WmsDeliveryWaybillBo 中所有字段的非空校验注解
- 移除了 WmsDeliveryWaybillDetailBo 中所有字段的非空校验注解
- 修正了 WmsDeliveryPlanMapper.xml 中 total_weight 的计算方式,
  由 SUM(weight/1000.0) 改为 SUM(weight)
This commit is contained in:
2025-11-25 17:42:01 +08:00
parent 5591d702d7
commit dddd2f3fe6
3 changed files with 1 additions and 30 deletions

View File

@@ -35,7 +35,7 @@
SELECT
waybill_id,
COUNT(*) as total_coil_count,
SUM(weight/1000.0) as total_weight
SUM(weight) as total_weight
FROM wms_delivery_waybill_detail
WHERE del_flag = 0
GROUP BY waybill_id