fix(wms): 修正发货单与明细字段校验逻辑及重量计算方式
- 移除了 WmsDeliveryWaybillBo 中所有字段的非空校验注解 - 移除了 WmsDeliveryWaybillDetailBo 中所有字段的非空校验注解 - 修正了 WmsDeliveryPlanMapper.xml 中 total_weight 的计算方式, 由 SUM(weight/1000.0) 改为 SUM(weight)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user