| | |
| | | "host": "{{.Host}}", |
| | | "basePath": "{{.BasePath}}", |
| | | "paths": { |
| | | "/api-jl/v1/fineness/changeYieldRegister": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "生产管理/产量登记表" |
| | | ], |
| | | "summary": "切换产量登记表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.ChangeYieldRegister" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/models.YieldRegister" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/fineness/check": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | "type": "string", |
| | | "description": "字典信息", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/fineness/deleteYieldRegister/{number}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "生产管理/产量登记表" |
| | | ], |
| | | "summary": "删除产量登记表记录", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "number", |
| | | "name": "number", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getCarAndLevel": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置/车间管理" |
| | | ], |
| | | "summary": "获取车辆编号和等级", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | }, |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetWorkshopManageCar" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.CarAndLevel" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getPriceStandardList": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | "type": "object", |
| | | "additionalProperties": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getWorkshopManageGroup/{number}": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置/车间管理" |
| | | ], |
| | | "summary": "获取车间组别", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "number", |
| | | "name": "number", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "object", |
| | | "additionalProperties": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "marketNumber": { |
| | | "marketId": { |
| | | "type": "integer" |
| | | }, |
| | | "marketName": { |
| | | "type": "string" |
| | | }, |
| | | "notes": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "type": "string" |
| | | }, |
| | | "workshopName": { |
| | | "type": "string" |
| | | }, |
| | | "workshopNumber": { |
| | |
| | | "marketId": { |
| | | "type": "integer" |
| | | }, |
| | | "marketName": { |
| | | "description": "庄口名", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "workshopId": { |
| | | "type": "integer" |
| | | }, |
| | | "workshopName": { |
| | | "description": "车间名", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.ChangeYieldRegister": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createTime": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | }, |
| | | "groupNumber": { |
| | | "description": "组别", |
| | | "type": "integer" |
| | | }, |
| | | "marketId": { |
| | | "description": "庄口id", |
| | | "type": "integer" |
| | | }, |
| | | "spec": { |
| | | "description": "规格", |
| | | "type": "string" |
| | | }, |
| | | "workshopId": { |
| | | "description": "车间id", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.DynamicsRank": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetWorkshopManageCar": { |
| | | "type": "object", |
| | | "properties": { |
| | | "groupNumber": { |
| | | "description": "组别", |
| | | "type": "integer" |
| | | }, |
| | | "marketName": { |
| | | "description": "/庄口名", |
| | | "type": "string" |
| | | }, |
| | | "workshopName": { |
| | | "description": "车间名称", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetYieldRegisterList": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.PieceInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "pieceNumber": { |
| | | "type": "integer" |
| | | }, |
| | | "value": { |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "台产", |
| | | "type": "number" |
| | | }, |
| | | "pieceNumber": { |
| | | "description": "片数", |
| | | "type": "integer" |
| | | "pieceNumbers": { |
| | | "description": "片数信息", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.PieceInfo" |
| | | } |
| | | }, |
| | | "reelingdiscount": { |
| | | "description": "缫折", |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | | "description": "值", |
| | | "type": "number" |
| | | }, |
| | | "yieldRegisterId": { |
| | | "description": "产量登记表id", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.CarAndLevel": { |
| | | "type": "object", |
| | | "properties": { |
| | | "car": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "level": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "response.DynamicsRank": { |
| | | "type": "object", |
| | | "properties": { |