huangjiajun pirms 1 gada
vecāks
revīzija
a2ad272b13
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      db/db_subsidy_with_month.go

+ 1
- 1
db/db_subsidy_with_month.go Parādīt failu

@@ -32,7 +32,7 @@ func SubsidyWithMonthInsert(session *xorm.Session, SubsidyWithUserFlow *model.Su
amountValue := decimal.NewFromFloat(zhios_order_relate_utils.StrToFloat64(SubsidyWithUserFlow.ExperienceAmount))
data.ExperienceAmount = userAmountValue.Add(amountValue).RoundFloor(8).String()
}
_, err := session.Where("id=?", data.Id).Cols("amount,experience_amount").Update(&data)
_, err := session.Where("id=?", data.Id).Cols("consume_amount,experience_amount").Update(&data)
if err != nil {
return 0, err
}


Notiek ielāde…
Atcelt
Saglabāt