aa
This commit is contained in:
@@ -1791,6 +1791,12 @@ func UpdateOrderInfo(ctx *jxcontext.Context, vendorOrderID string, vendorID int,
|
||||
if payload["expectedDeliveredTime"] != nil {
|
||||
payload["expectedDeliveredTime"] = utils.Str2Time(payload["expectedDeliveredTime"].(string))
|
||||
}
|
||||
if payload["jxSubsidyMoney"] != nil {
|
||||
jxSubsidyMoney := utils.Interface2Int64WithDefault(payload["jxSubsidyMoney"], 0)
|
||||
if order.EarningType == model.EarningTypeQuote {
|
||||
payload["earningPrice"] = order.EarningPrice + jxSubsidyMoney
|
||||
}
|
||||
}
|
||||
valid := dao.StrictMakeMapByStructObject(payload, order, ctx.GetUserName())
|
||||
if len(valid) > 0 {
|
||||
txDB, _ := dao.Begin(db)
|
||||
|
||||
Reference in New Issue
Block a user