joborderid

This commit is contained in:
苏尹岚
2020-11-10 16:37:04 +08:00
parent 5f0cf841ed
commit 925ef2ffc4
2 changed files with 4 additions and 2 deletions

View File

@@ -813,7 +813,8 @@ func CheckJdDeliveryWeight(ctx *jxcontext.Context) (err error) {
deliveryOrder.IsWeight = 2
}
}
dao.UpdateEntity(db, deliveryOrder, "IsWeight")
deliveryOrder.ActualWeight = waybill.Weight
dao.UpdateEntity(db, deliveryOrder, "IsWeight", "ActualWeight")
return retVal, err
}, deliveryOrders)
tasksch.HandleTask(task, nil, true).Run()