瀏覽代碼

更新

one_orenge
huangjiajun 8 月之前
父節點
當前提交
23ed79645e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      consume/zhios_order_settle_total.go

+ 1
- 1
consume/zhios_order_settle_total.go 查看文件

@@ -155,7 +155,7 @@ func handleZhiosOrderSettleTotal(msg []byte) error {
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)
if err2 != nil {
sess.Rollback()


Loading…
取消
儲存