1
This commit is contained in:
@@ -280,6 +280,8 @@ func RefundBarCodeScannerOrder(ctx *jxcontext.Context, vendorOrderId string, sku
|
||||
dao.Rollback(db, txDB)
|
||||
return err
|
||||
}
|
||||
goodsOrder.TotalShopMoney -= int64(refundMoney)
|
||||
dao.UpdateEntity(db, goodsOrder, "TotalShopMoney")
|
||||
dao.Commit(db, txDB)
|
||||
default:
|
||||
return fmt.Errorf(errMsg)
|
||||
|
||||
Reference in New Issue
Block a user