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