This commit is contained in:
2023-09-21 23:47:34 +08:00
parent 45ef0b8bc9
commit 58e2068170
2 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ func MetadataModulePATCH(tx *gorm.DB, module string, tableStructPointer any, upd
WHEN metadata IS NULL THEN ?
ELSE JSON_MERGE_PATCH(metadata, ?)
END
WHERE order_sn = '%s' and %s;`
WHERE module = '%s' and %s;`
var err error
var metadata []byte