swag提交,添加参数--parseDependency --parseInternal
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getRankStandard": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置/生丝定级标准" |
| | | ], |
| | | "summary": "获取生丝定级标准", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.RankStandard" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getWorkshopManageList": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/saveRankStandard": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置/生丝定级标准" |
| | | ], |
| | | "summary": "保存生丝定级标准", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.SaveRankStandard" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/saveWorkshopManage": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "LeftHalfCar", |
| | | "RightHalfCar", |
| | | "AllCar" |
| | | ] |
| | | }, |
| | | "constvar.CheckItem": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "CheckItemCleanliness": "清洁分", |
| | | "CheckItemDeviation": "纤度偏差", |
| | | "CheckItemMaxDeviation": "最大偏差", |
| | | "CheckItemPurity": "洁净分", |
| | | "CheckItemTwiceChange": "二次变化" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "CheckItemDeviation", |
| | | "CheckItemTwiceChange", |
| | | "CheckItemCleanliness", |
| | | "CheckItemPurity", |
| | | "CheckItemMaxDeviation" |
| | | ] |
| | | }, |
| | | "constvar.DictType": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DynamicsRank": { |
| | | "type": "object", |
| | | "properties": { |
| | | "rankName": { |
| | | "description": "等级名称", |
| | | "type": "string" |
| | | }, |
| | | "rankProp": { |
| | | "description": "前缀key", |
| | | "type": "string" |
| | | }, |
| | | "rankValue": { |
| | | "description": "等级值", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "request.FinenessItem": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "sum": { |
| | | "description": "合计", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "request.RankStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | | "checkItem": { |
| | | "description": "检查项目名称", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CheckItem" |
| | | } |
| | | ] |
| | | }, |
| | | "dynamicsRanks": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.DynamicsRank" |
| | | } |
| | | }, |
| | | "endFineness": { |
| | | "description": "结束纤度", |
| | | "type": "number" |
| | | }, |
| | | "lineId": { |
| | | "description": "行id", |
| | | "type": "string" |
| | | }, |
| | | "rankA": { |
| | | "description": "野纤", |
| | | "type": "number" |
| | | }, |
| | | "rankB": { |
| | | "description": "大野", |
| | | "type": "number" |
| | | }, |
| | | "rankC": { |
| | | "description": "特野", |
| | | "type": "number" |
| | | }, |
| | | "startFineness": { |
| | | "description": "开始纤度", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "request.SaveRankStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | | "rankStandard": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.RankStandard" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.DynamicsRank": { |
| | | "type": "object", |
| | | "properties": { |
| | | "rankName": { |
| | | "description": "等级名称", |
| | | "type": "string" |
| | | }, |
| | | "rankProp": { |
| | | "description": "前缀key", |
| | | "type": "string" |
| | | }, |
| | | "rankValue": { |
| | | "description": "等级值", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "response.RankStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | | "checkItem": { |
| | | "description": "检查项目名称", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CheckItem" |
| | | } |
| | | ] |
| | | }, |
| | | "dynamicsRanks": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.DynamicsRank" |
| | | } |
| | | }, |
| | | "endFineness": { |
| | | "description": "结束纤度", |
| | | "type": "number" |
| | | }, |
| | | "lineId": { |
| | | "description": "行id", |
| | | "type": "string" |
| | | }, |
| | | "rankA": { |
| | | "description": "野纤", |
| | | "type": "number" |
| | | }, |
| | | "rankB": { |
| | | "description": "大野", |
| | | "type": "number" |
| | | }, |
| | | "rankC": { |
| | | "description": "特野", |
| | | "type": "number" |
| | | }, |
| | | "startFineness": { |
| | | "description": "开始纤度", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "util.Response": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getRankStandard": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置/生丝定级标准" |
| | | ], |
| | | "summary": "获取生丝定级标准", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.RankStandard" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getWorkshopManageList": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/saveRankStandard": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置/生丝定级标准" |
| | | ], |
| | | "summary": "保存生丝定级标准", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.SaveRankStandard" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/saveWorkshopManage": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "LeftHalfCar", |
| | | "RightHalfCar", |
| | | "AllCar" |
| | | ] |
| | | }, |
| | | "constvar.CheckItem": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "CheckItemCleanliness": "清洁分", |
| | | "CheckItemDeviation": "纤度偏差", |
| | | "CheckItemMaxDeviation": "最大偏差", |
| | | "CheckItemPurity": "洁净分", |
| | | "CheckItemTwiceChange": "二次变化" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "CheckItemDeviation", |
| | | "CheckItemTwiceChange", |
| | | "CheckItemCleanliness", |
| | | "CheckItemPurity", |
| | | "CheckItemMaxDeviation" |
| | | ] |
| | | }, |
| | | "constvar.DictType": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DynamicsRank": { |
| | | "type": "object", |
| | | "properties": { |
| | | "rankName": { |
| | | "description": "等级名称", |
| | | "type": "string" |
| | | }, |
| | | "rankProp": { |
| | | "description": "前缀key", |
| | | "type": "string" |
| | | }, |
| | | "rankValue": { |
| | | "description": "等级值", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "request.FinenessItem": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "sum": { |
| | | "description": "合计", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "request.RankStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | | "checkItem": { |
| | | "description": "检查项目名称", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CheckItem" |
| | | } |
| | | ] |
| | | }, |
| | | "dynamicsRanks": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.DynamicsRank" |
| | | } |
| | | }, |
| | | "endFineness": { |
| | | "description": "结束纤度", |
| | | "type": "number" |
| | | }, |
| | | "lineId": { |
| | | "description": "行id", |
| | | "type": "string" |
| | | }, |
| | | "rankA": { |
| | | "description": "野纤", |
| | | "type": "number" |
| | | }, |
| | | "rankB": { |
| | | "description": "大野", |
| | | "type": "number" |
| | | }, |
| | | "rankC": { |
| | | "description": "特野", |
| | | "type": "number" |
| | | }, |
| | | "startFineness": { |
| | | "description": "开始纤度", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "request.SaveRankStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | | "rankStandard": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.RankStandard" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.DynamicsRank": { |
| | | "type": "object", |
| | | "properties": { |
| | | "rankName": { |
| | | "description": "等级名称", |
| | | "type": "string" |
| | | }, |
| | | "rankProp": { |
| | | "description": "前缀key", |
| | | "type": "string" |
| | | }, |
| | | "rankValue": { |
| | | "description": "等级值", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "response.RankStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | | "checkItem": { |
| | | "description": "检查项目名称", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.CheckItem" |
| | | } |
| | | ] |
| | | }, |
| | | "dynamicsRanks": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.DynamicsRank" |
| | | } |
| | | }, |
| | | "endFineness": { |
| | | "description": "结束纤度", |
| | | "type": "number" |
| | | }, |
| | | "lineId": { |
| | | "description": "行id", |
| | | "type": "string" |
| | | }, |
| | | "rankA": { |
| | | "description": "野纤", |
| | | "type": "number" |
| | | }, |
| | | "rankB": { |
| | | "description": "大野", |
| | | "type": "number" |
| | | }, |
| | | "rankC": { |
| | | "description": "特野", |
| | | "type": "number" |
| | | }, |
| | | "startFineness": { |
| | | "description": "开始纤度", |
| | | "type": "number" |
| | | } |
| | | } |
| | | }, |
| | | "util.Response": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | - LeftHalfCar |
| | | - RightHalfCar |
| | | - AllCar |
| | | constvar.CheckItem: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | - 5 |
| | | type: integer |
| | | x-enum-comments: |
| | | CheckItemCleanliness: 清洁分 |
| | | CheckItemDeviation: 纤度偏差 |
| | | CheckItemMaxDeviation: 最大偏差 |
| | | CheckItemPurity: 洁净分 |
| | | CheckItemTwiceChange: 二次变化 |
| | | x-enum-varnames: |
| | | - CheckItemDeviation |
| | | - CheckItemTwiceChange |
| | | - CheckItemCleanliness |
| | | - CheckItemPurity |
| | | - CheckItemMaxDeviation |
| | | constvar.DictType: |
| | | enum: |
| | | - 0 |
| | |
| | | description: 车组 |
| | | type: string |
| | | type: object |
| | | request.DynamicsRank: |
| | | properties: |
| | | rankName: |
| | | description: 等级名称 |
| | | type: string |
| | | rankProp: |
| | | description: 前缀key |
| | | type: string |
| | | rankValue: |
| | | description: 等级值 |
| | | type: number |
| | | type: object |
| | | request.FinenessItem: |
| | | properties: |
| | | fineness: |
| | |
| | | sum: |
| | | description: 合计 |
| | | type: number |
| | | type: object |
| | | request.RankStandard: |
| | | properties: |
| | | checkItem: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.CheckItem' |
| | | description: 检查项目名称 |
| | | dynamicsRanks: |
| | | items: |
| | | $ref: '#/definitions/request.DynamicsRank' |
| | | type: array |
| | | endFineness: |
| | | description: 结束纤度 |
| | | type: number |
| | | lineId: |
| | | description: 行id |
| | | type: string |
| | | rankA: |
| | | description: 野纤 |
| | | type: number |
| | | rankB: |
| | | description: 大野 |
| | | type: number |
| | | rankC: |
| | | description: 特野 |
| | | type: number |
| | | startFineness: |
| | | description: 开始纤度 |
| | | type: number |
| | | type: object |
| | | request.SaveRankStandard: |
| | | properties: |
| | | rankStandard: |
| | | items: |
| | | $ref: '#/definitions/request.RankStandard' |
| | | type: array |
| | | type: object |
| | | request.UpdateDict: |
| | | properties: |
| | |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | type: object |
| | | response.DynamicsRank: |
| | | properties: |
| | | rankName: |
| | | description: 等级名称 |
| | | type: string |
| | | rankProp: |
| | | description: 前缀key |
| | | type: string |
| | | rankValue: |
| | | description: 等级值 |
| | | type: number |
| | | type: object |
| | | response.RankStandard: |
| | | properties: |
| | | checkItem: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.CheckItem' |
| | | description: 检查项目名称 |
| | | dynamicsRanks: |
| | | items: |
| | | $ref: '#/definitions/response.DynamicsRank' |
| | | type: array |
| | | endFineness: |
| | | description: 结束纤度 |
| | | type: number |
| | | lineId: |
| | | description: 行id |
| | | type: string |
| | | rankA: |
| | | description: 野纤 |
| | | type: number |
| | | rankB: |
| | | description: 大野 |
| | | type: number |
| | | rankC: |
| | | description: 特野 |
| | | type: number |
| | | startFineness: |
| | | description: 开始纤度 |
| | | type: number |
| | | type: object |
| | | util.Response: |
| | | properties: |
| | |
| | | summary: 获取生丝定价标准 |
| | | tags: |
| | | - 系统设置/生丝定价标准 |
| | | /api-jl/v1/system/getRankStandard: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/response.RankStandard' |
| | | type: array |
| | | type: object |
| | | summary: 获取生丝定级标准 |
| | | tags: |
| | | - 系统设置/生丝定级标准 |
| | | /api-jl/v1/system/getWorkshopManageList: |
| | | get: |
| | | parameters: |
| | |
| | | summary: 保存生丝定价标准 |
| | | tags: |
| | | - 系统设置/生丝定价标准 |
| | | /api-jl/v1/system/saveRankStandard: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SaveRankStandard' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 保存生丝定级标准 |
| | | tags: |
| | | - 系统设置/生丝定级标准 |
| | | /api-jl/v1/system/saveWorkshopManage: |
| | | post: |
| | | parameters: |