更新swag

This commit is contained in:
2025-11-27 17:55:40 +08:00
parent ede3d6b330
commit 24d9b07c97
2 changed files with 16 additions and 1 deletions

View File

@@ -9206,7 +9206,8 @@
"type": "object",
"required": [
"change_amount",
"raw_material_id"
"raw_material_id",
"source_type"
],
"properties": {
"change_amount": {
@@ -9221,6 +9222,18 @@
"description": "备注",
"type": "string",
"maxLength": 255
},
"source_id": {
"description": "来源ID, 例如: 配方ID, 采购单ID等",
"type": "integer"
},
"source_type": {
"description": "库存变动来源类型",
"allOf": [
{
"$ref": "#/definitions/models.StockLogSourceType"
}
]
}
}
},