浏览代码

更新

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()


正在加载...
取消
保存