Browse Source

更新

one_orenge
huangjiajun 8 months ago
parent
commit
23ed79645e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consume/zhios_order_settle_total.go

+ 1
- 1
consume/zhios_order_settle_total.go View File

@@ -155,7 +155,7 @@ func handleZhiosOrderSettleTotal(msg []byte) error {
return errors.New("失败") return errors.New("失败")
} }
} }
userStatistics2.Amount = utils.Float64ToStrByPrec(utils.StrToFloat64(userStatistics2.SettleAmount)+v.Amount+utils.StrToFloat64(v.AdditionalSubsidy), 4)
userStatistics2.SettleAmount = utils.Float64ToStrByPrec(utils.StrToFloat64(userStatistics2.SettleAmount)+v.Amount+utils.StrToFloat64(v.AdditionalSubsidy), 4)
update2, err2 := eg.Where("id=?", userStatistics2.Id).Cols("settle_amount").Update(&userStatistics2) update2, err2 := eg.Where("id=?", userStatistics2.Id).Cols("settle_amount").Update(&userStatistics2)
if err2 != nil { if err2 != nil {
sess.Rollback() sess.Rollback()


Loading…
Cancel
Save