diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index 43a2956de..de91fb7e7 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -1229,7 +1229,7 @@ func CheckJdDeliveryWeight(ctx *jxcontext.Context) (err error) { return retVal, err } if waybill.DeliveryID == deliveryOrder.VendorWaybillID { - deliveryOrder.IsWeight = 1 + deliveryOrder.IsWeight = 1 //合格 if waybill.Weight > 3 && math.Floor(deliveryOrder.Weight) < math.Floor(waybill.Weight) { diffPrice := (math.Floor(waybill.Weight) - math.Floor(deliveryOrder.Weight)) * waybillKgPrice if err != nil { @@ -1238,7 +1238,7 @@ func CheckJdDeliveryWeight(ctx *jxcontext.Context) (err error) { if err = financial.AddExpendUpdateAccount(db, userBill, model.BillTypeJdWaybillOverWeight, utils.Float64TwoInt(diffPrice), 2); err != nil { return retVal, err } - deliveryOrder.IsWeight = 2 + deliveryOrder.IsWeight = 2 //超重 } } deliveryOrder.ActualWeight = waybill.Weight