| | |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getPriceStandardList": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置/生丝定价标准" |
| | | ], |
| | | "summary": "获取生丝定价标准", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/models.RawSilkPriceStandard" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/savePriceStandard": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置/生丝定价标准" |
| | | ], |
| | | "summary": "保存生丝定价标准", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/models.RawSilkPriceStandard" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "definitions": { |
| | |
| | | "description": "开始回数", |
| | | "type": "integer" |
| | | }, |
| | | "sumFineness": { |
| | | "type": "number" |
| | | }, |
| | | "sumQuantity": { |
| | | "type": "number" |
| | | }, |
| | | "updatedAt": { |
| | | "type": "string" |
| | | }, |
| | | "workshopGroup": { |
| | | "description": "车组", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "models.RawSilkPriceStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "type": "string" |
| | | }, |
| | | "deletedAt": { |
| | | "$ref": "#/definitions/gorm.DeletedAt" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "marketNumber": { |
| | | "type": "string" |
| | | }, |
| | | "notes": { |
| | | "type": "string" |
| | | }, |
| | | "payStandard": { |
| | | "type": "number" |
| | | }, |
| | | "rawSilkGradeNumber": { |
| | | "type": "string" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "description": "落丝时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "id 添加时传0", |
| | | "type": "integer" |
| | | }, |
| | | "market": { |
| | | "description": "庄口", |
| | | "type": "string" |
| | |
| | | "description": "开始回数", |
| | | "type": "integer" |
| | | }, |
| | | "sum": { |
| | | "$ref": "#/definitions/request.FinenessItem" |
| | | "sumFineness": { |
| | | "type": "number" |
| | | }, |
| | | "sumQuantity": { |
| | | "type": "number" |
| | | }, |
| | | "workshopGroup": { |
| | | "description": "车组", |
| | |
| | | "pageSize": { |
| | | "type": "integer" |
| | | }, |
| | | "total": { |
| | | "type": "integer" |
| | | } |
| | | "total": {} |
| | | } |
| | | } |
| | | } |