更新swag

This commit is contained in:
2025-11-27 18:02:01 +08:00
parent 24d9b07c97
commit ef82203ed7
2 changed files with 9 additions and 0 deletions

View File

@@ -7341,6 +7341,14 @@
"dto.CurrentStockResponse": { "dto.CurrentStockResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
"last_operation_source_type": {
"description": "上次库存变动的来源类型",
"allOf": [
{
"$ref": "#/definitions/models.StockLogSourceType"
}
]
},
"last_updated": { "last_updated": {
"description": "最后更新时间", "description": "最后更新时间",
"type": "string" "type": "string"

View File

@@ -38,6 +38,7 @@ import { PaginationDTO, Response, StockLogSourceType } from '../enums';
* @property {number} raw_material_id - 原料ID * @property {number} raw_material_id - 原料ID
* @property {string} raw_material_name - 原料名称 * @property {string} raw_material_name - 原料名称
* @property {number} stock - 当前库存量, 单位: g * @property {number} stock - 当前库存量, 单位: g
* @property {StockLogSourceType} [last_operation_source_type] - 上次库存变动的来源类型
*/ */
/** /**